| ''' |
| /* |
| * |
| * Copyright (c) 2022 Project CHIP Authors |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| // THIS FILE IS GENERATED BY ZAP |
| ''' |
| |
| # This file contains generated struct, enum, command definition. |
| # Users are not expected to import this file, instead, users can use import chip.clusters, |
| # which will import all symbols from this file and can get a readable, pretty naming like |
| # clusters.OnOff.commands.OnCommand |
| |
| import typing |
| from dataclasses import dataclass, field |
| from enum import IntFlag |
| |
| from chip import ChipUtility |
| from chip.clusters.enum import MatterIntEnum |
| from chip.tlv import float32, uint |
| |
| from .ClusterObjects import (Cluster, ClusterAttributeDescriptor, ClusterCommand, ClusterEvent, ClusterObject, |
| ClusterObjectDescriptor, ClusterObjectFieldDescriptor) |
| from .Types import Nullable, NullValue |
| |
| |
| @dataclass |
| class Identify(Cluster): |
| id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="identifyType", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| identifyTime: 'uint' = None |
| identifyType: 'uint' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class IdentifyEffectIdentifier(MatterIntEnum): |
| kBlink = 0x00 |
| kBreathe = 0x01 |
| kOkay = 0x02 |
| kChannelChange = 0x0B |
| kFinishEffect = 0xFE |
| kStopEffect = 0xFF |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class IdentifyEffectVariant(MatterIntEnum): |
| kDefault = 0x00 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 1, |
| |
| class IdentifyIdentifyType(MatterIntEnum): |
| kNone = 0x00 |
| kVisibleLight = 0x01 |
| kVisibleLED = 0x02 |
| kAudibleBeep = 0x03 |
| kDisplay = 0x04 |
| kActuator = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 6, |
| |
| class Commands: |
| @dataclass |
| class Identify(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0003 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0, Type=uint), |
| ]) |
| |
| identifyTime: 'uint' = 0 |
| |
| @dataclass |
| class TriggerEffect(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0003 |
| command_id: typing.ClassVar[int] = 0x00000040 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="effectIdentifier", Tag=0, Type=Identify.Enums.IdentifyEffectIdentifier), |
| ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=Identify.Enums.IdentifyEffectVariant), |
| ]) |
| |
| effectIdentifier: 'Identify.Enums.IdentifyEffectIdentifier' = 0 |
| effectVariant: 'Identify.Enums.IdentifyEffectVariant' = 0 |
| |
| class Attributes: |
| @dataclass |
| class IdentifyTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class IdentifyType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class Groups(Cluster): |
| id: typing.ClassVar[int] = 0x0004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="nameSupport", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| nameSupport: 'uint' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kGroupNames = 0x1 |
| |
| class NameSupportBitmap(IntFlag): |
| kGroupNames = 0x80 |
| |
| class Commands: |
| @dataclass |
| class AddGroup(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'AddGroupResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupName", Tag=1, Type=str), |
| ]) |
| |
| groupID: 'uint' = 0 |
| groupName: 'str' = "" |
| |
| @dataclass |
| class AddGroupResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupID: 'uint' = 0 |
| |
| @dataclass |
| class ViewGroup(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'ViewGroupResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ]) |
| |
| groupID: 'uint' = 0 |
| |
| @dataclass |
| class ViewGroupResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupName", Tag=2, Type=str), |
| ]) |
| |
| status: 'uint' = 0 |
| groupID: 'uint' = 0 |
| groupName: 'str' = "" |
| |
| @dataclass |
| class GetGroupMembership(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'GetGroupMembershipResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupList", Tag=0, Type=typing.List[uint]), |
| ]) |
| |
| groupList: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetGroupMembershipResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="capacity", Tag=0, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="groupList", Tag=1, Type=typing.List[uint]), |
| ]) |
| |
| capacity: 'typing.Union[Nullable, uint]' = NullValue |
| groupList: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class RemoveGroup(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'RemoveGroupResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ]) |
| |
| groupID: 'uint' = 0 |
| |
| @dataclass |
| class RemoveGroupResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupID: 'uint' = 0 |
| |
| @dataclass |
| class RemoveAllGroups(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class AddGroupIfIdentifying(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupName", Tag=1, Type=str), |
| ]) |
| |
| groupID: 'uint' = 0 |
| groupName: 'str' = "" |
| |
| class Attributes: |
| @dataclass |
| class NameSupport(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class Scenes(Cluster): |
| id: typing.ClassVar[int] = 0x0005 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="sceneCount", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentScene", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentGroup", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneValid", Tag=0x00000003, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nameSupport", Tag=0x00000004, Type=uint), |
| ClusterObjectFieldDescriptor(Label="lastConfiguredBy", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| sceneCount: 'uint' = None |
| currentScene: 'uint' = None |
| currentGroup: 'uint' = None |
| sceneValid: 'bool' = None |
| nameSupport: 'uint' = None |
| lastConfiguredBy: 'typing.Union[None, Nullable, uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kSceneNames = 0x1 |
| |
| class ScenesCopyMode(IntFlag): |
| kCopyAllScenes = 0x1 |
| |
| class Structs: |
| @dataclass |
| class AttributeValuePair(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="attributeID", Tag=0, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeValue", Tag=1, Type=typing.List[uint]), |
| ]) |
| |
| attributeID: 'typing.Optional[uint]' = None |
| attributeValue: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ExtensionFieldSet(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="clusterID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeValueList", Tag=1, Type=typing.List[Scenes.Structs.AttributeValuePair]), |
| ]) |
| |
| clusterID: 'uint' = 0 |
| attributeValueList: 'typing.List[Scenes.Structs.AttributeValuePair]' = field(default_factory=lambda: []) |
| |
| class Commands: |
| @dataclass |
| class AddScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'AddSceneResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.ExtensionFieldSet]), |
| ]) |
| |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| sceneName: 'str' = "" |
| extensionFieldSets: 'typing.List[Scenes.Structs.ExtensionFieldSet]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AddSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| |
| @dataclass |
| class ViewScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'ViewSceneResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), |
| ]) |
| |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| |
| @dataclass |
| class ViewSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=3, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]), |
| ]) |
| |
| status: 'uint' = 0 |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| transitionTime: 'typing.Optional[uint]' = None |
| sceneName: 'typing.Optional[str]' = None |
| extensionFieldSets: 'typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]' = None |
| |
| @dataclass |
| class RemoveScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'RemoveSceneResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), |
| ]) |
| |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| |
| @dataclass |
| class RemoveSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| |
| @dataclass |
| class RemoveAllScenes(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'RemoveAllScenesResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ]) |
| |
| groupID: 'uint' = 0 |
| |
| @dataclass |
| class RemoveAllScenesResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupID: 'uint' = 0 |
| |
| @dataclass |
| class StoreScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'StoreSceneResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), |
| ]) |
| |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| |
| @dataclass |
| class StoreSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| |
| @dataclass |
| class RecallScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=typing.Union[None, Nullable, uint]), |
| ]) |
| |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| transitionTime: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class GetSceneMembership(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000006 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'GetSceneMembershipResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ]) |
| |
| groupID: 'uint' = 0 |
| |
| @dataclass |
| class GetSceneMembershipResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000006 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="capacity", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneList", Tag=3, Type=typing.Optional[typing.List[uint]]), |
| ]) |
| |
| status: 'uint' = 0 |
| capacity: 'typing.Union[Nullable, uint]' = NullValue |
| groupID: 'uint' = 0 |
| sceneList: 'typing.Optional[typing.List[uint]]' = None |
| |
| @dataclass |
| class EnhancedAddScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000040 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'EnhancedAddSceneResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.ExtensionFieldSet]), |
| ]) |
| |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| sceneName: 'str' = "" |
| extensionFieldSets: 'typing.List[Scenes.Structs.ExtensionFieldSet]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EnhancedAddSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000040 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedViewScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000041 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'EnhancedViewSceneResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=1, Type=uint), |
| ]) |
| |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedViewSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000041 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneID", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=3, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]), |
| ]) |
| |
| status: 'uint' = 0 |
| groupID: 'uint' = 0 |
| sceneID: 'uint' = 0 |
| transitionTime: 'typing.Optional[uint]' = None |
| sceneName: 'typing.Optional[str]' = None |
| extensionFieldSets: 'typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]' = None |
| |
| @dataclass |
| class CopyScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000042 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'CopySceneResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupIdentifierFrom", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneIdentifierFrom", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupIdentifierTo", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneIdentifierTo", Tag=4, Type=uint), |
| ]) |
| |
| mode: 'uint' = 0 |
| groupIdentifierFrom: 'uint' = 0 |
| sceneIdentifierFrom: 'uint' = 0 |
| groupIdentifierTo: 'uint' = 0 |
| sceneIdentifierTo: 'uint' = 0 |
| |
| @dataclass |
| class CopySceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x00000042 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupIdentifierFrom", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneIdentifierFrom", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupIdentifierFrom: 'uint' = 0 |
| sceneIdentifierFrom: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class SceneCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentScene(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentGroup(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SceneValid(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class NameSupport(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class LastConfiguredBy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class OnOff(Cluster): |
| id: typing.ClassVar[int] = 0x0006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="onOff", Tag=0x00000000, Type=bool), |
| ClusterObjectFieldDescriptor(Label="globalSceneControl", Tag=0x00004000, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="onTime", Tag=0x00004001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="offWaitTime", Tag=0x00004002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="startUpOnOff", Tag=0x00004003, Type=typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| onOff: 'bool' = None |
| globalSceneControl: 'typing.Optional[bool]' = None |
| onTime: 'typing.Optional[uint]' = None |
| offWaitTime: 'typing.Optional[uint]' = None |
| startUpOnOff: 'typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class OnOffDelayedAllOffEffectVariant(MatterIntEnum): |
| kFadeToOffIn0p8Seconds = 0x00 |
| kNoFade = 0x01 |
| k50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class OnOffDyingLightEffectVariant(MatterIntEnum): |
| k20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0x00 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 1, |
| |
| class OnOffEffectIdentifier(MatterIntEnum): |
| kDelayedAllOff = 0x00 |
| kDyingLight = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class OnOffStartUpOnOff(MatterIntEnum): |
| kOff = 0x00 |
| kOn = 0x01 |
| kTogglePreviousOnOff = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kLighting = 0x1 |
| |
| class OnOffControl(IntFlag): |
| kAcceptOnlyWhenOn = 0x1 |
| |
| class Commands: |
| @dataclass |
| class Off(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class On(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Toggle(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class OffWithEffect(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x00000040 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="effectIdentifier", Tag=0, Type=OnOff.Enums.OnOffEffectIdentifier), |
| ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=uint), |
| ]) |
| |
| effectIdentifier: 'OnOff.Enums.OnOffEffectIdentifier' = 0 |
| effectVariant: 'uint' = 0 |
| |
| @dataclass |
| class OnWithRecallGlobalScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x00000041 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class OnWithTimedOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x00000042 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="onOffControl", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="onTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="offWaitTime", Tag=2, Type=uint), |
| ]) |
| |
| onOffControl: 'uint' = 0 |
| onTime: 'uint' = 0 |
| offWaitTime: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class OnOff(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class GlobalSceneControl(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class OnTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OffWaitTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class StartUpOnOff(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff]) |
| |
| value: 'typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class OnOffSwitchConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x0007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="switchType", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="switchActions", Tag=0x00000010, Type=uint), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| switchType: 'uint' = None |
| switchActions: 'uint' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class SwitchType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SwitchActions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class LevelControl(Cluster): |
| id: typing.ClassVar[int] = 0x0008 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="currentLevel", Tag=0x00000000, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="remainingTime", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="minLevel", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="maxLevel", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentFrequency", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="minFrequency", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="maxFrequency", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="options", Tag=0x0000000F, Type=uint), |
| ClusterObjectFieldDescriptor(Label="onOffTransitionTime", Tag=0x00000010, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="onLevel", Tag=0x00000011, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="onTransitionTime", Tag=0x00000012, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="offTransitionTime", Tag=0x00000013, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="defaultMoveRate", Tag=0x00000014, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="startUpCurrentLevel", Tag=0x00004000, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| currentLevel: 'typing.Union[Nullable, uint]' = None |
| remainingTime: 'typing.Optional[uint]' = None |
| minLevel: 'typing.Optional[uint]' = None |
| maxLevel: 'typing.Optional[uint]' = None |
| currentFrequency: 'typing.Optional[uint]' = None |
| minFrequency: 'typing.Optional[uint]' = None |
| maxFrequency: 'typing.Optional[uint]' = None |
| options: 'uint' = None |
| onOffTransitionTime: 'typing.Optional[uint]' = None |
| onLevel: 'typing.Union[Nullable, uint]' = None |
| onTransitionTime: 'typing.Union[None, Nullable, uint]' = None |
| offTransitionTime: 'typing.Union[None, Nullable, uint]' = None |
| defaultMoveRate: 'typing.Union[None, Nullable, uint]' = None |
| startUpCurrentLevel: 'typing.Union[None, Nullable, uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class MoveMode(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class StepMode(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kOnOff = 0x1 |
| kLighting = 0x2 |
| kFrequency = 0x4 |
| |
| class LevelControlOptions(IntFlag): |
| kExecuteIfOff = 0x1 |
| kCoupleColorTempToLevel = 0x2 |
| |
| class Commands: |
| @dataclass |
| class MoveToLevel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| level: 'uint' = 0 |
| transitionTime: 'typing.Union[Nullable, uint]' = NullValue |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class Move(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), |
| ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'LevelControl.Enums.MoveMode' = 0 |
| rate: 'typing.Union[Nullable, uint]' = NullValue |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class Step(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode), |
| ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'LevelControl.Enums.StepMode' = 0 |
| stepSize: 'uint' = 0 |
| transitionTime: 'typing.Union[Nullable, uint]' = NullValue |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class Stop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint), |
| ]) |
| |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveToLevelWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| level: 'uint' = 0 |
| transitionTime: 'typing.Union[Nullable, uint]' = NullValue |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), |
| ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'LevelControl.Enums.MoveMode' = 0 |
| rate: 'typing.Union[Nullable, uint]' = NullValue |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StepWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x00000006 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode), |
| ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'LevelControl.Enums.StepMode' = 0 |
| stepSize: 'uint' = 0 |
| transitionTime: 'typing.Union[Nullable, uint]' = NullValue |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StopWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x00000007 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint), |
| ]) |
| |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveToClosestFrequency(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x00000008 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="frequency", Tag=0, Type=uint), |
| ]) |
| |
| frequency: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class CurrentLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class RemainingTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MinLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MaxLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MinFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MaxFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Options(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class OnOffTransitionTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OnLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class OnTransitionTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class OffTransitionTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class DefaultMoveRate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class StartUpCurrentLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class BinaryInputBasic(Cluster): |
| id: typing.ClassVar[int] = 0x000F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="activeText", Tag=0x00000004, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="description", Tag=0x0000001C, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="inactiveText", Tag=0x0000002E, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="outOfService", Tag=0x00000051, Type=bool), |
| ClusterObjectFieldDescriptor(Label="polarity", Tag=0x00000054, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="presentValue", Tag=0x00000055, Type=bool), |
| ClusterObjectFieldDescriptor(Label="reliability", Tag=0x00000067, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="statusFlags", Tag=0x0000006F, Type=uint), |
| ClusterObjectFieldDescriptor(Label="applicationType", Tag=0x00000100, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| activeText: 'typing.Optional[str]' = None |
| description: 'typing.Optional[str]' = None |
| inactiveText: 'typing.Optional[str]' = None |
| outOfService: 'bool' = None |
| polarity: 'typing.Optional[uint]' = None |
| presentValue: 'bool' = None |
| reliability: 'typing.Optional[uint]' = None |
| statusFlags: 'uint' = None |
| applicationType: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class ActiveText(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class Description(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class InactiveText(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class OutOfService(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000051 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class Polarity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000054 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PresentValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000055 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class Reliability(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000067 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class StatusFlags(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000006F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ApplicationType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000100 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class PulseWidthModulation(Cluster): |
| id: typing.ClassVar[int] = 0x001C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class Descriptor(Cluster): |
| id: typing.ClassVar[int] = 0x001D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="deviceTypeList", Tag=0x00000000, Type=typing.List[Descriptor.Structs.DeviceTypeStruct]), |
| ClusterObjectFieldDescriptor(Label="serverList", Tag=0x00000001, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="clientList", Tag=0x00000002, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="partsList", Tag=0x00000003, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| deviceTypeList: 'typing.List[Descriptor.Structs.DeviceTypeStruct]' = None |
| serverList: 'typing.List[uint]' = None |
| clientList: 'typing.List[uint]' = None |
| partsList: 'typing.List[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Structs: |
| @dataclass |
| class DeviceTypeStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="deviceType", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="revision", Tag=1, Type=uint), |
| ]) |
| |
| deviceType: 'uint' = 0 |
| revision: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class DeviceTypeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[Descriptor.Structs.DeviceTypeStruct]) |
| |
| value: 'typing.List[Descriptor.Structs.DeviceTypeStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ServerList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ClientList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class PartsList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class Binding(Cluster): |
| id: typing.ClassVar[int] = 0x001E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="binding", Tag=0x00000000, Type=typing.List[Binding.Structs.TargetStruct]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| binding: 'typing.List[Binding.Structs.TargetStruct]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Structs: |
| @dataclass |
| class TargetStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="node", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="group", Tag=2, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="endpoint", Tag=3, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="cluster", Tag=4, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| node: 'typing.Optional[uint]' = None |
| group: 'typing.Optional[uint]' = None |
| endpoint: 'typing.Optional[uint]' = None |
| cluster: 'typing.Optional[uint]' = None |
| fabricIndex: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class Binding(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[Binding.Structs.TargetStruct]) |
| |
| value: 'typing.List[Binding.Structs.TargetStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class AccessControl(Cluster): |
| id: typing.ClassVar[int] = 0x001F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="acl", Tag=0x00000000, Type=typing.List[AccessControl.Structs.AccessControlEntryStruct]), |
| ClusterObjectFieldDescriptor(Label="extension", Tag=0x00000001, Type=typing.Optional[typing.List[AccessControl.Structs.AccessControlExtensionStruct]]), |
| ClusterObjectFieldDescriptor(Label="subjectsPerAccessControlEntry", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="targetsPerAccessControlEntry", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="accessControlEntriesPerFabric", Tag=0x00000004, Type=uint), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| acl: 'typing.List[AccessControl.Structs.AccessControlEntryStruct]' = None |
| extension: 'typing.Optional[typing.List[AccessControl.Structs.AccessControlExtensionStruct]]' = None |
| subjectsPerAccessControlEntry: 'uint' = None |
| targetsPerAccessControlEntry: 'uint' = None |
| accessControlEntriesPerFabric: 'uint' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class AccessControlEntryAuthModeEnum(MatterIntEnum): |
| kPase = 0x01 |
| kCase = 0x02 |
| kGroup = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 0, |
| |
| class AccessControlEntryPrivilegeEnum(MatterIntEnum): |
| kView = 0x01 |
| kProxyView = 0x02 |
| kOperate = 0x03 |
| kManage = 0x04 |
| kAdminister = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 0, |
| |
| class ChangeTypeEnum(MatterIntEnum): |
| kChanged = 0x00 |
| kAdded = 0x01 |
| kRemoved = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class Structs: |
| @dataclass |
| class AccessControlTargetStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="cluster", Tag=0, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="endpoint", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="deviceType", Tag=2, Type=typing.Union[Nullable, uint]), |
| ]) |
| |
| cluster: 'typing.Union[Nullable, uint]' = NullValue |
| endpoint: 'typing.Union[Nullable, uint]' = NullValue |
| deviceType: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class AccessControlEntryStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="privilege", Tag=1, Type=AccessControl.Enums.AccessControlEntryPrivilegeEnum), |
| ClusterObjectFieldDescriptor(Label="authMode", Tag=2, Type=AccessControl.Enums.AccessControlEntryAuthModeEnum), |
| ClusterObjectFieldDescriptor(Label="subjects", Tag=3, Type=typing.Union[Nullable, typing.List[uint]]), |
| ClusterObjectFieldDescriptor(Label="targets", Tag=4, Type=typing.Union[Nullable, typing.List[AccessControl.Structs.AccessControlTargetStruct]]), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| privilege: 'AccessControl.Enums.AccessControlEntryPrivilegeEnum' = 0 |
| authMode: 'AccessControl.Enums.AccessControlEntryAuthModeEnum' = 0 |
| subjects: 'typing.Union[Nullable, typing.List[uint]]' = NullValue |
| targets: 'typing.Union[Nullable, typing.List[AccessControl.Structs.AccessControlTargetStruct]]' = NullValue |
| fabricIndex: 'uint' = 0 |
| |
| @dataclass |
| class AccessControlExtensionStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| data: 'bytes' = b"" |
| fabricIndex: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class Acl(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[AccessControl.Structs.AccessControlEntryStruct]) |
| |
| value: 'typing.List[AccessControl.Structs.AccessControlEntryStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class Extension(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[AccessControl.Structs.AccessControlExtensionStruct]]) |
| |
| value: 'typing.Optional[typing.List[AccessControl.Structs.AccessControlExtensionStruct]]' = None |
| |
| @dataclass |
| class SubjectsPerAccessControlEntry(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TargetsPerAccessControlEntry(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AccessControlEntriesPerFabric(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class AccessControlEntryChanged(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="adminNodeID", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="adminPasscodeID", Tag=2, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="changeType", Tag=3, Type=AccessControl.Enums.ChangeTypeEnum), |
| ClusterObjectFieldDescriptor(Label="latestValue", Tag=4, Type=typing.Union[Nullable, AccessControl.Structs.AccessControlEntryStruct]), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| adminNodeID: 'typing.Union[Nullable, uint]' = NullValue |
| adminPasscodeID: 'typing.Union[Nullable, uint]' = NullValue |
| changeType: 'AccessControl.Enums.ChangeTypeEnum' = 0 |
| latestValue: 'typing.Union[Nullable, AccessControl.Structs.AccessControlEntryStruct]' = NullValue |
| fabricIndex: 'uint' = 0 |
| |
| @dataclass |
| class AccessControlExtensionChanged(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="adminNodeID", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="adminPasscodeID", Tag=2, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="changeType", Tag=3, Type=AccessControl.Enums.ChangeTypeEnum), |
| ClusterObjectFieldDescriptor(Label="latestValue", Tag=4, Type=typing.Union[Nullable, AccessControl.Structs.AccessControlExtensionStruct]), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| adminNodeID: 'typing.Union[Nullable, uint]' = NullValue |
| adminPasscodeID: 'typing.Union[Nullable, uint]' = NullValue |
| changeType: 'AccessControl.Enums.ChangeTypeEnum' = 0 |
| latestValue: 'typing.Union[Nullable, AccessControl.Structs.AccessControlExtensionStruct]' = NullValue |
| fabricIndex: 'uint' = 0 |
| |
| |
| @dataclass |
| class Actions(Cluster): |
| id: typing.ClassVar[int] = 0x0025 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionList", Tag=0x00000000, Type=typing.List[Actions.Structs.ActionStruct]), |
| ClusterObjectFieldDescriptor(Label="endpointLists", Tag=0x00000001, Type=typing.List[Actions.Structs.EndpointListStruct]), |
| ClusterObjectFieldDescriptor(Label="setupURL", Tag=0x00000002, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| actionList: 'typing.List[Actions.Structs.ActionStruct]' = None |
| endpointLists: 'typing.List[Actions.Structs.EndpointListStruct]' = None |
| setupURL: 'typing.Optional[str]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ActionErrorEnum(MatterIntEnum): |
| kUnknown = 0x00 |
| kInterrupted = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class ActionStateEnum(MatterIntEnum): |
| kInactive = 0x00 |
| kActive = 0x01 |
| kPaused = 0x02 |
| kDisabled = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class ActionTypeEnum(MatterIntEnum): |
| kOther = 0x00 |
| kScene = 0x01 |
| kSequence = 0x02 |
| kAutomation = 0x03 |
| kException = 0x04 |
| kNotification = 0x05 |
| kAlarm = 0x06 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 7, |
| |
| class EndpointListTypeEnum(MatterIntEnum): |
| kOther = 0x00 |
| kRoom = 0x01 |
| kZone = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class Bitmaps: |
| class CommandBits(IntFlag): |
| kInstantAction = 0x1 |
| kInstantActionWithTransition = 0x2 |
| kStartAction = 0x4 |
| kStartActionWithDuration = 0x8 |
| kStopAction = 0x10 |
| kPauseAction = 0x20 |
| kPauseActionWithDuration = 0x40 |
| kResumeAction = 0x80 |
| kEnableAction = 0x100 |
| kEnableActionWithDuration = 0x200 |
| kDisableAction = 0x400 |
| kDisableActionWithDuration = 0x800 |
| |
| class Structs: |
| @dataclass |
| class ActionStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="type", Tag=2, Type=Actions.Enums.ActionTypeEnum), |
| ClusterObjectFieldDescriptor(Label="endpointListID", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="supportedCommands", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="state", Tag=5, Type=Actions.Enums.ActionStateEnum), |
| ]) |
| |
| actionID: 'uint' = 0 |
| name: 'str' = "" |
| type: 'Actions.Enums.ActionTypeEnum' = 0 |
| endpointListID: 'uint' = 0 |
| supportedCommands: 'uint' = 0 |
| state: 'Actions.Enums.ActionStateEnum' = 0 |
| |
| @dataclass |
| class EndpointListStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="endpointListID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="type", Tag=2, Type=Actions.Enums.EndpointListTypeEnum), |
| ClusterObjectFieldDescriptor(Label="endpoints", Tag=3, Type=typing.List[uint]), |
| ]) |
| |
| endpointListID: 'uint' = 0 |
| name: 'str' = "" |
| type: 'Actions.Enums.EndpointListTypeEnum' = 0 |
| endpoints: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| class Commands: |
| @dataclass |
| class InstantAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class InstantActionWithTransition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| transitionTime: 'uint' = 0 |
| |
| @dataclass |
| class StartAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class StartActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| duration: 'uint' = 0 |
| |
| @dataclass |
| class StopAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PauseAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PauseActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x00000006 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| duration: 'uint' = 0 |
| |
| @dataclass |
| class ResumeAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x00000007 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EnableAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x00000008 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EnableActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x00000009 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| duration: 'uint' = 0 |
| |
| @dataclass |
| class DisableAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0000000A |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DisableActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0000000B |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| duration: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class ActionList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[Actions.Structs.ActionStruct]) |
| |
| value: 'typing.List[Actions.Structs.ActionStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EndpointLists(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[Actions.Structs.EndpointListStruct]) |
| |
| value: 'typing.List[Actions.Structs.EndpointListStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class SetupURL(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class StateChanged(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=Actions.Enums.ActionStateEnum), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'uint' = 0 |
| newState: 'Actions.Enums.ActionStateEnum' = 0 |
| |
| @dataclass |
| class ActionFailed(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=Actions.Enums.ActionStateEnum), |
| ClusterObjectFieldDescriptor(Label="error", Tag=3, Type=Actions.Enums.ActionErrorEnum), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'uint' = 0 |
| newState: 'Actions.Enums.ActionStateEnum' = 0 |
| error: 'Actions.Enums.ActionErrorEnum' = 0 |
| |
| |
| @dataclass |
| class BasicInformation(Cluster): |
| id: typing.ClassVar[int] = 0x0028 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="dataModelRevision", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000001, Type=str), |
| ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="productName", Tag=0x00000003, Type=str), |
| ClusterObjectFieldDescriptor(Label="productID", Tag=0x00000004, Type=uint), |
| ClusterObjectFieldDescriptor(Label="nodeLabel", Tag=0x00000005, Type=str), |
| ClusterObjectFieldDescriptor(Label="location", Tag=0x00000006, Type=str), |
| ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=0x00000007, Type=uint), |
| ClusterObjectFieldDescriptor(Label="hardwareVersionString", Tag=0x00000008, Type=str), |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0x00000009, Type=uint), |
| ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=0x0000000A, Type=str), |
| ClusterObjectFieldDescriptor(Label="manufacturingDate", Tag=0x0000000B, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="partNumber", Tag=0x0000000C, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="productURL", Tag=0x0000000D, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="productLabel", Tag=0x0000000E, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="serialNumber", Tag=0x0000000F, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="localConfigDisabled", Tag=0x00000010, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="reachable", Tag=0x00000011, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="uniqueID", Tag=0x00000012, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="capabilityMinima", Tag=0x00000013, Type=BasicInformation.Structs.CapabilityMinimaStruct), |
| ClusterObjectFieldDescriptor(Label="productAppearance", Tag=0x00000014, Type=typing.Optional[BasicInformation.Structs.ProductAppearanceStruct]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| dataModelRevision: 'uint' = None |
| vendorName: 'str' = None |
| vendorID: 'uint' = None |
| productName: 'str' = None |
| productID: 'uint' = None |
| nodeLabel: 'str' = None |
| location: 'str' = None |
| hardwareVersion: 'uint' = None |
| hardwareVersionString: 'str' = None |
| softwareVersion: 'uint' = None |
| softwareVersionString: 'str' = None |
| manufacturingDate: 'typing.Optional[str]' = None |
| partNumber: 'typing.Optional[str]' = None |
| productURL: 'typing.Optional[str]' = None |
| productLabel: 'typing.Optional[str]' = None |
| serialNumber: 'typing.Optional[str]' = None |
| localConfigDisabled: 'typing.Optional[bool]' = None |
| reachable: 'typing.Optional[bool]' = None |
| uniqueID: 'typing.Optional[str]' = None |
| capabilityMinima: 'BasicInformation.Structs.CapabilityMinimaStruct' = None |
| productAppearance: 'typing.Optional[BasicInformation.Structs.ProductAppearanceStruct]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ColorEnum(MatterIntEnum): |
| kBlack = 0x00 |
| kNavy = 0x01 |
| kGreen = 0x02 |
| kTeal = 0x03 |
| kMaroon = 0x04 |
| kPurple = 0x05 |
| kOlive = 0x06 |
| kGray = 0x07 |
| kBlue = 0x08 |
| kLime = 0x09 |
| kAqua = 0x0A |
| kRed = 0x0B |
| kFuchsia = 0x0C |
| kYellow = 0x0D |
| kWhite = 0x0E |
| kNickel = 0x0F |
| kChrome = 0x10 |
| kBrass = 0x11 |
| kCopper = 0x12 |
| kSilver = 0x13 |
| kGold = 0x14 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 21, |
| |
| class ProductFinishEnum(MatterIntEnum): |
| kOther = 0x00 |
| kMatte = 0x01 |
| kSatin = 0x02 |
| kPolished = 0x03 |
| kRugged = 0x04 |
| kFabric = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 6, |
| |
| class Structs: |
| @dataclass |
| class CapabilityMinimaStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="caseSessionsPerFabric", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="subscriptionsPerFabric", Tag=1, Type=uint), |
| ]) |
| |
| caseSessionsPerFabric: 'uint' = 0 |
| subscriptionsPerFabric: 'uint' = 0 |
| |
| @dataclass |
| class ProductAppearanceStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="finish", Tag=0, Type=BasicInformation.Enums.ProductFinishEnum), |
| ClusterObjectFieldDescriptor(Label="primaryColor", Tag=1, Type=typing.Union[Nullable, BasicInformation.Enums.ColorEnum]), |
| ]) |
| |
| finish: 'BasicInformation.Enums.ProductFinishEnum' = 0 |
| primaryColor: 'typing.Union[Nullable, BasicInformation.Enums.ColorEnum]' = NullValue |
| |
| class Commands: |
| @dataclass |
| class MfgSpecificPing(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0028 |
| command_id: typing.ClassVar[int] = 0x10020000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class DataModelRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class VendorName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class VendorID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ProductName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class ProductID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class NodeLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class Location(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class HardwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class HardwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class SoftwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SoftwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class ManufacturingDate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class PartNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ProductURL(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ProductLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class SerialNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class LocalConfigDisabled(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class Reachable(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class UniqueID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class CapabilityMinima(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=BasicInformation.Structs.CapabilityMinimaStruct) |
| |
| value: 'BasicInformation.Structs.CapabilityMinimaStruct' = field(default_factory=lambda: BasicInformation.Structs.CapabilityMinimaStruct()) |
| |
| @dataclass |
| class ProductAppearance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[BasicInformation.Structs.ProductAppearanceStruct]) |
| |
| value: 'typing.Optional[BasicInformation.Structs.ProductAppearanceStruct]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class StartUp(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), |
| ]) |
| |
| softwareVersion: 'uint' = 0 |
| |
| @dataclass |
| class ShutDown(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Leave(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| |
| @dataclass |
| class ReachableChanged(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="reachableNewValue", Tag=0, Type=bool), |
| ]) |
| |
| reachableNewValue: 'bool' = False |
| |
| |
| @dataclass |
| class OtaSoftwareUpdateProvider(Cluster): |
| id: typing.ClassVar[int] = 0x0029 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class OTAApplyUpdateAction(MatterIntEnum): |
| kProceed = 0x00 |
| kAwaitNextAction = 0x01 |
| kDiscontinue = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class OTADownloadProtocol(MatterIntEnum): |
| kBDXSynchronous = 0x00 |
| kBDXAsynchronous = 0x01 |
| kHttps = 0x02 |
| kVendorSpecific = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class OTAQueryStatus(MatterIntEnum): |
| kUpdateAvailable = 0x00 |
| kBusy = 0x01 |
| kNotAvailable = 0x02 |
| kDownloadProtocolNotSupported = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class Commands: |
| @dataclass |
| class QueryImage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'QueryImageResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="vendorID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="productID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="protocolsSupported", Tag=3, Type=typing.List[OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol]), |
| ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=4, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="location", Tag=5, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="requestorCanConsent", Tag=6, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="metadataForProvider", Tag=7, Type=typing.Optional[bytes]), |
| ]) |
| |
| vendorID: 'uint' = 0 |
| productID: 'uint' = 0 |
| softwareVersion: 'uint' = 0 |
| protocolsSupported: 'typing.List[OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol]' = field(default_factory=lambda: []) |
| hardwareVersion: 'typing.Optional[uint]' = None |
| location: 'typing.Optional[str]' = None |
| requestorCanConsent: 'typing.Optional[bool]' = None |
| metadataForProvider: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class QueryImageResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAQueryStatus), |
| ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="imageURI", Tag=2, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=3, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=4, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="updateToken", Tag=5, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="userConsentNeeded", Tag=6, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="metadataForRequestor", Tag=7, Type=typing.Optional[bytes]), |
| ]) |
| |
| status: 'OtaSoftwareUpdateProvider.Enums.OTAQueryStatus' = 0 |
| delayedActionTime: 'typing.Optional[uint]' = None |
| imageURI: 'typing.Optional[str]' = None |
| softwareVersion: 'typing.Optional[uint]' = None |
| softwareVersionString: 'typing.Optional[str]' = None |
| updateToken: 'typing.Optional[bytes]' = None |
| userConsentNeeded: 'typing.Optional[bool]' = None |
| metadataForRequestor: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class ApplyUpdateRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'ApplyUpdateResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="updateToken", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="newVersion", Tag=1, Type=uint), |
| ]) |
| |
| updateToken: 'bytes' = b"" |
| newVersion: 'uint' = 0 |
| |
| @dataclass |
| class ApplyUpdateResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="action", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction), |
| ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=uint), |
| ]) |
| |
| action: 'OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction' = 0 |
| delayedActionTime: 'uint' = 0 |
| |
| @dataclass |
| class NotifyUpdateApplied(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="updateToken", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=1, Type=uint), |
| ]) |
| |
| updateToken: 'bytes' = b"" |
| softwareVersion: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class OtaSoftwareUpdateRequestor(Cluster): |
| id: typing.ClassVar[int] = 0x002A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="defaultOTAProviders", Tag=0x00000000, Type=typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]), |
| ClusterObjectFieldDescriptor(Label="updatePossible", Tag=0x00000001, Type=bool), |
| ClusterObjectFieldDescriptor(Label="updateState", Tag=0x00000002, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum), |
| ClusterObjectFieldDescriptor(Label="updateStateProgress", Tag=0x00000003, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| defaultOTAProviders: 'typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]' = None |
| updatePossible: 'bool' = None |
| updateState: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = None |
| updateStateProgress: 'typing.Union[Nullable, uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class OTAAnnouncementReason(MatterIntEnum): |
| kSimpleAnnouncement = 0x00 |
| kUpdateAvailable = 0x01 |
| kUrgentUpdateAvailable = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class OTAChangeReasonEnum(MatterIntEnum): |
| kUnknown = 0x00 |
| kSuccess = 0x01 |
| kFailure = 0x02 |
| kTimeOut = 0x03 |
| kDelayByProvider = 0x04 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 5, |
| |
| class OTAUpdateStateEnum(MatterIntEnum): |
| kUnknown = 0x00 |
| kIdle = 0x01 |
| kQuerying = 0x02 |
| kDelayedOnQuery = 0x03 |
| kDownloading = 0x04 |
| kApplying = 0x05 |
| kDelayedOnApply = 0x06 |
| kRollingBack = 0x07 |
| kDelayedOnUserConsent = 0x08 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 9, |
| |
| class Structs: |
| @dataclass |
| class ProviderLocation(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="providerNodeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endpoint", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| providerNodeID: 'uint' = 0 |
| endpoint: 'uint' = 0 |
| fabricIndex: 'uint' = 0 |
| |
| class Commands: |
| @dataclass |
| class AnnounceOTAProvider(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x002A |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="providerNodeID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="vendorID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="announcementReason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason), |
| ClusterObjectFieldDescriptor(Label="metadataForNode", Tag=3, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="endpoint", Tag=4, Type=uint), |
| ]) |
| |
| providerNodeID: 'uint' = 0 |
| vendorID: 'uint' = 0 |
| announcementReason: 'OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason' = 0 |
| metadataForNode: 'typing.Optional[bytes]' = None |
| endpoint: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class DefaultOTAProviders(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]) |
| |
| value: 'typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class UpdatePossible(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class UpdateState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum) |
| |
| value: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = 0 |
| |
| @dataclass |
| class UpdateStateProgress(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class StateTransition(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="previousState", Tag=0, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum), |
| ClusterObjectFieldDescriptor(Label="newState", Tag=1, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum), |
| ClusterObjectFieldDescriptor(Label="reason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAChangeReasonEnum), |
| ClusterObjectFieldDescriptor(Label="targetSoftwareVersion", Tag=3, Type=typing.Union[Nullable, uint]), |
| ]) |
| |
| previousState: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = 0 |
| newState: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = 0 |
| reason: 'OtaSoftwareUpdateRequestor.Enums.OTAChangeReasonEnum' = 0 |
| targetSoftwareVersion: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class VersionApplied(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="productID", Tag=1, Type=uint), |
| ]) |
| |
| softwareVersion: 'uint' = 0 |
| productID: 'uint' = 0 |
| |
| @dataclass |
| class DownloadError(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="bytesDownloaded", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="progressPercent", Tag=2, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="platformCode", Tag=3, Type=typing.Union[Nullable, int]), |
| ]) |
| |
| softwareVersion: 'uint' = 0 |
| bytesDownloaded: 'uint' = 0 |
| progressPercent: 'typing.Union[Nullable, uint]' = NullValue |
| platformCode: 'typing.Union[Nullable, int]' = NullValue |
| |
| |
| @dataclass |
| class LocalizationConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x002B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="activeLocale", Tag=0x00000000, Type=str), |
| ClusterObjectFieldDescriptor(Label="supportedLocales", Tag=0x00000001, Type=typing.List[str]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| activeLocale: 'str' = None |
| supportedLocales: 'typing.List[str]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class ActiveLocale(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class SupportedLocales(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[str]) |
| |
| value: 'typing.List[str]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class TimeFormatLocalization(Cluster): |
| id: typing.ClassVar[int] = 0x002C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="hourFormat", Tag=0x00000000, Type=TimeFormatLocalization.Enums.HourFormatEnum), |
| ClusterObjectFieldDescriptor(Label="activeCalendarType", Tag=0x00000001, Type=typing.Optional[TimeFormatLocalization.Enums.CalendarTypeEnum]), |
| ClusterObjectFieldDescriptor(Label="supportedCalendarTypes", Tag=0x00000002, Type=typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarTypeEnum]]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| hourFormat: 'TimeFormatLocalization.Enums.HourFormatEnum' = None |
| activeCalendarType: 'typing.Optional[TimeFormatLocalization.Enums.CalendarTypeEnum]' = None |
| supportedCalendarTypes: 'typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarTypeEnum]]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class CalendarTypeEnum(MatterIntEnum): |
| kBuddhist = 0x00 |
| kChinese = 0x01 |
| kCoptic = 0x02 |
| kEthiopian = 0x03 |
| kGregorian = 0x04 |
| kHebrew = 0x05 |
| kIndian = 0x06 |
| kIslamic = 0x07 |
| kJapanese = 0x08 |
| kKorean = 0x09 |
| kPersian = 0x0A |
| kTaiwanese = 0x0B |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 12, |
| |
| class HourFormatEnum(MatterIntEnum): |
| k12hr = 0x00 |
| k24hr = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Attributes: |
| @dataclass |
| class HourFormat(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=TimeFormatLocalization.Enums.HourFormatEnum) |
| |
| value: 'TimeFormatLocalization.Enums.HourFormatEnum' = 0 |
| |
| @dataclass |
| class ActiveCalendarType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[TimeFormatLocalization.Enums.CalendarTypeEnum]) |
| |
| value: 'typing.Optional[TimeFormatLocalization.Enums.CalendarTypeEnum]' = None |
| |
| @dataclass |
| class SupportedCalendarTypes(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarTypeEnum]]) |
| |
| value: 'typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarTypeEnum]]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class UnitLocalization(Cluster): |
| id: typing.ClassVar[int] = 0x002D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="temperatureUnit", Tag=0x00000000, Type=typing.Optional[UnitLocalization.Enums.TempUnitEnum]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| temperatureUnit: 'typing.Optional[UnitLocalization.Enums.TempUnitEnum]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class TempUnitEnum(MatterIntEnum): |
| kFahrenheit = 0x00 |
| kCelsius = 0x01 |
| kKelvin = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kTemperatureUnit = 0x1 |
| |
| class Attributes: |
| @dataclass |
| class TemperatureUnit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[UnitLocalization.Enums.TempUnitEnum]) |
| |
| value: 'typing.Optional[UnitLocalization.Enums.TempUnitEnum]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class PowerSourceConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x002E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="sources", Tag=0x00000000, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| sources: 'typing.List[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class Sources(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class PowerSource(Cluster): |
| id: typing.ClassVar[int] = 0x002F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0x00000000, Type=PowerSource.Enums.PowerSourceStatusEnum), |
| ClusterObjectFieldDescriptor(Label="order", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="description", Tag=0x00000002, Type=str), |
| ClusterObjectFieldDescriptor(Label="wiredAssessedInputVoltage", Tag=0x00000003, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="wiredAssessedInputFrequency", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="wiredCurrentType", Tag=0x00000005, Type=typing.Optional[PowerSource.Enums.WiredCurrentTypeEnum]), |
| ClusterObjectFieldDescriptor(Label="wiredAssessedCurrent", Tag=0x00000006, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="wiredNominalVoltage", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="wiredMaximumCurrent", Tag=0x00000008, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="wiredPresent", Tag=0x00000009, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="activeWiredFaults", Tag=0x0000000A, Type=typing.Optional[typing.List[PowerSource.Enums.WiredFaultEnum]]), |
| ClusterObjectFieldDescriptor(Label="batVoltage", Tag=0x0000000B, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="batPercentRemaining", Tag=0x0000000C, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="batTimeRemaining", Tag=0x0000000D, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="batChargeLevel", Tag=0x0000000E, Type=typing.Optional[PowerSource.Enums.BatChargeLevelEnum]), |
| ClusterObjectFieldDescriptor(Label="batReplacementNeeded", Tag=0x0000000F, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="batReplaceability", Tag=0x00000010, Type=typing.Optional[PowerSource.Enums.BatReplaceabilityEnum]), |
| ClusterObjectFieldDescriptor(Label="batPresent", Tag=0x00000011, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="activeBatFaults", Tag=0x00000012, Type=typing.Optional[typing.List[PowerSource.Enums.BatFaultEnum]]), |
| ClusterObjectFieldDescriptor(Label="batReplacementDescription", Tag=0x00000013, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="batCommonDesignation", Tag=0x00000014, Type=typing.Optional[PowerSource.Enums.BatCommonDesignationEnum]), |
| ClusterObjectFieldDescriptor(Label="batANSIDesignation", Tag=0x00000015, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="batIECDesignation", Tag=0x00000016, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="batApprovedChemistry", Tag=0x00000017, Type=typing.Optional[PowerSource.Enums.BatApprovedChemistryEnum]), |
| ClusterObjectFieldDescriptor(Label="batCapacity", Tag=0x00000018, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batQuantity", Tag=0x00000019, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batChargeState", Tag=0x0000001A, Type=typing.Optional[PowerSource.Enums.BatChargeStateEnum]), |
| ClusterObjectFieldDescriptor(Label="batTimeToFullCharge", Tag=0x0000001B, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="batFunctionalWhileCharging", Tag=0x0000001C, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="batChargingCurrent", Tag=0x0000001D, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="activeBatChargeFaults", Tag=0x0000001E, Type=typing.Optional[typing.List[PowerSource.Enums.BatChargeFaultEnum]]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| status: 'PowerSource.Enums.PowerSourceStatusEnum' = None |
| order: 'uint' = None |
| description: 'str' = None |
| wiredAssessedInputVoltage: 'typing.Union[None, Nullable, uint]' = None |
| wiredAssessedInputFrequency: 'typing.Union[None, Nullable, uint]' = None |
| wiredCurrentType: 'typing.Optional[PowerSource.Enums.WiredCurrentTypeEnum]' = None |
| wiredAssessedCurrent: 'typing.Union[None, Nullable, uint]' = None |
| wiredNominalVoltage: 'typing.Optional[uint]' = None |
| wiredMaximumCurrent: 'typing.Optional[uint]' = None |
| wiredPresent: 'typing.Optional[bool]' = None |
| activeWiredFaults: 'typing.Optional[typing.List[PowerSource.Enums.WiredFaultEnum]]' = None |
| batVoltage: 'typing.Union[None, Nullable, uint]' = None |
| batPercentRemaining: 'typing.Union[None, Nullable, uint]' = None |
| batTimeRemaining: 'typing.Union[None, Nullable, uint]' = None |
| batChargeLevel: 'typing.Optional[PowerSource.Enums.BatChargeLevelEnum]' = None |
| batReplacementNeeded: 'typing.Optional[bool]' = None |
| batReplaceability: 'typing.Optional[PowerSource.Enums.BatReplaceabilityEnum]' = None |
| batPresent: 'typing.Optional[bool]' = None |
| activeBatFaults: 'typing.Optional[typing.List[PowerSource.Enums.BatFaultEnum]]' = None |
| batReplacementDescription: 'typing.Optional[str]' = None |
| batCommonDesignation: 'typing.Optional[PowerSource.Enums.BatCommonDesignationEnum]' = None |
| batANSIDesignation: 'typing.Optional[str]' = None |
| batIECDesignation: 'typing.Optional[str]' = None |
| batApprovedChemistry: 'typing.Optional[PowerSource.Enums.BatApprovedChemistryEnum]' = None |
| batCapacity: 'typing.Optional[uint]' = None |
| batQuantity: 'typing.Optional[uint]' = None |
| batChargeState: 'typing.Optional[PowerSource.Enums.BatChargeStateEnum]' = None |
| batTimeToFullCharge: 'typing.Union[None, Nullable, uint]' = None |
| batFunctionalWhileCharging: 'typing.Optional[bool]' = None |
| batChargingCurrent: 'typing.Union[None, Nullable, uint]' = None |
| activeBatChargeFaults: 'typing.Optional[typing.List[PowerSource.Enums.BatChargeFaultEnum]]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class BatApprovedChemistryEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kAlkaline = 0x01 |
| kLithiumCarbonFluoride = 0x02 |
| kLithiumChromiumOxide = 0x03 |
| kLithiumCopperOxide = 0x04 |
| kLithiumIronDisulfide = 0x05 |
| kLithiumManganeseDioxide = 0x06 |
| kLithiumThionylChloride = 0x07 |
| kMagnesium = 0x08 |
| kMercuryOxide = 0x09 |
| kNickelOxyhydride = 0x0A |
| kSilverOxide = 0x0B |
| kZincAir = 0x0C |
| kZincCarbon = 0x0D |
| kZincChloride = 0x0E |
| kZincManganeseDioxide = 0x0F |
| kLeadAcid = 0x10 |
| kLithiumCobaltOxide = 0x11 |
| kLithiumIon = 0x12 |
| kLithiumIonPolymer = 0x13 |
| kLithiumIronPhosphate = 0x14 |
| kLithiumSulfur = 0x15 |
| kLithiumTitanate = 0x16 |
| kNickelCadmium = 0x17 |
| kNickelHydrogen = 0x18 |
| kNickelIron = 0x19 |
| kNickelMetalHydride = 0x1A |
| kNickelZinc = 0x1B |
| kSilverZinc = 0x1C |
| kSodiumIon = 0x1D |
| kSodiumSulfur = 0x1E |
| kZincBromide = 0x1F |
| kZincCerium = 0x20 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 33, |
| |
| class BatChargeFaultEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kAmbientTooHot = 0x01 |
| kAmbientTooCold = 0x02 |
| kBatteryTooHot = 0x03 |
| kBatteryTooCold = 0x04 |
| kBatteryAbsent = 0x05 |
| kBatteryOverVoltage = 0x06 |
| kBatteryUnderVoltage = 0x07 |
| kChargerOverVoltage = 0x08 |
| kChargerUnderVoltage = 0x09 |
| kSafetyTimeout = 0x0A |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 11, |
| |
| class BatChargeLevelEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class BatChargeStateEnum(MatterIntEnum): |
| kUnknown = 0x00 |
| kIsCharging = 0x01 |
| kIsAtFullCharge = 0x02 |
| kIsNotCharging = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class BatCommonDesignationEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kAaa = 0x01 |
| kAa = 0x02 |
| kC = 0x03 |
| kD = 0x04 |
| k4v5 = 0x05 |
| k6v0 = 0x06 |
| k9v0 = 0x07 |
| k12aa = 0x08 |
| kAaaa = 0x09 |
| kA = 0x0A |
| kB = 0x0B |
| kF = 0x0C |
| kN = 0x0D |
| kNo6 = 0x0E |
| kSubC = 0x0F |
| kA23 = 0x10 |
| kA27 = 0x11 |
| kBa5800 = 0x12 |
| kDuplex = 0x13 |
| k4sr44 = 0x14 |
| k523 = 0x15 |
| k531 = 0x16 |
| k15v0 = 0x17 |
| k22v5 = 0x18 |
| k30v0 = 0x19 |
| k45v0 = 0x1A |
| k67v5 = 0x1B |
| kJ = 0x1C |
| kCr123a = 0x1D |
| kCr2 = 0x1E |
| k2cr5 = 0x1F |
| kCrP2 = 0x20 |
| kCrV3 = 0x21 |
| kSr41 = 0x22 |
| kSr43 = 0x23 |
| kSr44 = 0x24 |
| kSr45 = 0x25 |
| kSr48 = 0x26 |
| kSr54 = 0x27 |
| kSr55 = 0x28 |
| kSr57 = 0x29 |
| kSr58 = 0x2A |
| kSr59 = 0x2B |
| kSr60 = 0x2C |
| kSr63 = 0x2D |
| kSr64 = 0x2E |
| kSr65 = 0x2F |
| kSr66 = 0x30 |
| kSr67 = 0x31 |
| kSr68 = 0x32 |
| kSr69 = 0x33 |
| kSr516 = 0x34 |
| kSr731 = 0x35 |
| kSr712 = 0x36 |
| kLr932 = 0x37 |
| kA5 = 0x38 |
| kA10 = 0x39 |
| kA13 = 0x3A |
| kA312 = 0x3B |
| kA675 = 0x3C |
| kAc41e = 0x3D |
| k10180 = 0x3E |
| k10280 = 0x3F |
| k10440 = 0x40 |
| k14250 = 0x41 |
| k14430 = 0x42 |
| k14500 = 0x43 |
| k14650 = 0x44 |
| k15270 = 0x45 |
| k16340 = 0x46 |
| kRcr123a = 0x47 |
| k17500 = 0x48 |
| k17670 = 0x49 |
| k18350 = 0x4A |
| k18500 = 0x4B |
| k18650 = 0x4C |
| k19670 = 0x4D |
| k25500 = 0x4E |
| k26650 = 0x4F |
| k32600 = 0x50 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 81, |
| |
| class BatFaultEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kOverTemp = 0x01 |
| kUnderTemp = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class BatReplaceabilityEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kNotReplaceable = 0x01 |
| kUserReplaceable = 0x02 |
| kFactoryReplaceable = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class PowerSourceStatusEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kActive = 0x01 |
| kStandby = 0x02 |
| kUnavailable = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class WiredCurrentTypeEnum(MatterIntEnum): |
| kAc = 0x00 |
| kDc = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class WiredFaultEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kOverVoltage = 0x01 |
| kUnderVoltage = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kWired = 0x1 |
| kBattery = 0x2 |
| kRechargeable = 0x4 |
| kReplaceable = 0x8 |
| |
| class Structs: |
| @dataclass |
| class BatChargeFaultChangeType(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), |
| ]) |
| |
| current: 'typing.List[PowerSource.Enums.BatChargeFaultEnum]' = field(default_factory=lambda: []) |
| previous: 'typing.List[PowerSource.Enums.BatChargeFaultEnum]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class BatFaultChangeType(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatFaultEnum]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatFaultEnum]), |
| ]) |
| |
| current: 'typing.List[PowerSource.Enums.BatFaultEnum]' = field(default_factory=lambda: []) |
| previous: 'typing.List[PowerSource.Enums.BatFaultEnum]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class WiredFaultChangeType(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), |
| ]) |
| |
| current: 'typing.List[PowerSource.Enums.WiredFaultEnum]' = field(default_factory=lambda: []) |
| previous: 'typing.List[PowerSource.Enums.WiredFaultEnum]' = field(default_factory=lambda: []) |
| |
| class Attributes: |
| @dataclass |
| class Status(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=PowerSource.Enums.PowerSourceStatusEnum) |
| |
| value: 'PowerSource.Enums.PowerSourceStatusEnum' = 0 |
| |
| @dataclass |
| class Order(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Description(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class WiredAssessedInputVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class WiredAssessedInputFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class WiredCurrentType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.WiredCurrentTypeEnum]) |
| |
| value: 'typing.Optional[PowerSource.Enums.WiredCurrentTypeEnum]' = None |
| |
| @dataclass |
| class WiredAssessedCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class WiredNominalVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WiredMaximumCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WiredPresent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class ActiveWiredFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[PowerSource.Enums.WiredFaultEnum]]) |
| |
| value: 'typing.Optional[typing.List[PowerSource.Enums.WiredFaultEnum]]' = None |
| |
| @dataclass |
| class BatVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class BatPercentRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class BatTimeRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class BatChargeLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.BatChargeLevelEnum]) |
| |
| value: 'typing.Optional[PowerSource.Enums.BatChargeLevelEnum]' = None |
| |
| @dataclass |
| class BatReplacementNeeded(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class BatReplaceability(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.BatReplaceabilityEnum]) |
| |
| value: 'typing.Optional[PowerSource.Enums.BatReplaceabilityEnum]' = None |
| |
| @dataclass |
| class BatPresent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class ActiveBatFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[PowerSource.Enums.BatFaultEnum]]) |
| |
| value: 'typing.Optional[typing.List[PowerSource.Enums.BatFaultEnum]]' = None |
| |
| @dataclass |
| class BatReplacementDescription(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class BatCommonDesignation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.BatCommonDesignationEnum]) |
| |
| value: 'typing.Optional[PowerSource.Enums.BatCommonDesignationEnum]' = None |
| |
| @dataclass |
| class BatANSIDesignation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class BatIECDesignation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class BatApprovedChemistry(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.BatApprovedChemistryEnum]) |
| |
| value: 'typing.Optional[PowerSource.Enums.BatApprovedChemistryEnum]' = None |
| |
| @dataclass |
| class BatCapacity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatQuantity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatChargeState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.BatChargeStateEnum]) |
| |
| value: 'typing.Optional[PowerSource.Enums.BatChargeStateEnum]' = None |
| |
| @dataclass |
| class BatTimeToFullCharge(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class BatFunctionalWhileCharging(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class BatChargingCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class ActiveBatChargeFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[PowerSource.Enums.BatChargeFaultEnum]]) |
| |
| value: 'typing.Optional[typing.List[PowerSource.Enums.BatChargeFaultEnum]]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class WiredFaultChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.WiredFaultEnum]), |
| ]) |
| |
| current: 'typing.List[PowerSource.Enums.WiredFaultEnum]' = field(default_factory=lambda: []) |
| previous: 'typing.List[PowerSource.Enums.WiredFaultEnum]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class BatFaultChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatFaultEnum]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatFaultEnum]), |
| ]) |
| |
| current: 'typing.List[PowerSource.Enums.BatFaultEnum]' = field(default_factory=lambda: []) |
| previous: 'typing.List[PowerSource.Enums.BatFaultEnum]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class BatChargeFaultChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatChargeFaultEnum]), |
| ]) |
| |
| current: 'typing.List[PowerSource.Enums.BatChargeFaultEnum]' = field(default_factory=lambda: []) |
| previous: 'typing.List[PowerSource.Enums.BatChargeFaultEnum]' = field(default_factory=lambda: []) |
| |
| |
| @dataclass |
| class GeneralCommissioning(Cluster): |
| id: typing.ClassVar[int] = 0x0030 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="basicCommissioningInfo", Tag=0x00000001, Type=GeneralCommissioning.Structs.BasicCommissioningInfo), |
| ClusterObjectFieldDescriptor(Label="regulatoryConfig", Tag=0x00000002, Type=GeneralCommissioning.Enums.RegulatoryLocationTypeEnum), |
| ClusterObjectFieldDescriptor(Label="locationCapability", Tag=0x00000003, Type=GeneralCommissioning.Enums.RegulatoryLocationTypeEnum), |
| ClusterObjectFieldDescriptor(Label="supportsConcurrentConnection", Tag=0x00000004, Type=bool), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| breadcrumb: 'uint' = None |
| basicCommissioningInfo: 'GeneralCommissioning.Structs.BasicCommissioningInfo' = None |
| regulatoryConfig: 'GeneralCommissioning.Enums.RegulatoryLocationTypeEnum' = None |
| locationCapability: 'GeneralCommissioning.Enums.RegulatoryLocationTypeEnum' = None |
| supportsConcurrentConnection: 'bool' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class CommissioningErrorEnum(MatterIntEnum): |
| kOk = 0x00 |
| kValueOutsideRange = 0x01 |
| kInvalidAuthentication = 0x02 |
| kNoFailSafe = 0x03 |
| kBusyWithOtherAdmin = 0x04 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 5, |
| |
| class RegulatoryLocationTypeEnum(MatterIntEnum): |
| kIndoor = 0x00 |
| kOutdoor = 0x01 |
| kIndoorOutdoor = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class Structs: |
| @dataclass |
| class BasicCommissioningInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="failSafeExpiryLengthSeconds", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="maxCumulativeFailsafeSeconds", Tag=1, Type=uint), |
| ]) |
| |
| failSafeExpiryLengthSeconds: 'uint' = 0 |
| maxCumulativeFailsafeSeconds: 'uint' = 0 |
| |
| class Commands: |
| @dataclass |
| class ArmFailSafe(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'ArmFailSafeResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="expiryLengthSeconds", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), |
| ]) |
| |
| expiryLengthSeconds: 'uint' = 0 |
| breadcrumb: 'uint' = 0 |
| |
| @dataclass |
| class ArmFailSafeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningErrorEnum), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), |
| ]) |
| |
| errorCode: 'GeneralCommissioning.Enums.CommissioningErrorEnum' = 0 |
| debugText: 'str' = "" |
| |
| @dataclass |
| class SetRegulatoryConfig(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'SetRegulatoryConfigResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="newRegulatoryConfig", Tag=0, Type=GeneralCommissioning.Enums.RegulatoryLocationTypeEnum), |
| ClusterObjectFieldDescriptor(Label="countryCode", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=uint), |
| ]) |
| |
| newRegulatoryConfig: 'GeneralCommissioning.Enums.RegulatoryLocationTypeEnum' = 0 |
| countryCode: 'str' = "" |
| breadcrumb: 'uint' = 0 |
| |
| @dataclass |
| class SetRegulatoryConfigResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningErrorEnum), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), |
| ]) |
| |
| errorCode: 'GeneralCommissioning.Enums.CommissioningErrorEnum' = 0 |
| debugText: 'str' = "" |
| |
| @dataclass |
| class CommissioningComplete(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'CommissioningCompleteResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class CommissioningCompleteResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningErrorEnum), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), |
| ]) |
| |
| errorCode: 'GeneralCommissioning.Enums.CommissioningErrorEnum' = 0 |
| debugText: 'str' = "" |
| |
| class Attributes: |
| @dataclass |
| class Breadcrumb(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class BasicCommissioningInfo(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Structs.BasicCommissioningInfo) |
| |
| value: 'GeneralCommissioning.Structs.BasicCommissioningInfo' = field(default_factory=lambda: GeneralCommissioning.Structs.BasicCommissioningInfo()) |
| |
| @dataclass |
| class RegulatoryConfig(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Enums.RegulatoryLocationTypeEnum) |
| |
| value: 'GeneralCommissioning.Enums.RegulatoryLocationTypeEnum' = 0 |
| |
| @dataclass |
| class LocationCapability(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Enums.RegulatoryLocationTypeEnum) |
| |
| value: 'GeneralCommissioning.Enums.RegulatoryLocationTypeEnum' = 0 |
| |
| @dataclass |
| class SupportsConcurrentConnection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class NetworkCommissioning(Cluster): |
| id: typing.ClassVar[int] = 0x0031 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="maxNetworks", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="networks", Tag=0x00000001, Type=typing.List[NetworkCommissioning.Structs.NetworkInfo]), |
| ClusterObjectFieldDescriptor(Label="scanMaxTimeSeconds", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="connectMaxTimeSeconds", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="interfaceEnabled", Tag=0x00000004, Type=bool), |
| ClusterObjectFieldDescriptor(Label="lastNetworkingStatus", Tag=0x00000005, Type=typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus]), |
| ClusterObjectFieldDescriptor(Label="lastNetworkID", Tag=0x00000006, Type=typing.Union[Nullable, bytes]), |
| ClusterObjectFieldDescriptor(Label="lastConnectErrorValue", Tag=0x00000007, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| maxNetworks: 'uint' = None |
| networks: 'typing.List[NetworkCommissioning.Structs.NetworkInfo]' = None |
| scanMaxTimeSeconds: 'typing.Optional[uint]' = None |
| connectMaxTimeSeconds: 'typing.Optional[uint]' = None |
| interfaceEnabled: 'bool' = None |
| lastNetworkingStatus: 'typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus]' = None |
| lastNetworkID: 'typing.Union[Nullable, bytes]' = None |
| lastConnectErrorValue: 'typing.Union[Nullable, int]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class NetworkCommissioningStatus(MatterIntEnum): |
| kSuccess = 0x00 |
| kOutOfRange = 0x01 |
| kBoundsExceeded = 0x02 |
| kNetworkIDNotFound = 0x03 |
| kDuplicateNetworkID = 0x04 |
| kNetworkNotFound = 0x05 |
| kRegulatoryError = 0x06 |
| kAuthFailure = 0x07 |
| kUnsupportedSecurity = 0x08 |
| kOtherConnectionFailure = 0x09 |
| kIPV6Failed = 0x0A |
| kIPBindFailed = 0x0B |
| kUnknownError = 0x0C |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 13, |
| |
| class WiFiBand(MatterIntEnum): |
| k2g4 = 0x00 |
| k3g65 = 0x01 |
| k5g = 0x02 |
| k6g = 0x03 |
| k60g = 0x04 |
| k1g = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 6, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kWiFiNetworkInterface = 0x1 |
| kThreadNetworkInterface = 0x2 |
| kEthernetNetworkInterface = 0x4 |
| |
| class WiFiSecurity(IntFlag): |
| kUnencrypted = 0x1 |
| kWep = 0x2 |
| kWpaPersonal = 0x4 |
| kWpa2Personal = 0x8 |
| kWpa3Personal = 0x10 |
| |
| class Structs: |
| @dataclass |
| class NetworkInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="connected", Tag=1, Type=bool), |
| ]) |
| |
| networkID: 'bytes' = b"" |
| connected: 'bool' = False |
| |
| @dataclass |
| class ThreadInterfaceScanResult(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="panId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="extendedPanId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="networkName", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor(Label="channel", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="version", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="extendedAddress", Tag=5, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="rssi", Tag=6, Type=int), |
| ClusterObjectFieldDescriptor(Label="lqi", Tag=7, Type=uint), |
| ]) |
| |
| panId: 'uint' = 0 |
| extendedPanId: 'uint' = 0 |
| networkName: 'str' = "" |
| channel: 'uint' = 0 |
| version: 'uint' = 0 |
| extendedAddress: 'bytes' = b"" |
| rssi: 'int' = 0 |
| lqi: 'uint' = 0 |
| |
| @dataclass |
| class WiFiInterfaceScanResult(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="security", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="ssid", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="bssid", Tag=2, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="channel", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="wiFiBand", Tag=4, Type=NetworkCommissioning.Enums.WiFiBand), |
| ClusterObjectFieldDescriptor(Label="rssi", Tag=5, Type=int), |
| ]) |
| |
| security: 'uint' = 0 |
| ssid: 'bytes' = b"" |
| bssid: 'bytes' = b"" |
| channel: 'uint' = 0 |
| wiFiBand: 'NetworkCommissioning.Enums.WiFiBand' = 0 |
| rssi: 'int' = 0 |
| |
| class Commands: |
| @dataclass |
| class ScanNetworks(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'ScanNetworksResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=typing.Union[None, Nullable, bytes]), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| ssid: 'typing.Union[None, Nullable, bytes]' = None |
| breadcrumb: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ScanNetworksResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="wiFiScanResults", Tag=2, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResult]]), |
| ClusterObjectFieldDescriptor(Label="threadScanResults", Tag=3, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResult]]), |
| ]) |
| |
| networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0 |
| debugText: 'typing.Optional[str]' = None |
| wiFiScanResults: 'typing.Optional[typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResult]]' = None |
| threadScanResults: 'typing.Optional[typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResult]]' = None |
| |
| @dataclass |
| class AddOrUpdateWiFiNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'NetworkConfigResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="credentials", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=typing.Optional[uint]), |
| ]) |
| |
| ssid: 'bytes' = b"" |
| credentials: 'bytes' = b"" |
| breadcrumb: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AddOrUpdateThreadNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'NetworkConfigResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="operationalDataset", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| operationalDataset: 'bytes' = b"" |
| breadcrumb: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RemoveNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'NetworkConfigResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| networkID: 'bytes' = b"" |
| breadcrumb: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NetworkConfigResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="networkIndex", Tag=2, Type=typing.Optional[uint]), |
| ]) |
| |
| networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0 |
| debugText: 'typing.Optional[str]' = None |
| networkIndex: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ConnectNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x00000006 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'ConnectNetworkResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| networkID: 'bytes' = b"" |
| breadcrumb: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ConnectNetworkResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x00000007 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="errorValue", Tag=2, Type=typing.Union[Nullable, int]), |
| ]) |
| |
| networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0 |
| debugText: 'typing.Optional[str]' = None |
| errorValue: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class ReorderNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x00000008 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'NetworkConfigResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="networkIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=typing.Optional[uint]), |
| ]) |
| |
| networkID: 'bytes' = b"" |
| networkIndex: 'uint' = 0 |
| breadcrumb: 'typing.Optional[uint]' = None |
| |
| class Attributes: |
| @dataclass |
| class MaxNetworks(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Networks(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[NetworkCommissioning.Structs.NetworkInfo]) |
| |
| value: 'typing.List[NetworkCommissioning.Structs.NetworkInfo]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ScanMaxTimeSeconds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ConnectMaxTimeSeconds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class InterfaceEnabled(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class LastNetworkingStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus]) |
| |
| value: 'typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus]' = NullValue |
| |
| @dataclass |
| class LastNetworkID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes]) |
| |
| value: 'typing.Union[Nullable, bytes]' = NullValue |
| |
| @dataclass |
| class LastConnectErrorValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class DiagnosticLogs(Cluster): |
| id: typing.ClassVar[int] = 0x0032 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class IntentEnum(MatterIntEnum): |
| kEndUserSupport = 0x00 |
| kNetworkDiag = 0x01 |
| kCrashLogs = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class StatusEnum(MatterIntEnum): |
| kSuccess = 0x00 |
| kExhausted = 0x01 |
| kNoLogs = 0x02 |
| kBusy = 0x03 |
| kDenied = 0x04 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 5, |
| |
| class TransferProtocolEnum(MatterIntEnum): |
| kResponsePayload = 0x00 |
| kBdx = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Commands: |
| @dataclass |
| class RetrieveLogsRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0032 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'RetrieveLogsResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="intent", Tag=0, Type=DiagnosticLogs.Enums.IntentEnum), |
| ClusterObjectFieldDescriptor(Label="requestedProtocol", Tag=1, Type=DiagnosticLogs.Enums.TransferProtocolEnum), |
| ClusterObjectFieldDescriptor(Label="transferFileDesignator", Tag=2, Type=typing.Optional[str]), |
| ]) |
| |
| intent: 'DiagnosticLogs.Enums.IntentEnum' = 0 |
| requestedProtocol: 'DiagnosticLogs.Enums.TransferProtocolEnum' = 0 |
| transferFileDesignator: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class RetrieveLogsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0032 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DiagnosticLogs.Enums.StatusEnum), |
| ClusterObjectFieldDescriptor(Label="logContent", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="UTCTimeStamp", Tag=2, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="timeSinceBoot", Tag=3, Type=typing.Optional[uint]), |
| ]) |
| |
| status: 'DiagnosticLogs.Enums.StatusEnum' = 0 |
| logContent: 'bytes' = b"" |
| UTCTimeStamp: 'typing.Optional[uint]' = None |
| timeSinceBoot: 'typing.Optional[uint]' = None |
| |
| class Attributes: |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class GeneralDiagnostics(Cluster): |
| id: typing.ClassVar[int] = 0x0033 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="networkInterfaces", Tag=0x00000000, Type=typing.List[GeneralDiagnostics.Structs.NetworkInterface]), |
| ClusterObjectFieldDescriptor(Label="rebootCount", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="upTime", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="totalOperationalHours", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="bootReason", Tag=0x00000004, Type=typing.Optional[GeneralDiagnostics.Enums.BootReasonEnum]), |
| ClusterObjectFieldDescriptor(Label="activeHardwareFaults", Tag=0x00000005, Type=typing.Optional[typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]]), |
| ClusterObjectFieldDescriptor(Label="activeRadioFaults", Tag=0x00000006, Type=typing.Optional[typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]]), |
| ClusterObjectFieldDescriptor(Label="activeNetworkFaults", Tag=0x00000007, Type=typing.Optional[typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]]), |
| ClusterObjectFieldDescriptor(Label="testEventTriggersEnabled", Tag=0x00000008, Type=bool), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| networkInterfaces: 'typing.List[GeneralDiagnostics.Structs.NetworkInterface]' = None |
| rebootCount: 'uint' = None |
| upTime: 'typing.Optional[uint]' = None |
| totalOperationalHours: 'typing.Optional[uint]' = None |
| bootReason: 'typing.Optional[GeneralDiagnostics.Enums.BootReasonEnum]' = None |
| activeHardwareFaults: 'typing.Optional[typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]]' = None |
| activeRadioFaults: 'typing.Optional[typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]]' = None |
| activeNetworkFaults: 'typing.Optional[typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]]' = None |
| testEventTriggersEnabled: 'bool' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class BootReasonEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kPowerOnReboot = 0x01 |
| kBrownOutReset = 0x02 |
| kSoftwareWatchdogReset = 0x03 |
| kHardwareWatchdogReset = 0x04 |
| kSoftwareUpdateCompleted = 0x05 |
| kSoftwareReset = 0x06 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 7, |
| |
| class HardwareFaultEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kRadio = 0x01 |
| kSensor = 0x02 |
| kResettableOverTemp = 0x03 |
| kNonResettableOverTemp = 0x04 |
| kPowerSource = 0x05 |
| kVisualDisplayFault = 0x06 |
| kAudioOutputFault = 0x07 |
| kUserInterfaceFault = 0x08 |
| kNonVolatileMemoryError = 0x09 |
| kTamperDetected = 0x0A |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 11, |
| |
| class InterfaceTypeEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kWiFi = 0x01 |
| kEthernet = 0x02 |
| kCellular = 0x03 |
| kThread = 0x04 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 5, |
| |
| class NetworkFaultEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kHardwareFailure = 0x01 |
| kNetworkJammed = 0x02 |
| kConnectionFailed = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class RadioFaultEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kWiFiFault = 0x01 |
| kCellularFault = 0x02 |
| kThreadFault = 0x03 |
| kNFCFault = 0x04 |
| kBLEFault = 0x05 |
| kEthernetFault = 0x06 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 7, |
| |
| class Structs: |
| @dataclass |
| class NetworkInterface(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="isOperational", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv4", Tag=2, Type=typing.Union[Nullable, bool]), |
| ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv6", Tag=3, Type=typing.Union[Nullable, bool]), |
| ClusterObjectFieldDescriptor(Label="hardwareAddress", Tag=4, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="IPv4Addresses", Tag=5, Type=typing.List[bytes]), |
| ClusterObjectFieldDescriptor(Label="IPv6Addresses", Tag=6, Type=typing.List[bytes]), |
| ClusterObjectFieldDescriptor(Label="type", Tag=7, Type=GeneralDiagnostics.Enums.InterfaceTypeEnum), |
| ]) |
| |
| name: 'str' = "" |
| isOperational: 'bool' = False |
| offPremiseServicesReachableIPv4: 'typing.Union[Nullable, bool]' = NullValue |
| offPremiseServicesReachableIPv6: 'typing.Union[Nullable, bool]' = NullValue |
| hardwareAddress: 'bytes' = b"" |
| IPv4Addresses: 'typing.List[bytes]' = field(default_factory=lambda: []) |
| IPv6Addresses: 'typing.List[bytes]' = field(default_factory=lambda: []) |
| type: 'GeneralDiagnostics.Enums.InterfaceTypeEnum' = 0 |
| |
| class Commands: |
| @dataclass |
| class TestEventTrigger(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0033 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="enableKey", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="eventTrigger", Tag=1, Type=uint), |
| ]) |
| |
| enableKey: 'bytes' = b"" |
| eventTrigger: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class NetworkInterfaces(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[GeneralDiagnostics.Structs.NetworkInterface]) |
| |
| value: 'typing.List[GeneralDiagnostics.Structs.NetworkInterface]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class RebootCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class UpTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TotalOperationalHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BootReason(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[GeneralDiagnostics.Enums.BootReasonEnum]) |
| |
| value: 'typing.Optional[GeneralDiagnostics.Enums.BootReasonEnum]' = None |
| |
| @dataclass |
| class ActiveHardwareFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]]) |
| |
| value: 'typing.Optional[typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]]' = None |
| |
| @dataclass |
| class ActiveRadioFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]]) |
| |
| value: 'typing.Optional[typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]]' = None |
| |
| @dataclass |
| class ActiveNetworkFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]]) |
| |
| value: 'typing.Optional[typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]]' = None |
| |
| @dataclass |
| class TestEventTriggersEnabled(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class HardwareFaultChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]), |
| ]) |
| |
| current: 'typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]' = field(default_factory=lambda: []) |
| previous: 'typing.List[GeneralDiagnostics.Enums.HardwareFaultEnum]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class RadioFaultChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]), |
| ]) |
| |
| current: 'typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]' = field(default_factory=lambda: []) |
| previous: 'typing.List[GeneralDiagnostics.Enums.RadioFaultEnum]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class NetworkFaultChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]), |
| ]) |
| |
| current: 'typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]' = field(default_factory=lambda: []) |
| previous: 'typing.List[GeneralDiagnostics.Enums.NetworkFaultEnum]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class BootReason(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="bootReason", Tag=0, Type=GeneralDiagnostics.Enums.BootReasonEnum), |
| ]) |
| |
| bootReason: 'GeneralDiagnostics.Enums.BootReasonEnum' = 0 |
| |
| |
| @dataclass |
| class SoftwareDiagnostics(Cluster): |
| id: typing.ClassVar[int] = 0x0034 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="threadMetrics", Tag=0x00000000, Type=typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetricsStruct]]), |
| ClusterObjectFieldDescriptor(Label="currentHeapFree", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentHeapUsed", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentHeapHighWatermark", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| threadMetrics: 'typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetricsStruct]]' = None |
| currentHeapFree: 'typing.Optional[uint]' = None |
| currentHeapUsed: 'typing.Optional[uint]' = None |
| currentHeapHighWatermark: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kWaterMarks = 0x1 |
| |
| class Structs: |
| @dataclass |
| class ThreadMetricsStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="id", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="stackFreeCurrent", Tag=2, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="stackFreeMinimum", Tag=3, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="stackSize", Tag=4, Type=typing.Optional[uint]), |
| ]) |
| |
| id: 'uint' = 0 |
| name: 'typing.Optional[str]' = None |
| stackFreeCurrent: 'typing.Optional[uint]' = None |
| stackFreeMinimum: 'typing.Optional[uint]' = None |
| stackSize: 'typing.Optional[uint]' = None |
| |
| class Commands: |
| @dataclass |
| class ResetWatermarks(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0034 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class ThreadMetrics(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetricsStruct]]) |
| |
| value: 'typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetricsStruct]]' = None |
| |
| @dataclass |
| class CurrentHeapFree(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentHeapUsed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentHeapHighWatermark(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class SoftwareFault(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="id", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="faultRecording", Tag=2, Type=typing.Optional[bytes]), |
| ]) |
| |
| id: 'uint' = 0 |
| name: 'typing.Optional[str]' = None |
| faultRecording: 'typing.Optional[bytes]' = None |
| |
| |
| @dataclass |
| class ThreadNetworkDiagnostics(Cluster): |
| id: typing.ClassVar[int] = 0x0035 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="channel", Tag=0x00000000, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="routingRole", Tag=0x00000001, Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole]), |
| ClusterObjectFieldDescriptor(Label="networkName", Tag=0x00000002, Type=typing.Union[Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="panId", Tag=0x00000003, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="extendedPanId", Tag=0x00000004, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="meshLocalPrefix", Tag=0x00000005, Type=typing.Union[Nullable, bytes]), |
| ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="neighborTable", Tag=0x00000007, Type=typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]), |
| ClusterObjectFieldDescriptor(Label="routeTable", Tag=0x00000008, Type=typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]), |
| ClusterObjectFieldDescriptor(Label="partitionId", Tag=0x00000009, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="weighting", Tag=0x0000000A, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="dataVersion", Tag=0x0000000B, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="stableDataVersion", Tag=0x0000000C, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="leaderRouterId", Tag=0x0000000D, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="detachedRoleCount", Tag=0x0000000E, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="childRoleCount", Tag=0x0000000F, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="routerRoleCount", Tag=0x00000010, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="leaderRoleCount", Tag=0x00000011, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attachAttemptCount", Tag=0x00000012, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="partitionIdChangeCount", Tag=0x00000013, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="betterPartitionAttachAttemptCount", Tag=0x00000014, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="parentChangeCount", Tag=0x00000015, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txTotalCount", Tag=0x00000016, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txUnicastCount", Tag=0x00000017, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txBroadcastCount", Tag=0x00000018, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txAckRequestedCount", Tag=0x00000019, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txAckedCount", Tag=0x0000001A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txNoAckRequestedCount", Tag=0x0000001B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txDataCount", Tag=0x0000001C, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txDataPollCount", Tag=0x0000001D, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txBeaconCount", Tag=0x0000001E, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txBeaconRequestCount", Tag=0x0000001F, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txOtherCount", Tag=0x00000020, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txRetryCount", Tag=0x00000021, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txDirectMaxRetryExpiryCount", Tag=0x00000022, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txIndirectMaxRetryExpiryCount", Tag=0x00000023, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txErrCcaCount", Tag=0x00000024, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txErrAbortCount", Tag=0x00000025, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txErrBusyChannelCount", Tag=0x00000026, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxTotalCount", Tag=0x00000027, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxUnicastCount", Tag=0x00000028, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxBroadcastCount", Tag=0x00000029, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxDataCount", Tag=0x0000002A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxDataPollCount", Tag=0x0000002B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxBeaconCount", Tag=0x0000002C, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxBeaconRequestCount", Tag=0x0000002D, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxOtherCount", Tag=0x0000002E, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxAddressFilteredCount", Tag=0x0000002F, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxDestAddrFilteredCount", Tag=0x00000030, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxDuplicatedCount", Tag=0x00000031, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxErrNoFrameCount", Tag=0x00000032, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxErrUnknownNeighborCount", Tag=0x00000033, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxErrInvalidSrcAddrCount", Tag=0x00000034, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxErrSecCount", Tag=0x00000035, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxErrFcsCount", Tag=0x00000036, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rxErrOtherCount", Tag=0x00000037, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activeTimestamp", Tag=0x00000038, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="pendingTimestamp", Tag=0x00000039, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="delay", Tag=0x0000003A, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="securityPolicy", Tag=0x0000003B, Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy]), |
| ClusterObjectFieldDescriptor(Label="channelPage0Mask", Tag=0x0000003C, Type=typing.Union[Nullable, bytes]), |
| ClusterObjectFieldDescriptor(Label="operationalDatasetComponents", Tag=0x0000003D, Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]), |
| ClusterObjectFieldDescriptor(Label="activeNetworkFaultsList", Tag=0x0000003E, Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| channel: 'typing.Union[Nullable, uint]' = None |
| routingRole: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole]' = None |
| networkName: 'typing.Union[Nullable, str]' = None |
| panId: 'typing.Union[Nullable, uint]' = None |
| extendedPanId: 'typing.Union[Nullable, uint]' = None |
| meshLocalPrefix: 'typing.Union[Nullable, bytes]' = None |
| overrunCount: 'typing.Optional[uint]' = None |
| neighborTable: 'typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]' = None |
| routeTable: 'typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]' = None |
| partitionId: 'typing.Union[Nullable, uint]' = None |
| weighting: 'typing.Union[Nullable, uint]' = None |
| dataVersion: 'typing.Union[Nullable, uint]' = None |
| stableDataVersion: 'typing.Union[Nullable, uint]' = None |
| leaderRouterId: 'typing.Union[Nullable, uint]' = None |
| detachedRoleCount: 'typing.Optional[uint]' = None |
| childRoleCount: 'typing.Optional[uint]' = None |
| routerRoleCount: 'typing.Optional[uint]' = None |
| leaderRoleCount: 'typing.Optional[uint]' = None |
| attachAttemptCount: 'typing.Optional[uint]' = None |
| partitionIdChangeCount: 'typing.Optional[uint]' = None |
| betterPartitionAttachAttemptCount: 'typing.Optional[uint]' = None |
| parentChangeCount: 'typing.Optional[uint]' = None |
| txTotalCount: 'typing.Optional[uint]' = None |
| txUnicastCount: 'typing.Optional[uint]' = None |
| txBroadcastCount: 'typing.Optional[uint]' = None |
| txAckRequestedCount: 'typing.Optional[uint]' = None |
| txAckedCount: 'typing.Optional[uint]' = None |
| txNoAckRequestedCount: 'typing.Optional[uint]' = None |
| txDataCount: 'typing.Optional[uint]' = None |
| txDataPollCount: 'typing.Optional[uint]' = None |
| txBeaconCount: 'typing.Optional[uint]' = None |
| txBeaconRequestCount: 'typing.Optional[uint]' = None |
| txOtherCount: 'typing.Optional[uint]' = None |
| txRetryCount: 'typing.Optional[uint]' = None |
| txDirectMaxRetryExpiryCount: 'typing.Optional[uint]' = None |
| txIndirectMaxRetryExpiryCount: 'typing.Optional[uint]' = None |
| txErrCcaCount: 'typing.Optional[uint]' = None |
| txErrAbortCount: 'typing.Optional[uint]' = None |
| txErrBusyChannelCount: 'typing.Optional[uint]' = None |
| rxTotalCount: 'typing.Optional[uint]' = None |
| rxUnicastCount: 'typing.Optional[uint]' = None |
| rxBroadcastCount: 'typing.Optional[uint]' = None |
| rxDataCount: 'typing.Optional[uint]' = None |
| rxDataPollCount: 'typing.Optional[uint]' = None |
| rxBeaconCount: 'typing.Optional[uint]' = None |
| rxBeaconRequestCount: 'typing.Optional[uint]' = None |
| rxOtherCount: 'typing.Optional[uint]' = None |
| rxAddressFilteredCount: 'typing.Optional[uint]' = None |
| rxDestAddrFilteredCount: 'typing.Optional[uint]' = None |
| rxDuplicatedCount: 'typing.Optional[uint]' = None |
| rxErrNoFrameCount: 'typing.Optional[uint]' = None |
| rxErrUnknownNeighborCount: 'typing.Optional[uint]' = None |
| rxErrInvalidSrcAddrCount: 'typing.Optional[uint]' = None |
| rxErrSecCount: 'typing.Optional[uint]' = None |
| rxErrFcsCount: 'typing.Optional[uint]' = None |
| rxErrOtherCount: 'typing.Optional[uint]' = None |
| activeTimestamp: 'typing.Union[None, Nullable, uint]' = None |
| pendingTimestamp: 'typing.Union[None, Nullable, uint]' = None |
| delay: 'typing.Union[None, Nullable, uint]' = None |
| securityPolicy: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy]' = None |
| channelPage0Mask: 'typing.Union[Nullable, bytes]' = None |
| operationalDatasetComponents: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]' = None |
| activeNetworkFaultsList: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ConnectionStatusEnum(MatterIntEnum): |
| kConnected = 0x00 |
| kNotConnected = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class NetworkFault(MatterIntEnum): |
| kUnspecified = 0x00 |
| kLinkDown = 0x01 |
| kHardwareFailure = 0x02 |
| kNetworkJammed = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class RoutingRole(MatterIntEnum): |
| kUnspecified = 0x00 |
| kUnassigned = 0x01 |
| kSleepyEndDevice = 0x02 |
| kEndDevice = 0x03 |
| kReed = 0x04 |
| kRouter = 0x05 |
| kLeader = 0x06 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 7, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kPacketCounts = 0x1 |
| kErrorCounts = 0x2 |
| kMLECounts = 0x4 |
| kMACCounts = 0x8 |
| |
| class Structs: |
| @dataclass |
| class NeighborTable(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="extAddress", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="age", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rloc16", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="linkFrameCounter", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="mleFrameCounter", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="lqi", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="averageRssi", Tag=6, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="lastRssi", Tag=7, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="frameErrorRate", Tag=8, Type=uint), |
| ClusterObjectFieldDescriptor(Label="messageErrorRate", Tag=9, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxOnWhenIdle", Tag=10, Type=bool), |
| ClusterObjectFieldDescriptor(Label="fullThreadDevice", Tag=11, Type=bool), |
| ClusterObjectFieldDescriptor(Label="fullNetworkData", Tag=12, Type=bool), |
| ClusterObjectFieldDescriptor(Label="isChild", Tag=13, Type=bool), |
| ]) |
| |
| extAddress: 'uint' = 0 |
| age: 'uint' = 0 |
| rloc16: 'uint' = 0 |
| linkFrameCounter: 'uint' = 0 |
| mleFrameCounter: 'uint' = 0 |
| lqi: 'uint' = 0 |
| averageRssi: 'typing.Union[Nullable, int]' = NullValue |
| lastRssi: 'typing.Union[Nullable, int]' = NullValue |
| frameErrorRate: 'uint' = 0 |
| messageErrorRate: 'uint' = 0 |
| rxOnWhenIdle: 'bool' = False |
| fullThreadDevice: 'bool' = False |
| fullNetworkData: 'bool' = False |
| isChild: 'bool' = False |
| |
| @dataclass |
| class OperationalDatasetComponents(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="activeTimestampPresent", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor(Label="pendingTimestampPresent", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor(Label="masterKeyPresent", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor(Label="networkNamePresent", Tag=3, Type=bool), |
| ClusterObjectFieldDescriptor(Label="extendedPanIdPresent", Tag=4, Type=bool), |
| ClusterObjectFieldDescriptor(Label="meshLocalPrefixPresent", Tag=5, Type=bool), |
| ClusterObjectFieldDescriptor(Label="delayPresent", Tag=6, Type=bool), |
| ClusterObjectFieldDescriptor(Label="panIdPresent", Tag=7, Type=bool), |
| ClusterObjectFieldDescriptor(Label="channelPresent", Tag=8, Type=bool), |
| ClusterObjectFieldDescriptor(Label="pskcPresent", Tag=9, Type=bool), |
| ClusterObjectFieldDescriptor(Label="securityPolicyPresent", Tag=10, Type=bool), |
| ClusterObjectFieldDescriptor(Label="channelMaskPresent", Tag=11, Type=bool), |
| ]) |
| |
| activeTimestampPresent: 'bool' = False |
| pendingTimestampPresent: 'bool' = False |
| masterKeyPresent: 'bool' = False |
| networkNamePresent: 'bool' = False |
| extendedPanIdPresent: 'bool' = False |
| meshLocalPrefixPresent: 'bool' = False |
| delayPresent: 'bool' = False |
| panIdPresent: 'bool' = False |
| channelPresent: 'bool' = False |
| pskcPresent: 'bool' = False |
| securityPolicyPresent: 'bool' = False |
| channelMaskPresent: 'bool' = False |
| |
| @dataclass |
| class RouteTable(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="extAddress", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rloc16", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="routerId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="nextHop", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="pathCost", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="LQIIn", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="LQIOut", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor(Label="age", Tag=7, Type=uint), |
| ClusterObjectFieldDescriptor(Label="allocated", Tag=8, Type=bool), |
| ClusterObjectFieldDescriptor(Label="linkEstablished", Tag=9, Type=bool), |
| ]) |
| |
| extAddress: 'uint' = 0 |
| rloc16: 'uint' = 0 |
| routerId: 'uint' = 0 |
| nextHop: 'uint' = 0 |
| pathCost: 'uint' = 0 |
| LQIIn: 'uint' = 0 |
| LQIOut: 'uint' = 0 |
| age: 'uint' = 0 |
| allocated: 'bool' = False |
| linkEstablished: 'bool' = False |
| |
| @dataclass |
| class SecurityPolicy(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="rotationTime", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="flags", Tag=1, Type=uint), |
| ]) |
| |
| rotationTime: 'uint' = 0 |
| flags: 'uint' = 0 |
| |
| class Commands: |
| @dataclass |
| class ResetCounts(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0035 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Channel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class RoutingRole(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole]) |
| |
| value: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole]' = NullValue |
| |
| @dataclass |
| class NetworkName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, str]) |
| |
| value: 'typing.Union[Nullable, str]' = NullValue |
| |
| @dataclass |
| class PanId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class ExtendedPanId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class MeshLocalPrefix(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes]) |
| |
| value: 'typing.Union[Nullable, bytes]' = NullValue |
| |
| @dataclass |
| class OverrunCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NeighborTable(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]) |
| |
| value: 'typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class RouteTable(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]) |
| |
| value: 'typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class PartitionId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class Weighting(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class DataVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class StableDataVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class LeaderRouterId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class DetachedRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ChildRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RouterRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LeaderRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttachAttemptCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PartitionIdChangeCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BetterPartitionAttachAttemptCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ParentChangeCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxTotalCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxUnicastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxBroadcastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxAckRequestedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxAckedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxNoAckRequestedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxDataCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxDataPollCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxBeaconCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxBeaconRequestCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxOtherCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxRetryCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxDirectMaxRetryExpiryCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxIndirectMaxRetryExpiryCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxErrCcaCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxErrAbortCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxErrBusyChannelCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000026 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxTotalCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000027 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxUnicastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000028 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxBroadcastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxDataCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxDataPollCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxBeaconCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxBeaconRequestCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxOtherCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxAddressFilteredCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxDestAddrFilteredCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxDuplicatedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxErrNoFrameCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxErrUnknownNeighborCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxErrInvalidSrcAddrCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxErrSecCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000035 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxErrFcsCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000036 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RxErrOtherCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000037 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActiveTimestamp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000038 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class PendingTimestamp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000039 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class Delay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class SecurityPolicy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy]) |
| |
| value: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy]' = NullValue |
| |
| @dataclass |
| class ChannelPage0Mask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes]) |
| |
| value: 'typing.Union[Nullable, bytes]' = NullValue |
| |
| @dataclass |
| class OperationalDatasetComponents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]) |
| |
| value: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]' = NullValue |
| |
| @dataclass |
| class ActiveNetworkFaultsList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]) |
| |
| value: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class ConnectionStatus(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=ThreadNetworkDiagnostics.Enums.ConnectionStatusEnum), |
| ]) |
| |
| connectionStatus: 'ThreadNetworkDiagnostics.Enums.ConnectionStatusEnum' = 0 |
| |
| @dataclass |
| class NetworkFaultChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]), |
| ]) |
| |
| current: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]' = field(default_factory=lambda: []) |
| previous: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]' = field(default_factory=lambda: []) |
| |
| |
| @dataclass |
| class WiFiNetworkDiagnostics(Cluster): |
| id: typing.ClassVar[int] = 0x0036 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="bssid", Tag=0x00000000, Type=typing.Union[Nullable, bytes]), |
| ClusterObjectFieldDescriptor(Label="securityType", Tag=0x00000001, Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityTypeEnum]), |
| ClusterObjectFieldDescriptor(Label="wiFiVersion", Tag=0x00000002, Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionEnum]), |
| ClusterObjectFieldDescriptor(Label="channelNumber", Tag=0x00000003, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="rssi", Tag=0x00000004, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="beaconLostCount", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="beaconRxCount", Tag=0x00000006, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="packetMulticastRxCount", Tag=0x00000007, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="packetMulticastTxCount", Tag=0x00000008, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="packetUnicastRxCount", Tag=0x00000009, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="packetUnicastTxCount", Tag=0x0000000A, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="currentMaxRate", Tag=0x0000000B, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x0000000C, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| bssid: 'typing.Union[Nullable, bytes]' = None |
| securityType: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityTypeEnum]' = None |
| wiFiVersion: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionEnum]' = None |
| channelNumber: 'typing.Union[Nullable, uint]' = None |
| rssi: 'typing.Union[Nullable, int]' = None |
| beaconLostCount: 'typing.Union[None, Nullable, uint]' = None |
| beaconRxCount: 'typing.Union[None, Nullable, uint]' = None |
| packetMulticastRxCount: 'typing.Union[None, Nullable, uint]' = None |
| packetMulticastTxCount: 'typing.Union[None, Nullable, uint]' = None |
| packetUnicastRxCount: 'typing.Union[None, Nullable, uint]' = None |
| packetUnicastTxCount: 'typing.Union[None, Nullable, uint]' = None |
| currentMaxRate: 'typing.Union[None, Nullable, uint]' = None |
| overrunCount: 'typing.Union[None, Nullable, uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class AssociationFailureCauseEnum(MatterIntEnum): |
| kUnknown = 0x00 |
| kAssociationFailed = 0x01 |
| kAuthenticationFailed = 0x02 |
| kSsidNotFound = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class ConnectionStatusEnum(MatterIntEnum): |
| kConnected = 0x00 |
| kNotConnected = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class SecurityTypeEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kNone = 0x01 |
| kWep = 0x02 |
| kWpa = 0x03 |
| kWpa2 = 0x04 |
| kWpa3 = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 6, |
| |
| class WiFiVersionEnum(MatterIntEnum): |
| kA = 0x00 |
| kB = 0x01 |
| kG = 0x02 |
| kN = 0x03 |
| kAc = 0x04 |
| kAx = 0x05 |
| kAh = 0x06 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 7, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kPacketCounts = 0x1 |
| kErrorCounts = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCounts(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0036 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Bssid(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes]) |
| |
| value: 'typing.Union[Nullable, bytes]' = NullValue |
| |
| @dataclass |
| class SecurityType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityTypeEnum]) |
| |
| value: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityTypeEnum]' = NullValue |
| |
| @dataclass |
| class WiFiVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionEnum]) |
| |
| value: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionEnum]' = NullValue |
| |
| @dataclass |
| class ChannelNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class Rssi(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class BeaconLostCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class BeaconRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class PacketMulticastRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class PacketMulticastTxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class PacketUnicastRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class PacketUnicastTxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class CurrentMaxRate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class OverrunCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class Disconnection(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="reasonCode", Tag=0, Type=uint), |
| ]) |
| |
| reasonCode: 'uint' = 0 |
| |
| @dataclass |
| class AssociationFailure(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="associationFailure", Tag=0, Type=WiFiNetworkDiagnostics.Enums.AssociationFailureCauseEnum), |
| ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint), |
| ]) |
| |
| associationFailure: 'WiFiNetworkDiagnostics.Enums.AssociationFailureCauseEnum' = 0 |
| status: 'uint' = 0 |
| |
| @dataclass |
| class ConnectionStatus(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=WiFiNetworkDiagnostics.Enums.ConnectionStatusEnum), |
| ]) |
| |
| connectionStatus: 'WiFiNetworkDiagnostics.Enums.ConnectionStatusEnum' = 0 |
| |
| |
| @dataclass |
| class EthernetNetworkDiagnostics(Cluster): |
| id: typing.ClassVar[int] = 0x0037 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="PHYRate", Tag=0x00000000, Type=typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateEnum]), |
| ClusterObjectFieldDescriptor(Label="fullDuplex", Tag=0x00000001, Type=typing.Union[None, Nullable, bool]), |
| ClusterObjectFieldDescriptor(Label="packetRxCount", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="packetTxCount", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="txErrCount", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="collisionCount", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="carrierDetect", Tag=0x00000007, Type=typing.Union[None, Nullable, bool]), |
| ClusterObjectFieldDescriptor(Label="timeSinceReset", Tag=0x00000008, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| PHYRate: 'typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateEnum]' = None |
| fullDuplex: 'typing.Union[None, Nullable, bool]' = None |
| packetRxCount: 'typing.Optional[uint]' = None |
| packetTxCount: 'typing.Optional[uint]' = None |
| txErrCount: 'typing.Optional[uint]' = None |
| collisionCount: 'typing.Optional[uint]' = None |
| overrunCount: 'typing.Optional[uint]' = None |
| carrierDetect: 'typing.Union[None, Nullable, bool]' = None |
| timeSinceReset: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class PHYRateEnum(MatterIntEnum): |
| kRate10M = 0x00 |
| kRate100M = 0x01 |
| kRate1G = 0x02 |
| kRate25g = 0x03 |
| kRate5G = 0x04 |
| kRate10G = 0x05 |
| kRate40G = 0x06 |
| kRate100G = 0x07 |
| kRate200G = 0x08 |
| kRate400G = 0x09 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 10, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kPacketCounts = 0x1 |
| kErrorCounts = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCounts(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0037 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class PHYRate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateEnum]) |
| |
| value: 'typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateEnum]' = None |
| |
| @dataclass |
| class FullDuplex(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, bool]) |
| |
| value: 'typing.Union[None, Nullable, bool]' = None |
| |
| @dataclass |
| class PacketRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PacketTxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TxErrCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CollisionCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OverrunCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CarrierDetect(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, bool]) |
| |
| value: 'typing.Union[None, Nullable, bool]' = None |
| |
| @dataclass |
| class TimeSinceReset(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class TimeSynchronization(Cluster): |
| id: typing.ClassVar[int] = 0x0038 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="UTCTime", Tag=0x00000000, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="granularity", Tag=0x00000001, Type=TimeSynchronization.Enums.GranularityEnum), |
| ClusterObjectFieldDescriptor(Label="timeSource", Tag=0x00000002, Type=typing.Optional[TimeSynchronization.Enums.TimeSourceEnum]), |
| ClusterObjectFieldDescriptor(Label="trustedTimeSource", Tag=0x00000003, Type=typing.Union[None, Nullable, TimeSynchronization.Structs.TrustedTimeSourceStruct]), |
| ClusterObjectFieldDescriptor(Label="defaultNTP", Tag=0x00000004, Type=typing.Union[None, Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="timeZone", Tag=0x00000005, Type=typing.Optional[typing.List[TimeSynchronization.Structs.TimeZoneStruct]]), |
| ClusterObjectFieldDescriptor(Label="DSTOffset", Tag=0x00000006, Type=typing.Optional[typing.List[TimeSynchronization.Structs.DSTOffsetStruct]]), |
| ClusterObjectFieldDescriptor(Label="localTime", Tag=0x00000007, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="timeZoneDatabase", Tag=0x00000008, Type=typing.Optional[TimeSynchronization.Enums.TimeZoneDatabaseEnum]), |
| ClusterObjectFieldDescriptor(Label="NTPServerAvailable", Tag=0x00000009, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="timeZoneListMaxSize", Tag=0x0000000A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="DSTOffsetListMaxSize", Tag=0x0000000B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="supportsDNSResolve", Tag=0x0000000C, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| UTCTime: 'typing.Union[Nullable, uint]' = None |
| granularity: 'TimeSynchronization.Enums.GranularityEnum' = None |
| timeSource: 'typing.Optional[TimeSynchronization.Enums.TimeSourceEnum]' = None |
| trustedTimeSource: 'typing.Union[None, Nullable, TimeSynchronization.Structs.TrustedTimeSourceStruct]' = None |
| defaultNTP: 'typing.Union[None, Nullable, str]' = None |
| timeZone: 'typing.Optional[typing.List[TimeSynchronization.Structs.TimeZoneStruct]]' = None |
| DSTOffset: 'typing.Optional[typing.List[TimeSynchronization.Structs.DSTOffsetStruct]]' = None |
| localTime: 'typing.Union[None, Nullable, uint]' = None |
| timeZoneDatabase: 'typing.Optional[TimeSynchronization.Enums.TimeZoneDatabaseEnum]' = None |
| NTPServerAvailable: 'typing.Optional[bool]' = None |
| timeZoneListMaxSize: 'typing.Optional[uint]' = None |
| DSTOffsetListMaxSize: 'typing.Optional[uint]' = None |
| supportsDNSResolve: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class GranularityEnum(MatterIntEnum): |
| kNoTimeGranularity = 0x00 |
| kMinutesGranularity = 0x01 |
| kSecondsGranularity = 0x02 |
| kMillisecondsGranularity = 0x03 |
| kMicrosecondsGranularity = 0x04 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 5, |
| |
| class StatusCode(MatterIntEnum): |
| kTimeNotAccepted = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 0, |
| |
| class TimeSourceEnum(MatterIntEnum): |
| kNone = 0x00 |
| kUnknown = 0x01 |
| kAdmin = 0x02 |
| kNodeTimeCluster = 0x03 |
| kNonMatterSNTP = 0x04 |
| kNonMatterNTP = 0x05 |
| kMatterSNTP = 0x06 |
| kMatterNTP = 0x07 |
| kMixedNTP = 0x08 |
| kNonMatterSNTPNTS = 0x09 |
| kNonMatterNTPNTS = 0x0A |
| kMatterSNTPNTS = 0x0B |
| kMatterNTPNTS = 0x0C |
| kMixedNTPNTS = 0x0D |
| kCloudSource = 0x0E |
| kPtp = 0x0F |
| kGnss = 0x10 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 17, |
| |
| class TimeZoneDatabaseEnum(MatterIntEnum): |
| kFull = 0x00 |
| kPartial = 0x01 |
| kNone = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kTimeZone = 0x1 |
| kNTPClient = 0x2 |
| kNTPServer = 0x4 |
| kTimeSyncClient = 0x8 |
| |
| class Structs: |
| @dataclass |
| class DSTOffsetStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="offset", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor(Label="validStarting", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="validUntil", Tag=2, Type=typing.Union[Nullable, uint]), |
| ]) |
| |
| offset: 'int' = 0 |
| validStarting: 'uint' = 0 |
| validUntil: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class FabricScopedTrustedTimeSourceStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="nodeID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endpoint", Tag=1, Type=uint), |
| ]) |
| |
| nodeID: 'uint' = 0 |
| endpoint: 'uint' = 0 |
| |
| @dataclass |
| class TimeZoneStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="offset", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor(Label="validAt", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=typing.Optional[str]), |
| ]) |
| |
| offset: 'int' = 0 |
| validAt: 'uint' = 0 |
| name: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class TrustedTimeSourceStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="nodeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endpoint", Tag=2, Type=uint), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| nodeID: 'uint' = 0 |
| endpoint: 'uint' = 0 |
| |
| class Commands: |
| @dataclass |
| class SetUTCTime(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0038 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="UTCTime", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="granularity", Tag=1, Type=TimeSynchronization.Enums.GranularityEnum), |
| ClusterObjectFieldDescriptor(Label="timeSource", Tag=2, Type=typing.Optional[TimeSynchronization.Enums.TimeSourceEnum]), |
| ]) |
| |
| UTCTime: 'uint' = 0 |
| granularity: 'TimeSynchronization.Enums.GranularityEnum' = 0 |
| timeSource: 'typing.Optional[TimeSynchronization.Enums.TimeSourceEnum]' = None |
| |
| @dataclass |
| class SetTrustedTimeSource(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0038 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="trustedTimeSource", Tag=0, Type=typing.Union[Nullable, TimeSynchronization.Structs.FabricScopedTrustedTimeSourceStruct]), |
| ]) |
| |
| trustedTimeSource: 'typing.Union[Nullable, TimeSynchronization.Structs.FabricScopedTrustedTimeSourceStruct]' = NullValue |
| |
| @dataclass |
| class SetTimeZone(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0038 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'SetTimeZoneResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="timeZone", Tag=0, Type=typing.List[TimeSynchronization.Structs.TimeZoneStruct]), |
| ]) |
| |
| timeZone: 'typing.List[TimeSynchronization.Structs.TimeZoneStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class SetTimeZoneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0038 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="DSTOffsetRequired", Tag=0, Type=bool), |
| ]) |
| |
| DSTOffsetRequired: 'bool' = False |
| |
| @dataclass |
| class SetDSTOffset(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0038 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="DSTOffset", Tag=0, Type=typing.List[TimeSynchronization.Structs.DSTOffsetStruct]), |
| ]) |
| |
| DSTOffset: 'typing.List[TimeSynchronization.Structs.DSTOffsetStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class SetDefaultNTP(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0038 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="defaultNTP", Tag=0, Type=typing.Union[Nullable, str]), |
| ]) |
| |
| defaultNTP: 'typing.Union[Nullable, str]' = NullValue |
| |
| class Attributes: |
| @dataclass |
| class UTCTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class Granularity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=TimeSynchronization.Enums.GranularityEnum) |
| |
| value: 'TimeSynchronization.Enums.GranularityEnum' = 0 |
| |
| @dataclass |
| class TimeSource(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[TimeSynchronization.Enums.TimeSourceEnum]) |
| |
| value: 'typing.Optional[TimeSynchronization.Enums.TimeSourceEnum]' = None |
| |
| @dataclass |
| class TrustedTimeSource(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, TimeSynchronization.Structs.TrustedTimeSourceStruct]) |
| |
| value: 'typing.Union[None, Nullable, TimeSynchronization.Structs.TrustedTimeSourceStruct]' = None |
| |
| @dataclass |
| class DefaultNTP(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, str]) |
| |
| value: 'typing.Union[None, Nullable, str]' = None |
| |
| @dataclass |
| class TimeZone(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[TimeSynchronization.Structs.TimeZoneStruct]]) |
| |
| value: 'typing.Optional[typing.List[TimeSynchronization.Structs.TimeZoneStruct]]' = None |
| |
| @dataclass |
| class DSTOffset(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[TimeSynchronization.Structs.DSTOffsetStruct]]) |
| |
| value: 'typing.Optional[typing.List[TimeSynchronization.Structs.DSTOffsetStruct]]' = None |
| |
| @dataclass |
| class LocalTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class TimeZoneDatabase(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[TimeSynchronization.Enums.TimeZoneDatabaseEnum]) |
| |
| value: 'typing.Optional[TimeSynchronization.Enums.TimeZoneDatabaseEnum]' = None |
| |
| @dataclass |
| class NTPServerAvailable(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class TimeZoneListMaxSize(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DSTOffsetListMaxSize(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SupportsDNSResolve(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class DSTTableEmpty(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class DSTStatus(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="DSTOffsetActive", Tag=0, Type=bool), |
| ]) |
| |
| DSTOffsetActive: 'bool' = False |
| |
| @dataclass |
| class TimeZoneStatus(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="offset", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=typing.Optional[str]), |
| ]) |
| |
| offset: 'int' = 0 |
| name: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class TimeFailure(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MissingTrustedTimeSource(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| |
| @dataclass |
| class BridgedDeviceBasicInformation(Cluster): |
| id: typing.ClassVar[int] = 0x0039 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000001, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="productName", Tag=0x00000003, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="nodeLabel", Tag=0x00000005, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="hardwareVersionString", Tag=0x00000008, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0x00000009, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=0x0000000A, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="manufacturingDate", Tag=0x0000000B, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="partNumber", Tag=0x0000000C, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="productURL", Tag=0x0000000D, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="productLabel", Tag=0x0000000E, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="serialNumber", Tag=0x0000000F, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="reachable", Tag=0x00000011, Type=bool), |
| ClusterObjectFieldDescriptor(Label="uniqueID", Tag=0x00000012, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="productAppearance", Tag=0x00000014, Type=typing.Optional[BridgedDeviceBasicInformation.Structs.ProductAppearanceStruct]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| vendorName: 'typing.Optional[str]' = None |
| vendorID: 'typing.Optional[uint]' = None |
| productName: 'typing.Optional[str]' = None |
| nodeLabel: 'typing.Optional[str]' = None |
| hardwareVersion: 'typing.Optional[uint]' = None |
| hardwareVersionString: 'typing.Optional[str]' = None |
| softwareVersion: 'typing.Optional[uint]' = None |
| softwareVersionString: 'typing.Optional[str]' = None |
| manufacturingDate: 'typing.Optional[str]' = None |
| partNumber: 'typing.Optional[str]' = None |
| productURL: 'typing.Optional[str]' = None |
| productLabel: 'typing.Optional[str]' = None |
| serialNumber: 'typing.Optional[str]' = None |
| reachable: 'bool' = None |
| uniqueID: 'typing.Optional[str]' = None |
| productAppearance: 'typing.Optional[BridgedDeviceBasicInformation.Structs.ProductAppearanceStruct]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ColorEnum(MatterIntEnum): |
| kBlack = 0x00 |
| kNavy = 0x01 |
| kGreen = 0x02 |
| kTeal = 0x03 |
| kMaroon = 0x04 |
| kPurple = 0x05 |
| kOlive = 0x06 |
| kGray = 0x07 |
| kBlue = 0x08 |
| kLime = 0x09 |
| kAqua = 0x0A |
| kRed = 0x0B |
| kFuchsia = 0x0C |
| kYellow = 0x0D |
| kWhite = 0x0E |
| kNickel = 0x0F |
| kChrome = 0x10 |
| kBrass = 0x11 |
| kCopper = 0x12 |
| kSilver = 0x13 |
| kGold = 0x14 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 21, |
| |
| class ProductFinishEnum(MatterIntEnum): |
| kOther = 0x00 |
| kMatte = 0x01 |
| kSatin = 0x02 |
| kPolished = 0x03 |
| kRugged = 0x04 |
| kFabric = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 6, |
| |
| class Structs: |
| @dataclass |
| class ProductAppearanceStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="finish", Tag=0, Type=BridgedDeviceBasicInformation.Enums.ProductFinishEnum), |
| ClusterObjectFieldDescriptor(Label="primaryColor", Tag=1, Type=typing.Union[Nullable, BridgedDeviceBasicInformation.Enums.ColorEnum]), |
| ]) |
| |
| finish: 'BridgedDeviceBasicInformation.Enums.ProductFinishEnum' = 0 |
| primaryColor: 'typing.Union[Nullable, BridgedDeviceBasicInformation.Enums.ColorEnum]' = NullValue |
| |
| class Attributes: |
| @dataclass |
| class VendorName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class VendorID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ProductName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class NodeLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class HardwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class HardwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class SoftwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SoftwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ManufacturingDate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class PartNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ProductURL(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ProductLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class SerialNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class Reachable(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class UniqueID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ProductAppearance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[BridgedDeviceBasicInformation.Structs.ProductAppearanceStruct]) |
| |
| value: 'typing.Optional[BridgedDeviceBasicInformation.Structs.ProductAppearanceStruct]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class StartUp(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), |
| ]) |
| |
| softwareVersion: 'uint' = 0 |
| |
| @dataclass |
| class ShutDown(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Leave(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ReachableChanged(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="reachableNewValue", Tag=0, Type=bool), |
| ]) |
| |
| reachableNewValue: 'bool' = False |
| |
| |
| @dataclass |
| class Switch(Cluster): |
| id: typing.ClassVar[int] = 0x003B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="numberOfPositions", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentPosition", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="multiPressMax", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| numberOfPositions: 'uint' = None |
| currentPosition: 'uint' = None |
| multiPressMax: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kLatchingSwitch = 0x1 |
| kMomentarySwitch = 0x2 |
| kMomentarySwitchRelease = 0x4 |
| kMomentarySwitchLongPress = 0x8 |
| kMomentarySwitchMultiPress = 0x10 |
| |
| class Attributes: |
| @dataclass |
| class NumberOfPositions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentPosition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class MultiPressMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class SwitchLatched(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), |
| ]) |
| |
| newPosition: 'uint' = 0 |
| |
| @dataclass |
| class InitialPress(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), |
| ]) |
| |
| newPosition: 'uint' = 0 |
| |
| @dataclass |
| class LongPress(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), |
| ]) |
| |
| newPosition: 'uint' = 0 |
| |
| @dataclass |
| class ShortRelease(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint), |
| ]) |
| |
| previousPosition: 'uint' = 0 |
| |
| @dataclass |
| class LongRelease(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint), |
| ]) |
| |
| previousPosition: 'uint' = 0 |
| |
| @dataclass |
| class MultiPressOngoing(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentNumberOfPressesCounted", Tag=1, Type=uint), |
| ]) |
| |
| newPosition: 'uint' = 0 |
| currentNumberOfPressesCounted: 'uint' = 0 |
| |
| @dataclass |
| class MultiPressComplete(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="totalNumberOfPressesCounted", Tag=1, Type=uint), |
| ]) |
| |
| previousPosition: 'uint' = 0 |
| totalNumberOfPressesCounted: 'uint' = 0 |
| |
| |
| @dataclass |
| class AdministratorCommissioning(Cluster): |
| id: typing.ClassVar[int] = 0x003C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="windowStatus", Tag=0x00000000, Type=AdministratorCommissioning.Enums.CommissioningWindowStatusEnum), |
| ClusterObjectFieldDescriptor(Label="adminFabricIndex", Tag=0x00000001, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=0x00000002, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| windowStatus: 'AdministratorCommissioning.Enums.CommissioningWindowStatusEnum' = None |
| adminFabricIndex: 'typing.Union[Nullable, uint]' = None |
| adminVendorId: 'typing.Union[Nullable, uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class CommissioningWindowStatusEnum(MatterIntEnum): |
| kWindowNotOpen = 0x00 |
| kEnhancedWindowOpen = 0x01 |
| kBasicWindowOpen = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class StatusCode(MatterIntEnum): |
| kBusy = 0x02 |
| kPAKEParameterError = 0x03 |
| kWindowNotOpen = 0x04 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 0, |
| |
| class Commands: |
| @dataclass |
| class OpenCommissioningWindow(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003C |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="PAKEPasscodeVerifier", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="discriminator", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="iterations", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="salt", Tag=4, Type=bytes), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| commissioningTimeout: 'uint' = 0 |
| PAKEPasscodeVerifier: 'bytes' = b"" |
| discriminator: 'uint' = 0 |
| iterations: 'uint' = 0 |
| salt: 'bytes' = b"" |
| |
| @dataclass |
| class OpenBasicCommissioningWindow(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003C |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| commissioningTimeout: 'uint' = 0 |
| |
| @dataclass |
| class RevokeCommissioning(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003C |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| class Attributes: |
| @dataclass |
| class WindowStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=AdministratorCommissioning.Enums.CommissioningWindowStatusEnum) |
| |
| value: 'AdministratorCommissioning.Enums.CommissioningWindowStatusEnum' = 0 |
| |
| @dataclass |
| class AdminFabricIndex(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class AdminVendorId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class OperationalCredentials(Cluster): |
| id: typing.ClassVar[int] = 0x003E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="NOCs", Tag=0x00000000, Type=typing.List[OperationalCredentials.Structs.NOCStruct]), |
| ClusterObjectFieldDescriptor(Label="fabrics", Tag=0x00000001, Type=typing.List[OperationalCredentials.Structs.FabricDescriptorStruct]), |
| ClusterObjectFieldDescriptor(Label="supportedFabrics", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="commissionedFabrics", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="trustedRootCertificates", Tag=0x00000004, Type=typing.List[bytes]), |
| ClusterObjectFieldDescriptor(Label="currentFabricIndex", Tag=0x00000005, Type=uint), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| NOCs: 'typing.List[OperationalCredentials.Structs.NOCStruct]' = None |
| fabrics: 'typing.List[OperationalCredentials.Structs.FabricDescriptorStruct]' = None |
| supportedFabrics: 'uint' = None |
| commissionedFabrics: 'uint' = None |
| trustedRootCertificates: 'typing.List[bytes]' = None |
| currentFabricIndex: 'uint' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class CertificateChainTypeEnum(MatterIntEnum): |
| kDACCertificate = 0x01 |
| kPAICertificate = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 0, |
| |
| class NodeOperationalCertStatusEnum(MatterIntEnum): |
| kOk = 0x00 |
| kInvalidPublicKey = 0x01 |
| kInvalidNodeOpId = 0x02 |
| kInvalidNOC = 0x03 |
| kMissingCsr = 0x04 |
| kTableFull = 0x05 |
| kInvalidAdminSubject = 0x06 |
| kFabricConflict = 0x09 |
| kLabelConflict = 0x0A |
| kInvalidFabricIndex = 0x0B |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 7, |
| |
| class Structs: |
| @dataclass |
| class FabricDescriptorStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="rootPublicKey", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="vendorID", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="fabricID", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="nodeID", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="label", Tag=5, Type=str), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| rootPublicKey: 'bytes' = b"" |
| vendorID: 'uint' = 0 |
| fabricID: 'uint' = 0 |
| nodeID: 'uint' = 0 |
| label: 'str' = "" |
| fabricIndex: 'uint' = 0 |
| |
| @dataclass |
| class NOCStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="noc", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="icac", Tag=2, Type=typing.Union[Nullable, bytes]), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| noc: 'bytes' = b"" |
| icac: 'typing.Union[Nullable, bytes]' = NullValue |
| fabricIndex: 'uint' = 0 |
| |
| class Commands: |
| @dataclass |
| class AttestationRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'AttestationResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="attestationNonce", Tag=0, Type=bytes), |
| ]) |
| |
| attestationNonce: 'bytes' = b"" |
| |
| @dataclass |
| class AttestationResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="attestationElements", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="attestationSignature", Tag=1, Type=bytes), |
| ]) |
| |
| attestationElements: 'bytes' = b"" |
| attestationSignature: 'bytes' = b"" |
| |
| @dataclass |
| class CertificateChainRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'CertificateChainResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="certificateType", Tag=0, Type=OperationalCredentials.Enums.CertificateChainTypeEnum), |
| ]) |
| |
| certificateType: 'OperationalCredentials.Enums.CertificateChainTypeEnum' = 0 |
| |
| @dataclass |
| class CertificateChainResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="certificate", Tag=0, Type=bytes), |
| ]) |
| |
| certificate: 'bytes' = b"" |
| |
| @dataclass |
| class CSRRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'CSRResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="CSRNonce", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="isForUpdateNOC", Tag=1, Type=typing.Optional[bool]), |
| ]) |
| |
| CSRNonce: 'bytes' = b"" |
| isForUpdateNOC: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class CSRResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="NOCSRElements", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="attestationSignature", Tag=1, Type=bytes), |
| ]) |
| |
| NOCSRElements: 'bytes' = b"" |
| attestationSignature: 'bytes' = b"" |
| |
| @dataclass |
| class AddNOC(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x00000006 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'NOCResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="IPKValue", Tag=2, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="caseAdminSubject", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=4, Type=uint), |
| ]) |
| |
| NOCValue: 'bytes' = b"" |
| ICACValue: 'typing.Optional[bytes]' = None |
| IPKValue: 'bytes' = b"" |
| caseAdminSubject: 'uint' = 0 |
| adminVendorId: 'uint' = 0 |
| |
| @dataclass |
| class UpdateNOC(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x00000007 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'NOCResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=typing.Optional[bytes]), |
| ]) |
| |
| NOCValue: 'bytes' = b"" |
| ICACValue: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class NOCResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x00000008 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="statusCode", Tag=0, Type=OperationalCredentials.Enums.NodeOperationalCertStatusEnum), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=2, Type=typing.Optional[str]), |
| ]) |
| |
| statusCode: 'OperationalCredentials.Enums.NodeOperationalCertStatusEnum' = 0 |
| fabricIndex: 'typing.Optional[uint]' = None |
| debugText: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class UpdateFabricLabel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x00000009 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'NOCResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), |
| ]) |
| |
| label: 'str' = "" |
| |
| @dataclass |
| class RemoveFabric(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0000000A |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'NOCResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| |
| @dataclass |
| class AddTrustedRootCertificate(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0000000B |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="rootCACertificate", Tag=0, Type=bytes), |
| ]) |
| |
| rootCACertificate: 'bytes' = b"" |
| |
| class Attributes: |
| @dataclass |
| class NOCs(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[OperationalCredentials.Structs.NOCStruct]) |
| |
| value: 'typing.List[OperationalCredentials.Structs.NOCStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class Fabrics(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[OperationalCredentials.Structs.FabricDescriptorStruct]) |
| |
| value: 'typing.List[OperationalCredentials.Structs.FabricDescriptorStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class SupportedFabrics(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CommissionedFabrics(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TrustedRootCertificates(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[bytes]) |
| |
| value: 'typing.List[bytes]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class CurrentFabricIndex(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class GroupKeyManagement(Cluster): |
| id: typing.ClassVar[int] = 0x003F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupKeyMap", Tag=0x00000000, Type=typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct]), |
| ClusterObjectFieldDescriptor(Label="groupTable", Tag=0x00000001, Type=typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct]), |
| ClusterObjectFieldDescriptor(Label="maxGroupsPerFabric", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="maxGroupKeysPerFabric", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| groupKeyMap: 'typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct]' = None |
| groupTable: 'typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct]' = None |
| maxGroupsPerFabric: 'uint' = None |
| maxGroupKeysPerFabric: 'uint' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class GroupKeySecurityPolicyEnum(MatterIntEnum): |
| kTrustFirst = 0x00 |
| kCacheAndSync = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Structs: |
| @dataclass |
| class GroupInfoMapStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endpoints", Tag=2, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="groupName", Tag=3, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| groupId: 'uint' = 0 |
| endpoints: 'typing.List[uint]' = field(default_factory=lambda: []) |
| groupName: 'typing.Optional[str]' = None |
| fabricIndex: 'uint' = 0 |
| |
| @dataclass |
| class GroupKeyMapStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| groupId: 'uint' = 0 |
| groupKeySetID: 'uint' = 0 |
| fabricIndex: 'uint' = 0 |
| |
| @dataclass |
| class GroupKeySetStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupKeySecurityPolicy", Tag=1, Type=GroupKeyManagement.Enums.GroupKeySecurityPolicyEnum), |
| ClusterObjectFieldDescriptor(Label="epochKey0", Tag=2, Type=typing.Union[Nullable, bytes]), |
| ClusterObjectFieldDescriptor(Label="epochStartTime0", Tag=3, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="epochKey1", Tag=4, Type=typing.Union[Nullable, bytes]), |
| ClusterObjectFieldDescriptor(Label="epochStartTime1", Tag=5, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="epochKey2", Tag=6, Type=typing.Union[Nullable, bytes]), |
| ClusterObjectFieldDescriptor(Label="epochStartTime2", Tag=7, Type=typing.Union[Nullable, uint]), |
| ]) |
| |
| groupKeySetID: 'uint' = 0 |
| groupKeySecurityPolicy: 'GroupKeyManagement.Enums.GroupKeySecurityPolicyEnum' = 0 |
| epochKey0: 'typing.Union[Nullable, bytes]' = NullValue |
| epochStartTime0: 'typing.Union[Nullable, uint]' = NullValue |
| epochKey1: 'typing.Union[Nullable, bytes]' = NullValue |
| epochStartTime1: 'typing.Union[Nullable, uint]' = NullValue |
| epochKey2: 'typing.Union[Nullable, bytes]' = NullValue |
| epochStartTime2: 'typing.Union[Nullable, uint]' = NullValue |
| |
| class Commands: |
| @dataclass |
| class KeySetWrite(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySetStruct), |
| ]) |
| |
| groupKeySet: 'GroupKeyManagement.Structs.GroupKeySetStruct' = field(default_factory=lambda: GroupKeyManagement.Structs.GroupKeySetStruct()) |
| |
| @dataclass |
| class KeySetRead(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'KeySetReadResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), |
| ]) |
| |
| groupKeySetID: 'uint' = 0 |
| |
| @dataclass |
| class KeySetReadResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySetStruct), |
| ]) |
| |
| groupKeySet: 'GroupKeyManagement.Structs.GroupKeySetStruct' = field(default_factory=lambda: GroupKeyManagement.Structs.GroupKeySetStruct()) |
| |
| @dataclass |
| class KeySetRemove(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), |
| ]) |
| |
| groupKeySetID: 'uint' = 0 |
| |
| @dataclass |
| class KeySetReadAllIndices(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'KeySetReadAllIndicesResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]), |
| ]) |
| |
| groupKeySetIDs: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class KeySetReadAllIndicesResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]), |
| ]) |
| |
| groupKeySetIDs: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| class Attributes: |
| @dataclass |
| class GroupKeyMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct]) |
| |
| value: 'typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GroupTable(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct]) |
| |
| value: 'typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class MaxGroupsPerFabric(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class MaxGroupKeysPerFabric(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class FixedLabel(Cluster): |
| id: typing.ClassVar[int] = 0x0040 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="labelList", Tag=0x00000000, Type=typing.List[FixedLabel.Structs.LabelStruct]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| labelList: 'typing.List[FixedLabel.Structs.LabelStruct]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Structs: |
| @dataclass |
| class LabelStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), |
| ]) |
| |
| label: 'str' = "" |
| value: 'str' = "" |
| |
| class Attributes: |
| @dataclass |
| class LabelList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[FixedLabel.Structs.LabelStruct]) |
| |
| value: 'typing.List[FixedLabel.Structs.LabelStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class UserLabel(Cluster): |
| id: typing.ClassVar[int] = 0x0041 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="labelList", Tag=0x00000000, Type=typing.List[UserLabel.Structs.LabelStruct]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| labelList: 'typing.List[UserLabel.Structs.LabelStruct]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Structs: |
| @dataclass |
| class LabelStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), |
| ]) |
| |
| label: 'str' = "" |
| value: 'str' = "" |
| |
| class Attributes: |
| @dataclass |
| class LabelList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[UserLabel.Structs.LabelStruct]) |
| |
| value: 'typing.List[UserLabel.Structs.LabelStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ProxyConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x0042 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0042 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0042 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0042 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0042 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0042 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0042 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ProxyDiscovery(Cluster): |
| id: typing.ClassVar[int] = 0x0043 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0043 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0043 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0043 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0043 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0043 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0043 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ProxyValid(Cluster): |
| id: typing.ClassVar[int] = 0x0044 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0044 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0044 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0044 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0044 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0044 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0044 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class BooleanState(Cluster): |
| id: typing.ClassVar[int] = 0x0045 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="stateValue", Tag=0x00000000, Type=bool), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| stateValue: 'bool' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class StateValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class StateChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="stateValue", Tag=0, Type=bool), |
| ]) |
| |
| stateValue: 'bool' = False |
| |
| |
| @dataclass |
| class IcdManagement(Cluster): |
| id: typing.ClassVar[int] = 0x0046 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="idleModeInterval", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="activeModeInterval", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="activeModeThreshold", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="registeredClients", Tag=0x00000003, Type=typing.Optional[typing.List[IcdManagement.Structs.MonitoringRegistrationStruct]]), |
| ClusterObjectFieldDescriptor(Label="ICDCounter", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clientsSupportedPerFabric", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| idleModeInterval: 'uint' = None |
| activeModeInterval: 'uint' = None |
| activeModeThreshold: 'uint' = None |
| registeredClients: 'typing.Optional[typing.List[IcdManagement.Structs.MonitoringRegistrationStruct]]' = None |
| ICDCounter: 'typing.Optional[uint]' = None |
| clientsSupportedPerFabric: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCheckInProtocolSupport = 0x1 |
| |
| class Structs: |
| @dataclass |
| class MonitoringRegistrationStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="checkInNodeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="monitoredSubject", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="key", Tag=3, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| checkInNodeID: 'uint' = 0 |
| monitoredSubject: 'uint' = 0 |
| key: 'bytes' = b"" |
| fabricIndex: 'uint' = 0 |
| |
| class Commands: |
| @dataclass |
| class RegisterClient(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0046 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'RegisterClientResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="checkInNodeID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="monitoredSubject", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="key", Tag=2, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="verificationKey", Tag=3, Type=typing.Optional[bytes]), |
| ]) |
| |
| checkInNodeID: 'uint' = 0 |
| monitoredSubject: 'uint' = 0 |
| key: 'bytes' = b"" |
| verificationKey: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class RegisterClientResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0046 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="ICDCounter", Tag=0, Type=uint), |
| ]) |
| |
| ICDCounter: 'uint' = 0 |
| |
| @dataclass |
| class UnregisterClient(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0046 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="checkInNodeID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="key", Tag=1, Type=typing.Optional[bytes]), |
| ]) |
| |
| checkInNodeID: 'uint' = 0 |
| key: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class StayActiveRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0046 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class IdleModeInterval(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ActiveModeInterval(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ActiveModeThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RegisteredClients(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[IcdManagement.Structs.MonitoringRegistrationStruct]]) |
| |
| value: 'typing.Optional[typing.List[IcdManagement.Structs.MonitoringRegistrationStruct]]' = None |
| |
| @dataclass |
| class ICDCounter(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClientsSupportedPerFabric(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ModeSelect(Cluster): |
| id: typing.ClassVar[int] = 0x0050 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="description", Tag=0x00000000, Type=str), |
| ClusterObjectFieldDescriptor(Label="standardNamespace", Tag=0x00000001, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000002, Type=typing.List[ModeSelect.Structs.ModeOptionStruct]), |
| ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startUpMode", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| description: 'str' = None |
| standardNamespace: 'typing.Union[Nullable, uint]' = None |
| supportedModes: 'typing.List[ModeSelect.Structs.ModeOptionStruct]' = None |
| currentMode: 'uint' = None |
| startUpMode: 'typing.Union[None, Nullable, uint]' = None |
| onMode: 'typing.Union[None, Nullable, uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kDeponoff = 0x1 |
| |
| class Structs: |
| @dataclass |
| class SemanticTagStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=uint), |
| ]) |
| |
| mfgCode: 'uint' = 0 |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ModeOptionStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="mode", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="semanticTags", Tag=2, Type=typing.List[ModeSelect.Structs.SemanticTagStruct]), |
| ]) |
| |
| label: 'str' = "" |
| mode: 'uint' = 0 |
| semanticTags: 'typing.List[ModeSelect.Structs.SemanticTagStruct]' = field(default_factory=lambda: []) |
| |
| class Commands: |
| @dataclass |
| class ChangeToMode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0050 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint), |
| ]) |
| |
| newMode: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class Description(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class StandardNamespace(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class SupportedModes(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[ModeSelect.Structs.ModeOptionStruct]) |
| |
| value: 'typing.List[ModeSelect.Structs.ModeOptionStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class CurrentMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class StartUpMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class OnMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class TemperatureControl(Cluster): |
| id: typing.ClassVar[int] = 0x0056 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="temperatureSetpoint", Tag=0x00000000, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="minTemperature", Tag=0x00000001, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="maxTemperature", Tag=0x00000002, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="step", Tag=0x00000003, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="currentTemperatureLevelIndex", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="supportedTemperatureLevels", Tag=0x00000005, Type=typing.Optional[typing.List[TemperatureControl.Structs.TemperatureLevelStruct]]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| temperatureSetpoint: 'typing.Optional[int]' = None |
| minTemperature: 'typing.Optional[int]' = None |
| maxTemperature: 'typing.Optional[int]' = None |
| step: 'typing.Optional[int]' = None |
| currentTemperatureLevelIndex: 'typing.Optional[uint]' = None |
| supportedTemperatureLevels: 'typing.Optional[typing.List[TemperatureControl.Structs.TemperatureLevelStruct]]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kTemperatureNumber = 0x1 |
| kTemperatureLevel = 0x2 |
| |
| class Structs: |
| @dataclass |
| class TemperatureLevelStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="temperatureLevel", Tag=1, Type=uint), |
| ]) |
| |
| label: 'str' = "" |
| temperatureLevel: 'uint' = 0 |
| |
| class Commands: |
| @dataclass |
| class SetTemperature(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0056 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="targetTemperature", Tag=0, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="targetTemperatureLevel", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| targetTemperature: 'typing.Optional[int]' = None |
| targetTemperatureLevel: 'typing.Optional[uint]' = None |
| |
| class Attributes: |
| @dataclass |
| class TemperatureSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MinTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MaxTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Step(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class CurrentTemperatureLevelIndex(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SupportedTemperatureLevels(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[TemperatureControl.Structs.TemperatureLevelStruct]]) |
| |
| value: 'typing.Optional[typing.List[TemperatureControl.Structs.TemperatureLevelStruct]]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class RefrigeratorAlarm(Cluster): |
| id: typing.ClassVar[int] = 0x0057 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="mask", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="latch", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="state", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| mask: 'uint' = None |
| latch: 'uint' = None |
| state: 'uint' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Bitmaps: |
| class AlarmMap(IntFlag): |
| kDoorOpen = 0x1 |
| |
| class Commands: |
| @dataclass |
| class Reset(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0057 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="alarms", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="mask", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| alarms: 'uint' = 0 |
| mask: 'typing.Optional[uint]' = None |
| |
| class Attributes: |
| @dataclass |
| class Mask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0057 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Latch(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0057 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class State(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0057 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0057 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0057 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0057 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0057 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0057 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0057 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class Notify(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0057 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="active", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="inactive", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="state", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="mask", Tag=3, Type=uint), |
| ]) |
| |
| active: 'uint' = 0 |
| inactive: 'uint' = 0 |
| state: 'uint' = 0 |
| mask: 'uint' = 0 |
| |
| |
| @dataclass |
| class AirQuality(Cluster): |
| id: typing.ClassVar[int] = 0x005B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="airQuality", Tag=0x00000000, Type=AirQuality.Enums.AirQualityEnum), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| airQuality: 'AirQuality.Enums.AirQualityEnum' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class AirQualityEnum(MatterIntEnum): |
| kUnknown = 0x00 |
| kGood = 0x01 |
| kFair = 0x02 |
| kModerate = 0x03 |
| kPoor = 0x04 |
| kVeryPoor = 0x05 |
| kExtremelyPoor = 0x06 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 7, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kFair = 0x1 |
| kModerate = 0x2 |
| kVeryPoor = 0x4 |
| kExtremelyPoor = 0x8 |
| |
| class Attributes: |
| @dataclass |
| class AirQuality(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=AirQuality.Enums.AirQualityEnum) |
| |
| value: 'AirQuality.Enums.AirQualityEnum' = 0 |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class SmokeCoAlarm(Cluster): |
| id: typing.ClassVar[int] = 0x005C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="expressedState", Tag=0x00000000, Type=SmokeCoAlarm.Enums.ExpressedStateEnum), |
| ClusterObjectFieldDescriptor(Label="smokeState", Tag=0x00000001, Type=typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]), |
| ClusterObjectFieldDescriptor(Label="COState", Tag=0x00000002, Type=typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]), |
| ClusterObjectFieldDescriptor(Label="batteryAlert", Tag=0x00000003, Type=SmokeCoAlarm.Enums.AlarmStateEnum), |
| ClusterObjectFieldDescriptor(Label="deviceMuted", Tag=0x00000004, Type=typing.Optional[SmokeCoAlarm.Enums.MuteStateEnum]), |
| ClusterObjectFieldDescriptor(Label="testInProgress", Tag=0x00000005, Type=bool), |
| ClusterObjectFieldDescriptor(Label="hardwareFaultAlert", Tag=0x00000006, Type=bool), |
| ClusterObjectFieldDescriptor(Label="endOfServiceAlert", Tag=0x00000007, Type=SmokeCoAlarm.Enums.EndOfServiceEnum), |
| ClusterObjectFieldDescriptor(Label="interconnectSmokeAlarm", Tag=0x00000008, Type=typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]), |
| ClusterObjectFieldDescriptor(Label="interconnectCOAlarm", Tag=0x00000009, Type=typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]), |
| ClusterObjectFieldDescriptor(Label="contaminationState", Tag=0x0000000A, Type=typing.Optional[SmokeCoAlarm.Enums.ContaminationStateEnum]), |
| ClusterObjectFieldDescriptor(Label="sensitivityLevel", Tag=0x0000000B, Type=typing.Optional[SmokeCoAlarm.Enums.SensitivityEnum]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| expressedState: 'SmokeCoAlarm.Enums.ExpressedStateEnum' = None |
| smokeState: 'typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]' = None |
| COState: 'typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]' = None |
| batteryAlert: 'SmokeCoAlarm.Enums.AlarmStateEnum' = None |
| deviceMuted: 'typing.Optional[SmokeCoAlarm.Enums.MuteStateEnum]' = None |
| testInProgress: 'bool' = None |
| hardwareFaultAlert: 'bool' = None |
| endOfServiceAlert: 'SmokeCoAlarm.Enums.EndOfServiceEnum' = None |
| interconnectSmokeAlarm: 'typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]' = None |
| interconnectCOAlarm: 'typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]' = None |
| contaminationState: 'typing.Optional[SmokeCoAlarm.Enums.ContaminationStateEnum]' = None |
| sensitivityLevel: 'typing.Optional[SmokeCoAlarm.Enums.SensitivityEnum]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class AlarmStateEnum(MatterIntEnum): |
| kNormal = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class ContaminationStateEnum(MatterIntEnum): |
| kNormal = 0x00 |
| kLow = 0x01 |
| kWarning = 0x02 |
| kCritical = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class EndOfServiceEnum(MatterIntEnum): |
| kExpired = 0x00 |
| kNormal = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class ExpressedStateEnum(MatterIntEnum): |
| kNormal = 0x00 |
| kSmokeAlarm = 0x01 |
| kCOAlarm = 0x02 |
| kBatteryAlert = 0x03 |
| kTesting = 0x04 |
| kHardwareFault = 0x05 |
| kEndOfService = 0x06 |
| kInterconnectSmoke = 0x07 |
| kInterconnectCO = 0x08 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 9, |
| |
| class MuteStateEnum(MatterIntEnum): |
| kNotMuted = 0x00 |
| kMuted = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class SensitivityEnum(MatterIntEnum): |
| kHigh = 0x00 |
| kStandard = 0x01 |
| kLow = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kSmokeAlarm = 0x1 |
| kCoAlarm = 0x2 |
| |
| class Commands: |
| @dataclass |
| class SelfTestRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x005C |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class ExpressedState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=SmokeCoAlarm.Enums.ExpressedStateEnum) |
| |
| value: 'SmokeCoAlarm.Enums.ExpressedStateEnum' = 0 |
| |
| @dataclass |
| class SmokeState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]) |
| |
| value: 'typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]' = None |
| |
| @dataclass |
| class COState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]) |
| |
| value: 'typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]' = None |
| |
| @dataclass |
| class BatteryAlert(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=SmokeCoAlarm.Enums.AlarmStateEnum) |
| |
| value: 'SmokeCoAlarm.Enums.AlarmStateEnum' = 0 |
| |
| @dataclass |
| class DeviceMuted(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[SmokeCoAlarm.Enums.MuteStateEnum]) |
| |
| value: 'typing.Optional[SmokeCoAlarm.Enums.MuteStateEnum]' = None |
| |
| @dataclass |
| class TestInProgress(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class HardwareFaultAlert(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class EndOfServiceAlert(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=SmokeCoAlarm.Enums.EndOfServiceEnum) |
| |
| value: 'SmokeCoAlarm.Enums.EndOfServiceEnum' = 0 |
| |
| @dataclass |
| class InterconnectSmokeAlarm(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]) |
| |
| value: 'typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]' = None |
| |
| @dataclass |
| class InterconnectCOAlarm(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]) |
| |
| value: 'typing.Optional[SmokeCoAlarm.Enums.AlarmStateEnum]' = None |
| |
| @dataclass |
| class ContaminationState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[SmokeCoAlarm.Enums.ContaminationStateEnum]) |
| |
| value: 'typing.Optional[SmokeCoAlarm.Enums.ContaminationStateEnum]' = None |
| |
| @dataclass |
| class SensitivityLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[SmokeCoAlarm.Enums.SensitivityEnum]) |
| |
| value: 'typing.Optional[SmokeCoAlarm.Enums.SensitivityEnum]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class SmokeAlarm(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class COAlarm(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class LowBattery(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class HardwareFault(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class EndOfService(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SelfTestComplete(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class AlarmMuted(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MuteEnded(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class InterconnectSmokeAlarm(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class InterconnectCOAlarm(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class AllClear(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| |
| @dataclass |
| class HepaFilterMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x0071 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=typing.Optional[HepaFilterMonitoring.Enums.DegradationDirectionEnum]), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=HepaFilterMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'typing.Optional[uint]' = None |
| degradationDirection: 'typing.Optional[HepaFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| changeIndication: 'HepaFilterMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0071 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0071 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0071 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[HepaFilterMonitoring.Enums.DegradationDirectionEnum]) |
| |
| value: 'typing.Optional[HepaFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0071 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=HepaFilterMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'HepaFilterMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0071 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0071 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0071 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0071 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0071 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0071 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0071 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ActivatedCarbonFilterMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x0072 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=typing.Optional[ActivatedCarbonFilterMonitoring.Enums.DegradationDirectionEnum]), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=ActivatedCarbonFilterMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'typing.Optional[uint]' = None |
| degradationDirection: 'typing.Optional[ActivatedCarbonFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| changeIndication: 'ActivatedCarbonFilterMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0072 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0072 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0072 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[ActivatedCarbonFilterMonitoring.Enums.DegradationDirectionEnum]) |
| |
| value: 'typing.Optional[ActivatedCarbonFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0072 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ActivatedCarbonFilterMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'ActivatedCarbonFilterMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0072 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0072 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0072 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0072 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0072 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0072 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0072 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class CeramicFilterMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x0073 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=CeramicFilterMonitoring.Enums.DegradationDirectionEnum), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=CeramicFilterMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'uint' = None |
| degradationDirection: 'CeramicFilterMonitoring.Enums.DegradationDirectionEnum' = None |
| changeIndication: 'CeramicFilterMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0073 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0073 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0073 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=CeramicFilterMonitoring.Enums.DegradationDirectionEnum) |
| |
| value: 'CeramicFilterMonitoring.Enums.DegradationDirectionEnum' = 0 |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0073 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=CeramicFilterMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'CeramicFilterMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0073 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0073 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0073 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0073 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0073 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0073 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0073 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ElectrostaticFilterMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x0074 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=typing.Optional[ElectrostaticFilterMonitoring.Enums.DegradationDirectionEnum]), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=ElectrostaticFilterMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'typing.Optional[uint]' = None |
| degradationDirection: 'typing.Optional[ElectrostaticFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| changeIndication: 'ElectrostaticFilterMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0074 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0074 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0074 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[ElectrostaticFilterMonitoring.Enums.DegradationDirectionEnum]) |
| |
| value: 'typing.Optional[ElectrostaticFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0074 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ElectrostaticFilterMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'ElectrostaticFilterMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0074 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0074 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0074 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0074 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0074 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0074 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0074 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class UvFilterMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x0075 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=typing.Optional[UvFilterMonitoring.Enums.DegradationDirectionEnum]), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=UvFilterMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'typing.Optional[uint]' = None |
| degradationDirection: 'typing.Optional[UvFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| changeIndication: 'UvFilterMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0075 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0075 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0075 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[UvFilterMonitoring.Enums.DegradationDirectionEnum]) |
| |
| value: 'typing.Optional[UvFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0075 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=UvFilterMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'UvFilterMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0075 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0075 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0075 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0075 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0075 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0075 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0075 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class IonizingFilterMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x0076 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=typing.Optional[IonizingFilterMonitoring.Enums.DegradationDirectionEnum]), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=IonizingFilterMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'typing.Optional[uint]' = None |
| degradationDirection: 'typing.Optional[IonizingFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| changeIndication: 'IonizingFilterMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0076 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0076 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0076 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[IonizingFilterMonitoring.Enums.DegradationDirectionEnum]) |
| |
| value: 'typing.Optional[IonizingFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0076 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=IonizingFilterMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'IonizingFilterMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0076 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0076 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0076 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0076 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0076 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0076 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0076 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ZeoliteFilterMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x0077 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=typing.Optional[ZeoliteFilterMonitoring.Enums.DegradationDirectionEnum]), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=ZeoliteFilterMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'typing.Optional[uint]' = None |
| degradationDirection: 'typing.Optional[ZeoliteFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| changeIndication: 'ZeoliteFilterMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0077 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0077 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0077 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[ZeoliteFilterMonitoring.Enums.DegradationDirectionEnum]) |
| |
| value: 'typing.Optional[ZeoliteFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0077 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ZeoliteFilterMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'ZeoliteFilterMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0077 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0077 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0077 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0077 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0077 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0077 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0077 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class OzoneFilterMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x0078 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=typing.Optional[OzoneFilterMonitoring.Enums.DegradationDirectionEnum]), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=OzoneFilterMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'typing.Optional[uint]' = None |
| degradationDirection: 'typing.Optional[OzoneFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| changeIndication: 'OzoneFilterMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0078 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0078 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0078 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[OzoneFilterMonitoring.Enums.DegradationDirectionEnum]) |
| |
| value: 'typing.Optional[OzoneFilterMonitoring.Enums.DegradationDirectionEnum]' = None |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0078 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=OzoneFilterMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'OzoneFilterMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0078 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0078 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0078 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0078 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0078 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0078 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0078 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class WaterTankMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x0079 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=typing.Optional[WaterTankMonitoring.Enums.DegradationDirectionEnum]), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=WaterTankMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'typing.Optional[uint]' = None |
| degradationDirection: 'typing.Optional[WaterTankMonitoring.Enums.DegradationDirectionEnum]' = None |
| changeIndication: 'WaterTankMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0079 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0079 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0079 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[WaterTankMonitoring.Enums.DegradationDirectionEnum]) |
| |
| value: 'typing.Optional[WaterTankMonitoring.Enums.DegradationDirectionEnum]' = None |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0079 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=WaterTankMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'WaterTankMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0079 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0079 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0079 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0079 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0079 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0079 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0079 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class FuelTankMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x007A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=typing.Optional[FuelTankMonitoring.Enums.DegradationDirectionEnum]), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=FuelTankMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'typing.Optional[uint]' = None |
| degradationDirection: 'typing.Optional[FuelTankMonitoring.Enums.DegradationDirectionEnum]' = None |
| changeIndication: 'FuelTankMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x007A |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[FuelTankMonitoring.Enums.DegradationDirectionEnum]) |
| |
| value: 'typing.Optional[FuelTankMonitoring.Enums.DegradationDirectionEnum]' = None |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=FuelTankMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'FuelTankMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class InkCartridgeMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x007B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=typing.Optional[InkCartridgeMonitoring.Enums.DegradationDirectionEnum]), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=InkCartridgeMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'typing.Optional[uint]' = None |
| degradationDirection: 'typing.Optional[InkCartridgeMonitoring.Enums.DegradationDirectionEnum]' = None |
| changeIndication: 'InkCartridgeMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x007B |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[InkCartridgeMonitoring.Enums.DegradationDirectionEnum]) |
| |
| value: 'typing.Optional[InkCartridgeMonitoring.Enums.DegradationDirectionEnum]' = None |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=InkCartridgeMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'InkCartridgeMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class TonerCartridgeMonitoring(Cluster): |
| id: typing.ClassVar[int] = 0x007C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="condition", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="degradationDirection", Tag=0x00000001, Type=typing.Optional[TonerCartridgeMonitoring.Enums.DegradationDirectionEnum]), |
| ClusterObjectFieldDescriptor(Label="changeIndication", Tag=0x00000002, Type=TonerCartridgeMonitoring.Enums.ChangeIndicationEnum), |
| ClusterObjectFieldDescriptor(Label="inPlaceIndicator", Tag=0x00000003, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| condition: 'typing.Optional[uint]' = None |
| degradationDirection: 'typing.Optional[TonerCartridgeMonitoring.Enums.DegradationDirectionEnum]' = None |
| changeIndication: 'TonerCartridgeMonitoring.Enums.ChangeIndicationEnum' = None |
| inPlaceIndicator: 'typing.Optional[bool]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeIndicationEnum(MatterIntEnum): |
| kOk = 0x00 |
| kWarning = 0x01 |
| kCritical = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DegradationDirectionEnum(MatterIntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kCondition = 0x1 |
| kWarning = 0x2 |
| |
| class Commands: |
| @dataclass |
| class ResetCondition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x007C |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class Condition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DegradationDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[TonerCartridgeMonitoring.Enums.DegradationDirectionEnum]) |
| |
| value: 'typing.Optional[TonerCartridgeMonitoring.Enums.DegradationDirectionEnum]' = None |
| |
| @dataclass |
| class ChangeIndication(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=TonerCartridgeMonitoring.Enums.ChangeIndicationEnum) |
| |
| value: 'TonerCartridgeMonitoring.Enums.ChangeIndicationEnum' = 0 |
| |
| @dataclass |
| class InPlaceIndicator(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x007C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class DoorLock(Cluster): |
| id: typing.ClassVar[int] = 0x0101 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="lockState", Tag=0x00000000, Type=typing.Union[Nullable, DoorLock.Enums.DlLockState]), |
| ClusterObjectFieldDescriptor(Label="lockType", Tag=0x00000001, Type=DoorLock.Enums.DlLockType), |
| ClusterObjectFieldDescriptor(Label="actuatorEnabled", Tag=0x00000002, Type=bool), |
| ClusterObjectFieldDescriptor(Label="doorState", Tag=0x00000003, Type=typing.Union[None, Nullable, DoorLock.Enums.DoorStateEnum]), |
| ClusterObjectFieldDescriptor(Label="doorOpenEvents", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="doorClosedEvents", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="openPeriod", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfTotalUsersSupported", Tag=0x00000011, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfPINUsersSupported", Tag=0x00000012, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfRFIDUsersSupported", Tag=0x00000013, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfWeekDaySchedulesSupportedPerUser", Tag=0x00000014, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfYearDaySchedulesSupportedPerUser", Tag=0x00000015, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfHolidaySchedulesSupported", Tag=0x00000016, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="maxPINCodeLength", Tag=0x00000017, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="minPINCodeLength", Tag=0x00000018, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="maxRFIDCodeLength", Tag=0x00000019, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="minRFIDCodeLength", Tag=0x0000001A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="credentialRulesSupport", Tag=0x0000001B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfCredentialsSupportedPerUser", Tag=0x0000001C, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="language", Tag=0x00000021, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="LEDSettings", Tag=0x00000022, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="autoRelockTime", Tag=0x00000023, Type=uint), |
| ClusterObjectFieldDescriptor(Label="soundVolume", Tag=0x00000024, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="operatingMode", Tag=0x00000025, Type=DoorLock.Enums.OperatingModeEnum), |
| ClusterObjectFieldDescriptor(Label="supportedOperatingModes", Tag=0x00000026, Type=uint), |
| ClusterObjectFieldDescriptor(Label="defaultConfigurationRegister", Tag=0x00000027, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="enableLocalProgramming", Tag=0x00000028, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="enableOneTouchLocking", Tag=0x00000029, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="enableInsideStatusLED", Tag=0x0000002A, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="enablePrivacyModeButton", Tag=0x0000002B, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="localProgrammingFeatures", Tag=0x0000002C, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="wrongCodeEntryLimit", Tag=0x00000030, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="userCodeTemporaryDisableTime", Tag=0x00000031, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="sendPINOverTheAir", Tag=0x00000032, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="requirePINforRemoteOperation", Tag=0x00000033, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="expiringUserTimeout", Tag=0x00000035, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| lockState: 'typing.Union[Nullable, DoorLock.Enums.DlLockState]' = None |
| lockType: 'DoorLock.Enums.DlLockType' = None |
| actuatorEnabled: 'bool' = None |
| doorState: 'typing.Union[None, Nullable, DoorLock.Enums.DoorStateEnum]' = None |
| doorOpenEvents: 'typing.Optional[uint]' = None |
| doorClosedEvents: 'typing.Optional[uint]' = None |
| openPeriod: 'typing.Optional[uint]' = None |
| numberOfTotalUsersSupported: 'typing.Optional[uint]' = None |
| numberOfPINUsersSupported: 'typing.Optional[uint]' = None |
| numberOfRFIDUsersSupported: 'typing.Optional[uint]' = None |
| numberOfWeekDaySchedulesSupportedPerUser: 'typing.Optional[uint]' = None |
| numberOfYearDaySchedulesSupportedPerUser: 'typing.Optional[uint]' = None |
| numberOfHolidaySchedulesSupported: 'typing.Optional[uint]' = None |
| maxPINCodeLength: 'typing.Optional[uint]' = None |
| minPINCodeLength: 'typing.Optional[uint]' = None |
| maxRFIDCodeLength: 'typing.Optional[uint]' = None |
| minRFIDCodeLength: 'typing.Optional[uint]' = None |
| credentialRulesSupport: 'typing.Optional[uint]' = None |
| numberOfCredentialsSupportedPerUser: 'typing.Optional[uint]' = None |
| language: 'typing.Optional[str]' = None |
| LEDSettings: 'typing.Optional[uint]' = None |
| autoRelockTime: 'uint' = None |
| soundVolume: 'typing.Optional[uint]' = None |
| operatingMode: 'DoorLock.Enums.OperatingModeEnum' = None |
| supportedOperatingModes: 'uint' = None |
| defaultConfigurationRegister: 'typing.Optional[uint]' = None |
| enableLocalProgramming: 'typing.Optional[bool]' = None |
| enableOneTouchLocking: 'typing.Optional[bool]' = None |
| enableInsideStatusLED: 'typing.Optional[bool]' = None |
| enablePrivacyModeButton: 'typing.Optional[bool]' = None |
| localProgrammingFeatures: 'typing.Optional[uint]' = None |
| wrongCodeEntryLimit: 'typing.Optional[uint]' = None |
| userCodeTemporaryDisableTime: 'typing.Optional[uint]' = None |
| sendPINOverTheAir: 'typing.Optional[bool]' = None |
| requirePINforRemoteOperation: 'typing.Optional[bool]' = None |
| expiringUserTimeout: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class AlarmCodeEnum(MatterIntEnum): |
| kLockJammed = 0x00 |
| kLockFactoryReset = 0x01 |
| kLockRadioPowerCycled = 0x03 |
| kWrongCodeEntryLimit = 0x04 |
| kFrontEsceutcheonRemoved = 0x05 |
| kDoorForcedOpen = 0x06 |
| kDoorAjar = 0x07 |
| kForcedUser = 0x08 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class CredentialRuleEnum(MatterIntEnum): |
| kSingle = 0x00 |
| kDual = 0x01 |
| kTri = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class CredentialTypeEnum(MatterIntEnum): |
| kProgrammingPIN = 0x00 |
| kPin = 0x01 |
| kRfid = 0x02 |
| kFingerprint = 0x03 |
| kFingerVein = 0x04 |
| kFace = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 6, |
| |
| class DataOperationTypeEnum(MatterIntEnum): |
| kAdd = 0x00 |
| kClear = 0x01 |
| kModify = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class DlLockState(MatterIntEnum): |
| kNotFullyLocked = 0x00 |
| kLocked = 0x01 |
| kUnlocked = 0x02 |
| kUnlatched = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class DlLockType(MatterIntEnum): |
| kDeadBolt = 0x00 |
| kMagnetic = 0x01 |
| kOther = 0x02 |
| kMortise = 0x03 |
| kRim = 0x04 |
| kLatchBolt = 0x05 |
| kCylindricalLock = 0x06 |
| kTubularLock = 0x07 |
| kInterconnectedLock = 0x08 |
| kDeadLatch = 0x09 |
| kDoorFurniture = 0x0A |
| kEurocylinder = 0x0B |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 12, |
| |
| class DlStatus(MatterIntEnum): |
| kSuccess = 0x00 |
| kFailure = 0x01 |
| kDuplicate = 0x02 |
| kOccupied = 0x03 |
| kInvalidField = 0x85 |
| kResourceExhausted = 0x89 |
| kNotFound = 0x8B |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class DoorLockOperationEventCode(MatterIntEnum): |
| kUnknownOrMfgSpecific = 0x00 |
| kLock = 0x01 |
| kUnlock = 0x02 |
| kLockInvalidPinOrId = 0x03 |
| kLockInvalidSchedule = 0x04 |
| kUnlockInvalidPinOrId = 0x05 |
| kUnlockInvalidSchedule = 0x06 |
| kOneTouchLock = 0x07 |
| kKeyLock = 0x08 |
| kKeyUnlock = 0x09 |
| kAutoLock = 0x0A |
| kScheduleLock = 0x0B |
| kScheduleUnlock = 0x0C |
| kManualLock = 0x0D |
| kManualUnlock = 0x0E |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 15, |
| |
| class DoorLockProgrammingEventCode(MatterIntEnum): |
| kUnknownOrMfgSpecific = 0x00 |
| kMasterCodeChanged = 0x01 |
| kPinAdded = 0x02 |
| kPinDeleted = 0x03 |
| kPinChanged = 0x04 |
| kIdAdded = 0x05 |
| kIdDeleted = 0x06 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 7, |
| |
| class DoorLockSetPinOrIdStatus(MatterIntEnum): |
| kSuccess = 0x00 |
| kGeneralFailure = 0x01 |
| kMemoryFull = 0x02 |
| kDuplicateCodeError = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class DoorLockUserStatus(MatterIntEnum): |
| kAvailable = 0x00 |
| kOccupiedEnabled = 0x01 |
| kOccupiedDisabled = 0x03 |
| kNotSupported = 0xFF |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class DoorLockUserType(MatterIntEnum): |
| kUnrestricted = 0x00 |
| kYearDayScheduleUser = 0x01 |
| kWeekDayScheduleUser = 0x02 |
| kMasterUser = 0x03 |
| kNonAccessUser = 0x04 |
| kNotSupported = 0xFF |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 5, |
| |
| class DoorStateEnum(MatterIntEnum): |
| kDoorOpen = 0x00 |
| kDoorClosed = 0x01 |
| kDoorJammed = 0x02 |
| kDoorForcedOpen = 0x03 |
| kDoorUnspecifiedError = 0x04 |
| kDoorAjar = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 6, |
| |
| class LockDataTypeEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kProgrammingCode = 0x01 |
| kUserIndex = 0x02 |
| kWeekDaySchedule = 0x03 |
| kYearDaySchedule = 0x04 |
| kHolidaySchedule = 0x05 |
| kPin = 0x06 |
| kRfid = 0x07 |
| kFingerprint = 0x08 |
| kFingerVein = 0x09 |
| kFace = 0x0A |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 11, |
| |
| class LockOperationTypeEnum(MatterIntEnum): |
| kLock = 0x00 |
| kUnlock = 0x01 |
| kNonAccessUserEvent = 0x02 |
| kForcedUserEvent = 0x03 |
| kUnlatch = 0x04 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 5, |
| |
| class OperatingModeEnum(MatterIntEnum): |
| kNormal = 0x00 |
| kVacation = 0x01 |
| kPrivacy = 0x02 |
| kNoRemoteLockUnlock = 0x03 |
| kPassage = 0x04 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 5, |
| |
| class OperationErrorEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kInvalidCredential = 0x01 |
| kDisabledUserDenied = 0x02 |
| kRestricted = 0x03 |
| kInsufficientBattery = 0x04 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 5, |
| |
| class OperationSourceEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kManual = 0x01 |
| kProprietaryRemote = 0x02 |
| kKeypad = 0x03 |
| kAuto = 0x04 |
| kButton = 0x05 |
| kSchedule = 0x06 |
| kRemote = 0x07 |
| kRfid = 0x08 |
| kBiometric = 0x09 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 10, |
| |
| class UserStatusEnum(MatterIntEnum): |
| kAvailable = 0x00 |
| kOccupiedEnabled = 0x01 |
| kOccupiedDisabled = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class UserTypeEnum(MatterIntEnum): |
| kUnrestrictedUser = 0x00 |
| kYearDayScheduleUser = 0x01 |
| kWeekDayScheduleUser = 0x02 |
| kProgrammingUser = 0x03 |
| kNonAccessUser = 0x04 |
| kForcedUser = 0x05 |
| kDisposableUser = 0x06 |
| kExpiringUser = 0x07 |
| kScheduleRestrictedUser = 0x08 |
| kRemoteOnlyUser = 0x09 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 10, |
| |
| class Bitmaps: |
| class DaysMaskMap(IntFlag): |
| kSunday = 0x1 |
| kMonday = 0x2 |
| kTuesday = 0x4 |
| kWednesday = 0x8 |
| kThursday = 0x10 |
| kFriday = 0x20 |
| kSaturday = 0x40 |
| |
| class DlCredentialRuleMask(IntFlag): |
| kSingle = 0x1 |
| kDual = 0x2 |
| kTri = 0x4 |
| |
| class DlCredentialRulesSupport(IntFlag): |
| kSingle = 0x1 |
| kDual = 0x2 |
| kTri = 0x4 |
| |
| class DlDefaultConfigurationRegister(IntFlag): |
| kEnableLocalProgrammingEnabled = 0x1 |
| kKeypadInterfaceDefaultAccessEnabled = 0x2 |
| kRemoteInterfaceDefaultAccessIsEnabled = 0x4 |
| kSoundEnabled = 0x20 |
| kAutoRelockTimeSet = 0x40 |
| kLEDSettingsSet = 0x80 |
| |
| class DlKeypadOperationEventMask(IntFlag): |
| kUnknown = 0x1 |
| kLock = 0x2 |
| kUnlock = 0x4 |
| kLockInvalidPIN = 0x8 |
| kLockInvalidSchedule = 0x10 |
| kUnlockInvalidCode = 0x20 |
| kUnlockInvalidSchedule = 0x40 |
| kNonAccessUserOpEvent = 0x80 |
| |
| class DlKeypadProgrammingEventMask(IntFlag): |
| kUnknown = 0x1 |
| kProgrammingPINChanged = 0x2 |
| kPINAdded = 0x4 |
| kPINCleared = 0x8 |
| kPINChanged = 0x10 |
| |
| class DlLocalProgrammingFeatures(IntFlag): |
| kAddUsersCredentialsSchedulesLocally = 0x1 |
| kModifyUsersCredentialsSchedulesLocally = 0x2 |
| kClearUsersCredentialsSchedulesLocally = 0x4 |
| kAdjustLockSettingsLocally = 0x8 |
| |
| class DlManualOperationEventMask(IntFlag): |
| kUnknown = 0x1 |
| kThumbturnLock = 0x2 |
| kThumbturnUnlock = 0x4 |
| kOneTouchLock = 0x8 |
| kKeyLock = 0x10 |
| kKeyUnlock = 0x20 |
| kAutoLock = 0x40 |
| kScheduleLock = 0x80 |
| kScheduleUnlock = 0x100 |
| kManualLock = 0x200 |
| kManualUnlock = 0x400 |
| |
| class DlRFIDOperationEventMask(IntFlag): |
| kUnknown = 0x1 |
| kLock = 0x2 |
| kUnlock = 0x4 |
| kLockInvalidRFID = 0x8 |
| kLockInvalidSchedule = 0x10 |
| kUnlockInvalidRFID = 0x20 |
| kUnlockInvalidSchedule = 0x40 |
| |
| class DlRFIDProgrammingEventMask(IntFlag): |
| kUnknown = 0x1 |
| kRFIDCodeAdded = 0x20 |
| kRFIDCodeCleared = 0x40 |
| |
| class DlRemoteOperationEventMask(IntFlag): |
| kUnknown = 0x1 |
| kLock = 0x2 |
| kUnlock = 0x4 |
| kLockInvalidCode = 0x8 |
| kLockInvalidSchedule = 0x10 |
| kUnlockInvalidCode = 0x20 |
| kUnlockInvalidSchedule = 0x40 |
| |
| class DlRemoteProgrammingEventMask(IntFlag): |
| kUnknown = 0x1 |
| kProgrammingPINChanged = 0x2 |
| kPINAdded = 0x4 |
| kPINCleared = 0x8 |
| kPINChanged = 0x10 |
| kRFIDCodeAdded = 0x20 |
| kRFIDCodeCleared = 0x40 |
| |
| class DlSupportedOperatingModes(IntFlag): |
| kNormal = 0x1 |
| kVacation = 0x2 |
| kPrivacy = 0x4 |
| kNoRemoteLockUnlock = 0x8 |
| kPassage = 0x10 |
| |
| class DoorLockDayOfWeek(IntFlag): |
| kSunday = 0x1 |
| kMonday = 0x2 |
| kTuesday = 0x4 |
| kWednesday = 0x8 |
| kThursday = 0x10 |
| kFriday = 0x20 |
| kSaturday = 0x40 |
| |
| class Feature(IntFlag): |
| kPinCredential = 0x1 |
| kRfidCredential = 0x2 |
| kFingerCredentials = 0x4 |
| kLogging = 0x8 |
| kWeekDayAccessSchedules = 0x10 |
| kDoorPositionSensor = 0x20 |
| kFaceCredentials = 0x40 |
| kCredentialsOverTheAirAccess = 0x80 |
| kUser = 0x100 |
| kNotification = 0x200 |
| kYearDayAccessSchedules = 0x400 |
| kHolidaySchedules = 0x800 |
| kUnbolt = 0x1000 |
| |
| class Structs: |
| @dataclass |
| class CredentialStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="credentialType", Tag=0, Type=DoorLock.Enums.CredentialTypeEnum), |
| ClusterObjectFieldDescriptor(Label="credentialIndex", Tag=1, Type=uint), |
| ]) |
| |
| credentialType: 'DoorLock.Enums.CredentialTypeEnum' = 0 |
| credentialIndex: 'uint' = 0 |
| |
| class Commands: |
| @dataclass |
| class LockDoor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="PINCode", Tag=0, Type=typing.Optional[bytes]), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| PINCode: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class UnlockDoor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="PINCode", Tag=0, Type=typing.Optional[bytes]), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| PINCode: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class UnlockWithTimeout(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="timeout", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="PINCode", Tag=1, Type=typing.Optional[bytes]), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| timeout: 'uint' = 0 |
| PINCode: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class SetWeekDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000000B |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="daysMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startHour", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startMinute", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endHour", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endMinute", Tag=6, Type=uint), |
| ]) |
| |
| weekDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| daysMask: 'uint' = 0 |
| startHour: 'uint' = 0 |
| startMinute: 'uint' = 0 |
| endHour: 'uint' = 0 |
| endMinute: 'uint' = 0 |
| |
| @dataclass |
| class GetWeekDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000000C |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'GetWeekDayScheduleResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ]) |
| |
| weekDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class GetWeekDayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000000C |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=DoorLock.Enums.DlStatus), |
| ClusterObjectFieldDescriptor(Label="daysMask", Tag=3, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="startHour", Tag=4, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="startMinute", Tag=5, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="endHour", Tag=6, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="endMinute", Tag=7, Type=typing.Optional[uint]), |
| ]) |
| |
| weekDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| status: 'DoorLock.Enums.DlStatus' = 0 |
| daysMask: 'typing.Optional[uint]' = None |
| startHour: 'typing.Optional[uint]' = None |
| startMinute: 'typing.Optional[uint]' = None |
| endHour: 'typing.Optional[uint]' = None |
| endMinute: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClearWeekDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000000D |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ]) |
| |
| weekDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class SetYearDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000000E |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=uint), |
| ]) |
| |
| yearDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| localStartTime: 'uint' = 0 |
| localEndTime: 'uint' = 0 |
| |
| @dataclass |
| class GetYearDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000000F |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'GetYearDayScheduleResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ]) |
| |
| yearDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class GetYearDayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000000F |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=DoorLock.Enums.DlStatus), |
| ClusterObjectFieldDescriptor(Label="localStartTime", Tag=3, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="localEndTime", Tag=4, Type=typing.Optional[uint]), |
| ]) |
| |
| yearDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| status: 'DoorLock.Enums.DlStatus' = 0 |
| localStartTime: 'typing.Optional[uint]' = None |
| localEndTime: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClearYearDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000010 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ]) |
| |
| yearDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class SetHolidaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000011 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="localStartTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="localEndTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="operatingMode", Tag=3, Type=DoorLock.Enums.OperatingModeEnum), |
| ]) |
| |
| holidayIndex: 'uint' = 0 |
| localStartTime: 'uint' = 0 |
| localEndTime: 'uint' = 0 |
| operatingMode: 'DoorLock.Enums.OperatingModeEnum' = 0 |
| |
| @dataclass |
| class GetHolidaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000012 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'GetHolidayScheduleResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), |
| ]) |
| |
| holidayIndex: 'uint' = 0 |
| |
| @dataclass |
| class GetHolidayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000012 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=DoorLock.Enums.DlStatus), |
| ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="operatingMode", Tag=4, Type=typing.Optional[DoorLock.Enums.OperatingModeEnum]), |
| ]) |
| |
| holidayIndex: 'uint' = 0 |
| status: 'DoorLock.Enums.DlStatus' = 0 |
| localStartTime: 'typing.Optional[uint]' = None |
| localEndTime: 'typing.Optional[uint]' = None |
| operatingMode: 'typing.Optional[DoorLock.Enums.OperatingModeEnum]' = None |
| |
| @dataclass |
| class ClearHolidaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000013 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), |
| ]) |
| |
| holidayIndex: 'uint' = 0 |
| |
| @dataclass |
| class SetUser(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000001A |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DataOperationTypeEnum), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userName", Tag=2, Type=typing.Union[Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="userUniqueID", Tag=3, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="userStatus", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]), |
| ClusterObjectFieldDescriptor(Label="credentialRule", Tag=6, Type=typing.Union[Nullable, DoorLock.Enums.CredentialRuleEnum]), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| operationType: 'DoorLock.Enums.DataOperationTypeEnum' = 0 |
| userIndex: 'uint' = 0 |
| userName: 'typing.Union[Nullable, str]' = NullValue |
| userUniqueID: 'typing.Union[Nullable, uint]' = NullValue |
| userStatus: 'typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]' = NullValue |
| userType: 'typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]' = NullValue |
| credentialRule: 'typing.Union[Nullable, DoorLock.Enums.CredentialRuleEnum]' = NullValue |
| |
| @dataclass |
| class GetUser(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000001B |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'GetUserResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint), |
| ]) |
| |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class GetUserResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000001C |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userName", Tag=1, Type=typing.Union[Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="userUniqueID", Tag=2, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="userStatus", Tag=3, Type=typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]), |
| ClusterObjectFieldDescriptor(Label="credentialRule", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.CredentialRuleEnum]), |
| ClusterObjectFieldDescriptor(Label="credentials", Tag=6, Type=typing.Union[Nullable, typing.List[DoorLock.Structs.CredentialStruct]]), |
| ClusterObjectFieldDescriptor(Label="creatorFabricIndex", Tag=7, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="lastModifiedFabricIndex", Tag=8, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nextUserIndex", Tag=9, Type=typing.Union[Nullable, uint]), |
| ]) |
| |
| userIndex: 'uint' = 0 |
| userName: 'typing.Union[Nullable, str]' = NullValue |
| userUniqueID: 'typing.Union[Nullable, uint]' = NullValue |
| userStatus: 'typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]' = NullValue |
| userType: 'typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]' = NullValue |
| credentialRule: 'typing.Union[Nullable, DoorLock.Enums.CredentialRuleEnum]' = NullValue |
| credentials: 'typing.Union[Nullable, typing.List[DoorLock.Structs.CredentialStruct]]' = NullValue |
| creatorFabricIndex: 'typing.Union[Nullable, uint]' = NullValue |
| lastModifiedFabricIndex: 'typing.Union[Nullable, uint]' = NullValue |
| nextUserIndex: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class ClearUser(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000001D |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class SetCredential(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000022 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'SetCredentialResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DataOperationTypeEnum), |
| ClusterObjectFieldDescriptor(Label="credential", Tag=1, Type=DoorLock.Structs.CredentialStruct), |
| ClusterObjectFieldDescriptor(Label="credentialData", Tag=2, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="userStatus", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| operationType: 'DoorLock.Enums.DataOperationTypeEnum' = 0 |
| credential: 'DoorLock.Structs.CredentialStruct' = field(default_factory=lambda: DoorLock.Structs.CredentialStruct()) |
| credentialData: 'bytes' = b"" |
| userIndex: 'typing.Union[Nullable, uint]' = NullValue |
| userStatus: 'typing.Union[Nullable, DoorLock.Enums.UserStatusEnum]' = NullValue |
| userType: 'typing.Union[Nullable, DoorLock.Enums.UserTypeEnum]' = NullValue |
| |
| @dataclass |
| class SetCredentialResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000023 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DoorLock.Enums.DlStatus), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nextCredentialIndex", Tag=2, Type=typing.Union[Nullable, uint]), |
| ]) |
| |
| status: 'DoorLock.Enums.DlStatus' = 0 |
| userIndex: 'typing.Union[Nullable, uint]' = NullValue |
| nextCredentialIndex: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class GetCredentialStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000024 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'GetCredentialStatusResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=DoorLock.Structs.CredentialStruct), |
| ]) |
| |
| credential: 'DoorLock.Structs.CredentialStruct' = field(default_factory=lambda: DoorLock.Structs.CredentialStruct()) |
| |
| @dataclass |
| class GetCredentialStatusResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000025 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="credentialExists", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="creatorFabricIndex", Tag=2, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="lastModifiedFabricIndex", Tag=3, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nextCredentialIndex", Tag=4, Type=typing.Union[Nullable, uint]), |
| ]) |
| |
| credentialExists: 'bool' = False |
| userIndex: 'typing.Union[Nullable, uint]' = NullValue |
| creatorFabricIndex: 'typing.Union[Nullable, uint]' = NullValue |
| lastModifiedFabricIndex: 'typing.Union[Nullable, uint]' = NullValue |
| nextCredentialIndex: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class ClearCredential(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000026 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=typing.Union[Nullable, DoorLock.Structs.CredentialStruct]), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| credential: 'typing.Union[Nullable, DoorLock.Structs.CredentialStruct]' = NullValue |
| |
| @dataclass |
| class UnboltDoor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x00000027 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="PINCode", Tag=0, Type=typing.Optional[bytes]), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| PINCode: 'typing.Optional[bytes]' = None |
| |
| class Attributes: |
| @dataclass |
| class LockState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, DoorLock.Enums.DlLockState]) |
| |
| value: 'typing.Union[Nullable, DoorLock.Enums.DlLockState]' = NullValue |
| |
| @dataclass |
| class LockType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=DoorLock.Enums.DlLockType) |
| |
| value: 'DoorLock.Enums.DlLockType' = 0 |
| |
| @dataclass |
| class ActuatorEnabled(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class DoorState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, DoorLock.Enums.DoorStateEnum]) |
| |
| value: 'typing.Union[None, Nullable, DoorLock.Enums.DoorStateEnum]' = None |
| |
| @dataclass |
| class DoorOpenEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DoorClosedEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OpenPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfTotalUsersSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfPINUsersSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfRFIDUsersSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfWeekDaySchedulesSupportedPerUser(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfYearDaySchedulesSupportedPerUser(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfHolidaySchedulesSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MaxPINCodeLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MinPINCodeLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MaxRFIDCodeLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MinRFIDCodeLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CredentialRulesSupport(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfCredentialsSupportedPerUser(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Language(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class LEDSettings(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AutoRelockTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SoundVolume(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OperatingMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=DoorLock.Enums.OperatingModeEnum) |
| |
| value: 'DoorLock.Enums.OperatingModeEnum' = 0 |
| |
| @dataclass |
| class SupportedOperatingModes(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000026 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class DefaultConfigurationRegister(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000027 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EnableLocalProgramming(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000028 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class EnableOneTouchLocking(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class EnableInsideStatusLED(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class EnablePrivacyModeButton(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class LocalProgrammingFeatures(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WrongCodeEntryLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class UserCodeTemporaryDisableTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SendPINOverTheAir(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class RequirePINforRemoteOperation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class ExpiringUserTimeout(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000035 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class DoorLockAlarm(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="alarmCode", Tag=0, Type=DoorLock.Enums.AlarmCodeEnum), |
| ]) |
| |
| alarmCode: 'DoorLock.Enums.AlarmCodeEnum' = 0 |
| |
| @dataclass |
| class DoorStateChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="doorState", Tag=0, Type=DoorLock.Enums.DoorStateEnum), |
| ]) |
| |
| doorState: 'DoorLock.Enums.DoorStateEnum' = 0 |
| |
| @dataclass |
| class LockOperation(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.LockOperationTypeEnum), |
| ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.OperationSourceEnum), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=2, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=3, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="sourceNode", Tag=4, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="credentials", Tag=5, Type=typing.Union[None, Nullable, typing.List[DoorLock.Structs.CredentialStruct]]), |
| ]) |
| |
| lockOperationType: 'DoorLock.Enums.LockOperationTypeEnum' = 0 |
| operationSource: 'DoorLock.Enums.OperationSourceEnum' = 0 |
| userIndex: 'typing.Union[Nullable, uint]' = NullValue |
| fabricIndex: 'typing.Union[Nullable, uint]' = NullValue |
| sourceNode: 'typing.Union[Nullable, uint]' = NullValue |
| credentials: 'typing.Union[None, Nullable, typing.List[DoorLock.Structs.CredentialStruct]]' = None |
| |
| @dataclass |
| class LockOperationError(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.LockOperationTypeEnum), |
| ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.OperationSourceEnum), |
| ClusterObjectFieldDescriptor(Label="operationError", Tag=2, Type=DoorLock.Enums.OperationErrorEnum), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=4, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="sourceNode", Tag=5, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="credentials", Tag=6, Type=typing.Union[None, Nullable, typing.List[DoorLock.Structs.CredentialStruct]]), |
| ]) |
| |
| lockOperationType: 'DoorLock.Enums.LockOperationTypeEnum' = 0 |
| operationSource: 'DoorLock.Enums.OperationSourceEnum' = 0 |
| operationError: 'DoorLock.Enums.OperationErrorEnum' = 0 |
| userIndex: 'typing.Union[Nullable, uint]' = NullValue |
| fabricIndex: 'typing.Union[Nullable, uint]' = NullValue |
| sourceNode: 'typing.Union[Nullable, uint]' = NullValue |
| credentials: 'typing.Union[None, Nullable, typing.List[DoorLock.Structs.CredentialStruct]]' = None |
| |
| @dataclass |
| class LockUserChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="lockDataType", Tag=0, Type=DoorLock.Enums.LockDataTypeEnum), |
| ClusterObjectFieldDescriptor(Label="dataOperationType", Tag=1, Type=DoorLock.Enums.DataOperationTypeEnum), |
| ClusterObjectFieldDescriptor(Label="operationSource", Tag=2, Type=DoorLock.Enums.OperationSourceEnum), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=4, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="sourceNode", Tag=5, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="dataIndex", Tag=6, Type=typing.Union[Nullable, uint]), |
| ]) |
| |
| lockDataType: 'DoorLock.Enums.LockDataTypeEnum' = 0 |
| dataOperationType: 'DoorLock.Enums.DataOperationTypeEnum' = 0 |
| operationSource: 'DoorLock.Enums.OperationSourceEnum' = 0 |
| userIndex: 'typing.Union[Nullable, uint]' = NullValue |
| fabricIndex: 'typing.Union[Nullable, uint]' = NullValue |
| sourceNode: 'typing.Union[Nullable, uint]' = NullValue |
| dataIndex: 'typing.Union[Nullable, uint]' = NullValue |
| |
| |
| @dataclass |
| class WindowCovering(Cluster): |
| id: typing.ClassVar[int] = 0x0102 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="type", Tag=0x00000000, Type=WindowCovering.Enums.Type), |
| ClusterObjectFieldDescriptor(Label="physicalClosedLimitLift", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="physicalClosedLimitTilt", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentPositionLift", Tag=0x00000003, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="currentPositionTilt", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfActuationsLift", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfActuationsTilt", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="configStatus", Tag=0x00000007, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentPositionLiftPercentage", Tag=0x00000008, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="currentPositionTiltPercentage", Tag=0x00000009, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="operationalStatus", Tag=0x0000000A, Type=uint), |
| ClusterObjectFieldDescriptor(Label="targetPositionLiftPercent100ths", Tag=0x0000000B, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="targetPositionTiltPercent100ths", Tag=0x0000000C, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="endProductType", Tag=0x0000000D, Type=WindowCovering.Enums.EndProductType), |
| ClusterObjectFieldDescriptor(Label="currentPositionLiftPercent100ths", Tag=0x0000000E, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="currentPositionTiltPercent100ths", Tag=0x0000000F, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="installedOpenLimitLift", Tag=0x00000010, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="installedClosedLimitLift", Tag=0x00000011, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="installedOpenLimitTilt", Tag=0x00000012, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="installedClosedLimitTilt", Tag=0x00000013, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="mode", Tag=0x00000017, Type=uint), |
| ClusterObjectFieldDescriptor(Label="safetyStatus", Tag=0x0000001A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| type: 'WindowCovering.Enums.Type' = None |
| physicalClosedLimitLift: 'typing.Optional[uint]' = None |
| physicalClosedLimitTilt: 'typing.Optional[uint]' = None |
| currentPositionLift: 'typing.Union[None, Nullable, uint]' = None |
| currentPositionTilt: 'typing.Union[None, Nullable, uint]' = None |
| numberOfActuationsLift: 'typing.Optional[uint]' = None |
| numberOfActuationsTilt: 'typing.Optional[uint]' = None |
| configStatus: 'uint' = None |
| currentPositionLiftPercentage: 'typing.Union[None, Nullable, uint]' = None |
| currentPositionTiltPercentage: 'typing.Union[None, Nullable, uint]' = None |
| operationalStatus: 'uint' = None |
| targetPositionLiftPercent100ths: 'typing.Union[None, Nullable, uint]' = None |
| targetPositionTiltPercent100ths: 'typing.Union[None, Nullable, uint]' = None |
| endProductType: 'WindowCovering.Enums.EndProductType' = None |
| currentPositionLiftPercent100ths: 'typing.Union[None, Nullable, uint]' = None |
| currentPositionTiltPercent100ths: 'typing.Union[None, Nullable, uint]' = None |
| installedOpenLimitLift: 'typing.Optional[uint]' = None |
| installedClosedLimitLift: 'typing.Optional[uint]' = None |
| installedOpenLimitTilt: 'typing.Optional[uint]' = None |
| installedClosedLimitTilt: 'typing.Optional[uint]' = None |
| mode: 'uint' = None |
| safetyStatus: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class EndProductType(MatterIntEnum): |
| kRollerShade = 0x00 |
| kRomanShade = 0x01 |
| kBalloonShade = 0x02 |
| kWovenWood = 0x03 |
| kPleatedShade = 0x04 |
| kCellularShade = 0x05 |
| kLayeredShade = 0x06 |
| kLayeredShade2D = 0x07 |
| kSheerShade = 0x08 |
| kTiltOnlyInteriorBlind = 0x09 |
| kInteriorBlind = 0x0A |
| kVerticalBlindStripCurtain = 0x0B |
| kInteriorVenetianBlind = 0x0C |
| kExteriorVenetianBlind = 0x0D |
| kLateralLeftCurtain = 0x0E |
| kLateralRightCurtain = 0x0F |
| kCentralCurtain = 0x10 |
| kRollerShutter = 0x11 |
| kExteriorVerticalScreen = 0x12 |
| kAwningTerracePatio = 0x13 |
| kAwningVerticalScreen = 0x14 |
| kTiltOnlyPergola = 0x15 |
| kSwingingShutter = 0x16 |
| kSlidingShutter = 0x17 |
| kUnknown = 0xFF |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 24, |
| |
| class Type(MatterIntEnum): |
| kRollerShade = 0x00 |
| kRollerShade2Motor = 0x01 |
| kRollerShadeExterior = 0x02 |
| kRollerShadeExterior2Motor = 0x03 |
| kDrapery = 0x04 |
| kAwning = 0x05 |
| kShutter = 0x06 |
| kTiltBlindTiltOnly = 0x07 |
| kTiltBlindLiftAndTilt = 0x08 |
| kProjectorScreen = 0x09 |
| kUnknown = 0xFF |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 10, |
| |
| class Bitmaps: |
| class ConfigStatus(IntFlag): |
| kOperational = 0x1 |
| kOnlineReserved = 0x2 |
| kLiftMovementReversed = 0x4 |
| kLiftPositionAware = 0x8 |
| kTiltPositionAware = 0x10 |
| kLiftEncoderControlled = 0x20 |
| kTiltEncoderControlled = 0x40 |
| |
| class Feature(IntFlag): |
| kLift = 0x1 |
| kTilt = 0x2 |
| kPositionAwareLift = 0x4 |
| kAbsolutePosition = 0x8 |
| kPositionAwareTilt = 0x10 |
| |
| class Mode(IntFlag): |
| kMotorDirectionReversed = 0x1 |
| kCalibrationMode = 0x2 |
| kMaintenanceMode = 0x4 |
| kLedFeedback = 0x8 |
| |
| class OperationalStatus(IntFlag): |
| kGlobal = 0x3 |
| kLift = 0xC |
| kTilt = 0x30 |
| |
| class SafetyStatus(IntFlag): |
| kRemoteLockout = 0x1 |
| kTamperDetection = 0x2 |
| kFailedCommunication = 0x4 |
| kPositionFailure = 0x8 |
| kThermalProtection = 0x10 |
| kObstacleDetected = 0x20 |
| kPower = 0x40 |
| kStopInput = 0x80 |
| kMotorJammed = 0x100 |
| kHardwareFailure = 0x200 |
| kManualOperation = 0x400 |
| kProtection = 0x800 |
| |
| class Commands: |
| @dataclass |
| class UpOrOpen(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class DownOrClose(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class StopMotion(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class GoToLiftValue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="liftValue", Tag=0, Type=uint), |
| ]) |
| |
| liftValue: 'uint' = 0 |
| |
| @dataclass |
| class GoToLiftPercentage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="liftPercent100thsValue", Tag=0, Type=uint), |
| ]) |
| |
| liftPercent100thsValue: 'uint' = 0 |
| |
| @dataclass |
| class GoToTiltValue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x00000007 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="tiltValue", Tag=0, Type=uint), |
| ]) |
| |
| tiltValue: 'uint' = 0 |
| |
| @dataclass |
| class GoToTiltPercentage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x00000008 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="tiltPercent100thsValue", Tag=0, Type=uint), |
| ]) |
| |
| tiltPercent100thsValue: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class Type(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=WindowCovering.Enums.Type) |
| |
| value: 'WindowCovering.Enums.Type' = 0 |
| |
| @dataclass |
| class PhysicalClosedLimitLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PhysicalClosedLimitTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentPositionLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class CurrentPositionTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class NumberOfActuationsLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfActuationsTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ConfigStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentPositionLiftPercentage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class CurrentPositionTiltPercentage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class OperationalStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TargetPositionLiftPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class TargetPositionTiltPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class EndProductType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=WindowCovering.Enums.EndProductType) |
| |
| value: 'WindowCovering.Enums.EndProductType' = 0 |
| |
| @dataclass |
| class CurrentPositionLiftPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class CurrentPositionTiltPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class InstalledOpenLimitLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class InstalledClosedLimitLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class InstalledOpenLimitTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class InstalledClosedLimitTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Mode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SafetyStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class BarrierControl(Cluster): |
| id: typing.ClassVar[int] = 0x0103 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="barrierMovingState", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="barrierSafetyStatus", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="barrierCapabilities", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="barrierOpenEvents", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierCloseEvents", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierCommandOpenEvents", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierCommandCloseEvents", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierOpenPeriod", Tag=0x00000008, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierClosePeriod", Tag=0x00000009, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierPosition", Tag=0x0000000A, Type=uint), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| barrierMovingState: 'uint' = None |
| barrierSafetyStatus: 'uint' = None |
| barrierCapabilities: 'uint' = None |
| barrierOpenEvents: 'typing.Optional[uint]' = None |
| barrierCloseEvents: 'typing.Optional[uint]' = None |
| barrierCommandOpenEvents: 'typing.Optional[uint]' = None |
| barrierCommandCloseEvents: 'typing.Optional[uint]' = None |
| barrierOpenPeriod: 'typing.Optional[uint]' = None |
| barrierClosePeriod: 'typing.Optional[uint]' = None |
| barrierPosition: 'uint' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class BarrierControlGoToPercent(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0103 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="percentOpen", Tag=0, Type=uint), |
| ]) |
| |
| percentOpen: 'uint' = 0 |
| |
| @dataclass |
| class BarrierControlStop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0103 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class BarrierMovingState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class BarrierSafetyStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class BarrierCapabilities(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class BarrierOpenEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierCloseEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierCommandOpenEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierCommandCloseEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierOpenPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierClosePeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierPosition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class PumpConfigurationAndControl(Cluster): |
| id: typing.ClassVar[int] = 0x0200 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="maxPressure", Tag=0x00000000, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="maxSpeed", Tag=0x00000001, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="maxFlow", Tag=0x00000002, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="minConstPressure", Tag=0x00000003, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="maxConstPressure", Tag=0x00000004, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="minCompPressure", Tag=0x00000005, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="maxCompPressure", Tag=0x00000006, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="minConstSpeed", Tag=0x00000007, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="maxConstSpeed", Tag=0x00000008, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="minConstFlow", Tag=0x00000009, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="maxConstFlow", Tag=0x0000000A, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="minConstTemp", Tag=0x0000000B, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="maxConstTemp", Tag=0x0000000C, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="pumpStatus", Tag=0x00000010, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="effectiveOperationMode", Tag=0x00000011, Type=PumpConfigurationAndControl.Enums.OperationModeEnum), |
| ClusterObjectFieldDescriptor(Label="effectiveControlMode", Tag=0x00000012, Type=PumpConfigurationAndControl.Enums.ControlModeEnum), |
| ClusterObjectFieldDescriptor(Label="capacity", Tag=0x00000013, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="speed", Tag=0x00000014, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="lifetimeRunningHours", Tag=0x00000015, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="power", Tag=0x00000016, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="lifetimeEnergyConsumed", Tag=0x00000017, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="operationMode", Tag=0x00000020, Type=PumpConfigurationAndControl.Enums.OperationModeEnum), |
| ClusterObjectFieldDescriptor(Label="controlMode", Tag=0x00000021, Type=typing.Optional[PumpConfigurationAndControl.Enums.ControlModeEnum]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| maxPressure: 'typing.Union[Nullable, int]' = None |
| maxSpeed: 'typing.Union[Nullable, uint]' = None |
| maxFlow: 'typing.Union[Nullable, uint]' = None |
| minConstPressure: 'typing.Union[None, Nullable, int]' = None |
| maxConstPressure: 'typing.Union[None, Nullable, int]' = None |
| minCompPressure: 'typing.Union[None, Nullable, int]' = None |
| maxCompPressure: 'typing.Union[None, Nullable, int]' = None |
| minConstSpeed: 'typing.Union[None, Nullable, uint]' = None |
| maxConstSpeed: 'typing.Union[None, Nullable, uint]' = None |
| minConstFlow: 'typing.Union[None, Nullable, uint]' = None |
| maxConstFlow: 'typing.Union[None, Nullable, uint]' = None |
| minConstTemp: 'typing.Union[None, Nullable, int]' = None |
| maxConstTemp: 'typing.Union[None, Nullable, int]' = None |
| pumpStatus: 'typing.Optional[uint]' = None |
| effectiveOperationMode: 'PumpConfigurationAndControl.Enums.OperationModeEnum' = None |
| effectiveControlMode: 'PumpConfigurationAndControl.Enums.ControlModeEnum' = None |
| capacity: 'typing.Union[Nullable, int]' = None |
| speed: 'typing.Union[None, Nullable, uint]' = None |
| lifetimeRunningHours: 'typing.Union[None, Nullable, uint]' = None |
| power: 'typing.Union[None, Nullable, uint]' = None |
| lifetimeEnergyConsumed: 'typing.Union[None, Nullable, uint]' = None |
| operationMode: 'PumpConfigurationAndControl.Enums.OperationModeEnum' = None |
| controlMode: 'typing.Optional[PumpConfigurationAndControl.Enums.ControlModeEnum]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ControlModeEnum(MatterIntEnum): |
| kConstantSpeed = 0x00 |
| kConstantPressure = 0x01 |
| kProportionalPressure = 0x02 |
| kConstantFlow = 0x03 |
| kConstantTemperature = 0x05 |
| kAutomatic = 0x07 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class OperationModeEnum(MatterIntEnum): |
| kNormal = 0x00 |
| kMinimum = 0x01 |
| kMaximum = 0x02 |
| kLocal = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kConstantPressure = 0x1 |
| kCompensatedPressure = 0x2 |
| kConstantFlow = 0x4 |
| kConstantSpeed = 0x8 |
| kConstantTemperature = 0x10 |
| kAutomatic = 0x20 |
| kLocalOperation = 0x40 |
| |
| class PumpStatusBitmap(IntFlag): |
| kDeviceFault = 0x1 |
| kSupplyfault = 0x2 |
| kSpeedLow = 0x4 |
| kSpeedHigh = 0x8 |
| kLocalOverride = 0x10 |
| kRunning = 0x20 |
| kRemotePressure = 0x40 |
| kRemoteFlow = 0x80 |
| kRemoteTemperature = 0x100 |
| |
| class Attributes: |
| @dataclass |
| class MaxPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class MaxSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class MaxFlow(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class MinConstPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class MaxConstPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class MinCompPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class MaxCompPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class MinConstSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class MaxConstSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class MinConstFlow(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class MaxConstFlow(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class MinConstTemp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class MaxConstTemp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class PumpStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EffectiveOperationMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=PumpConfigurationAndControl.Enums.OperationModeEnum) |
| |
| value: 'PumpConfigurationAndControl.Enums.OperationModeEnum' = 0 |
| |
| @dataclass |
| class EffectiveControlMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=PumpConfigurationAndControl.Enums.ControlModeEnum) |
| |
| value: 'PumpConfigurationAndControl.Enums.ControlModeEnum' = 0 |
| |
| @dataclass |
| class Capacity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class Speed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class LifetimeRunningHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class Power(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class LifetimeEnergyConsumed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class OperationMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=PumpConfigurationAndControl.Enums.OperationModeEnum) |
| |
| value: 'PumpConfigurationAndControl.Enums.OperationModeEnum' = 0 |
| |
| @dataclass |
| class ControlMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[PumpConfigurationAndControl.Enums.ControlModeEnum]) |
| |
| value: 'typing.Optional[PumpConfigurationAndControl.Enums.ControlModeEnum]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class SupplyVoltageLow(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SupplyVoltageHigh(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class PowerMissingPhase(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SystemPressureLow(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SystemPressureHigh(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class DryRunning(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MotorTemperatureHigh(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class PumpMotorFatalFailure(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ElectronicTemperatureHigh(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class PumpBlocked(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SensorFailure(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ElectronicNonFatalFailure(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ElectronicFatalFailure(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class GeneralFault(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Leakage(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class AirDetection(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class TurbineOperation(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| |
| @dataclass |
| class Thermostat(Cluster): |
| id: typing.ClassVar[int] = 0x0201 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="localTemperature", Tag=0x00000000, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="outdoorTemperature", Tag=0x00000001, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="occupancy", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="absMinHeatSetpointLimit", Tag=0x00000003, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="absMaxHeatSetpointLimit", Tag=0x00000004, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="absMinCoolSetpointLimit", Tag=0x00000005, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="absMaxCoolSetpointLimit", Tag=0x00000006, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="PICoolingDemand", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="PIHeatingDemand", Tag=0x00000008, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="HVACSystemTypeConfiguration", Tag=0x00000009, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="localTemperatureCalibration", Tag=0x00000010, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="occupiedCoolingSetpoint", Tag=0x00000011, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="occupiedHeatingSetpoint", Tag=0x00000012, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="unoccupiedCoolingSetpoint", Tag=0x00000013, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="unoccupiedHeatingSetpoint", Tag=0x00000014, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="minHeatSetpointLimit", Tag=0x00000015, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="maxHeatSetpointLimit", Tag=0x00000016, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="minCoolSetpointLimit", Tag=0x00000017, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="maxCoolSetpointLimit", Tag=0x00000018, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="minSetpointDeadBand", Tag=0x00000019, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="remoteSensing", Tag=0x0000001A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="controlSequenceOfOperation", Tag=0x0000001B, Type=Thermostat.Enums.ThermostatControlSequence), |
| ClusterObjectFieldDescriptor(Label="systemMode", Tag=0x0000001C, Type=uint), |
| ClusterObjectFieldDescriptor(Label="thermostatRunningMode", Tag=0x0000001E, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="startOfWeek", Tag=0x00000020, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfWeeklyTransitions", Tag=0x00000021, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfDailyTransitions", Tag=0x00000022, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="temperatureSetpointHold", Tag=0x00000023, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="temperatureSetpointHoldDuration", Tag=0x00000024, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="thermostatProgrammingOperationMode", Tag=0x00000025, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="thermostatRunningState", Tag=0x00000029, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="setpointChangeSource", Tag=0x00000030, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="setpointChangeAmount", Tag=0x00000031, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="setpointChangeSourceTimestamp", Tag=0x00000032, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="occupiedSetback", Tag=0x00000034, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="occupiedSetbackMin", Tag=0x00000035, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="occupiedSetbackMax", Tag=0x00000036, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="unoccupiedSetback", Tag=0x00000037, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="unoccupiedSetbackMin", Tag=0x00000038, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="unoccupiedSetbackMax", Tag=0x00000039, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="emergencyHeatDelta", Tag=0x0000003A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ACType", Tag=0x00000040, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ACCapacity", Tag=0x00000041, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ACRefrigerantType", Tag=0x00000042, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ACCompressorType", Tag=0x00000043, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ACErrorCode", Tag=0x00000044, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ACLouverPosition", Tag=0x00000045, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ACCoilTemperature", Tag=0x00000046, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="ACCapacityformat", Tag=0x00000047, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| localTemperature: 'typing.Union[Nullable, int]' = None |
| outdoorTemperature: 'typing.Union[None, Nullable, int]' = None |
| occupancy: 'typing.Optional[uint]' = None |
| absMinHeatSetpointLimit: 'typing.Optional[int]' = None |
| absMaxHeatSetpointLimit: 'typing.Optional[int]' = None |
| absMinCoolSetpointLimit: 'typing.Optional[int]' = None |
| absMaxCoolSetpointLimit: 'typing.Optional[int]' = None |
| PICoolingDemand: 'typing.Optional[uint]' = None |
| PIHeatingDemand: 'typing.Optional[uint]' = None |
| HVACSystemTypeConfiguration: 'typing.Optional[uint]' = None |
| localTemperatureCalibration: 'typing.Optional[int]' = None |
| occupiedCoolingSetpoint: 'typing.Optional[int]' = None |
| occupiedHeatingSetpoint: 'typing.Optional[int]' = None |
| unoccupiedCoolingSetpoint: 'typing.Optional[int]' = None |
| unoccupiedHeatingSetpoint: 'typing.Optional[int]' = None |
| minHeatSetpointLimit: 'typing.Optional[int]' = None |
| maxHeatSetpointLimit: 'typing.Optional[int]' = None |
| minCoolSetpointLimit: 'typing.Optional[int]' = None |
| maxCoolSetpointLimit: 'typing.Optional[int]' = None |
| minSetpointDeadBand: 'typing.Optional[int]' = None |
| remoteSensing: 'typing.Optional[uint]' = None |
| controlSequenceOfOperation: 'Thermostat.Enums.ThermostatControlSequence' = None |
| systemMode: 'uint' = None |
| thermostatRunningMode: 'typing.Optional[uint]' = None |
| startOfWeek: 'typing.Optional[uint]' = None |
| numberOfWeeklyTransitions: 'typing.Optional[uint]' = None |
| numberOfDailyTransitions: 'typing.Optional[uint]' = None |
| temperatureSetpointHold: 'typing.Optional[uint]' = None |
| temperatureSetpointHoldDuration: 'typing.Union[None, Nullable, uint]' = None |
| thermostatProgrammingOperationMode: 'typing.Optional[uint]' = None |
| thermostatRunningState: 'typing.Optional[uint]' = None |
| setpointChangeSource: 'typing.Optional[uint]' = None |
| setpointChangeAmount: 'typing.Union[None, Nullable, int]' = None |
| setpointChangeSourceTimestamp: 'typing.Optional[uint]' = None |
| occupiedSetback: 'typing.Union[None, Nullable, uint]' = None |
| occupiedSetbackMin: 'typing.Union[None, Nullable, uint]' = None |
| occupiedSetbackMax: 'typing.Union[None, Nullable, uint]' = None |
| unoccupiedSetback: 'typing.Union[None, Nullable, uint]' = None |
| unoccupiedSetbackMin: 'typing.Union[None, Nullable, uint]' = None |
| unoccupiedSetbackMax: 'typing.Union[None, Nullable, uint]' = None |
| emergencyHeatDelta: 'typing.Optional[uint]' = None |
| ACType: 'typing.Optional[uint]' = None |
| ACCapacity: 'typing.Optional[uint]' = None |
| ACRefrigerantType: 'typing.Optional[uint]' = None |
| ACCompressorType: 'typing.Optional[uint]' = None |
| ACErrorCode: 'typing.Optional[uint]' = None |
| ACLouverPosition: 'typing.Optional[uint]' = None |
| ACCoilTemperature: 'typing.Union[None, Nullable, int]' = None |
| ACCapacityformat: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class SetpointAdjustMode(MatterIntEnum): |
| kHeat = 0x00 |
| kCool = 0x01 |
| kBoth = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class ThermostatControlSequence(MatterIntEnum): |
| kCoolingOnly = 0x00 |
| kCoolingWithReheat = 0x01 |
| kHeatingOnly = 0x02 |
| kHeatingWithReheat = 0x03 |
| kCoolingAndHeating = 0x04 |
| kCoolingAndHeatingWithReheat = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 6, |
| |
| class ThermostatRunningMode(MatterIntEnum): |
| kOff = 0x00 |
| kCool = 0x03 |
| kHeat = 0x04 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 1, |
| |
| class ThermostatSystemMode(MatterIntEnum): |
| kOff = 0x00 |
| kAuto = 0x01 |
| kCool = 0x03 |
| kHeat = 0x04 |
| kEmergencyHeat = 0x05 |
| kPrecooling = 0x06 |
| kFanOnly = 0x07 |
| kDry = 0x08 |
| kSleep = 0x09 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Bitmaps: |
| class DayOfWeek(IntFlag): |
| kSunday = 0x1 |
| kMonday = 0x2 |
| kTuesday = 0x4 |
| kWednesday = 0x8 |
| kThursday = 0x10 |
| kFriday = 0x20 |
| kSaturday = 0x40 |
| kAway = 0x80 |
| |
| class Feature(IntFlag): |
| kHeating = 0x1 |
| kCooling = 0x2 |
| kOccupancy = 0x4 |
| kScheduleConfiguration = 0x8 |
| kSetback = 0x10 |
| kAutoMode = 0x20 |
| kLocalTemperatureNotExposed = 0x40 |
| |
| class ModeForSequence(IntFlag): |
| kHeatSetpointPresent = 0x1 |
| kCoolSetpointPresent = 0x2 |
| |
| class Structs: |
| @dataclass |
| class ThermostatScheduleTransition(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="heatSetpoint", Tag=1, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="coolSetpoint", Tag=2, Type=typing.Union[Nullable, int]), |
| ]) |
| |
| transitionTime: 'uint' = 0 |
| heatSetpoint: 'typing.Union[Nullable, int]' = NullValue |
| coolSetpoint: 'typing.Union[Nullable, int]' = NullValue |
| |
| class Commands: |
| @dataclass |
| class SetpointRaiseLower(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=Thermostat.Enums.SetpointAdjustMode), |
| ClusterObjectFieldDescriptor(Label="amount", Tag=1, Type=int), |
| ]) |
| |
| mode: 'Thermostat.Enums.SetpointAdjustMode' = 0 |
| amount: 'int' = 0 |
| |
| @dataclass |
| class GetWeeklyScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitions", Tag=3, Type=typing.List[Thermostat.Structs.ThermostatScheduleTransition]), |
| ]) |
| |
| numberOfTransitionsForSequence: 'uint' = 0 |
| dayOfWeekForSequence: 'uint' = 0 |
| modeForSequence: 'uint' = 0 |
| transitions: 'typing.List[Thermostat.Structs.ThermostatScheduleTransition]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class SetWeeklySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitions", Tag=3, Type=typing.List[Thermostat.Structs.ThermostatScheduleTransition]), |
| ]) |
| |
| numberOfTransitionsForSequence: 'uint' = 0 |
| dayOfWeekForSequence: 'uint' = 0 |
| modeForSequence: 'uint' = 0 |
| transitions: 'typing.List[Thermostat.Structs.ThermostatScheduleTransition]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetWeeklySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'GetWeeklyScheduleResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="daysToReturn", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="modeToReturn", Tag=1, Type=uint), |
| ]) |
| |
| daysToReturn: 'uint' = 0 |
| modeToReturn: 'uint' = 0 |
| |
| @dataclass |
| class ClearWeeklySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class LocalTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class OutdoorTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class Occupancy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AbsMinHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AbsMaxHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AbsMinCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AbsMaxCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class PICoolingDemand(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PIHeatingDemand(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class HVACSystemTypeConfiguration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LocalTemperatureCalibration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class OccupiedCoolingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class OccupiedHeatingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class UnoccupiedCoolingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class UnoccupiedHeatingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MinHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MaxHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MinCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MaxCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MinSetpointDeadBand(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RemoteSensing(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ControlSequenceOfOperation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=Thermostat.Enums.ThermostatControlSequence) |
| |
| value: 'Thermostat.Enums.ThermostatControlSequence' = 0 |
| |
| @dataclass |
| class SystemMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ThermostatRunningMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class StartOfWeek(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfWeeklyTransitions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfDailyTransitions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TemperatureSetpointHold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TemperatureSetpointHoldDuration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class ThermostatProgrammingOperationMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ThermostatRunningState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SetpointChangeSource(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SetpointChangeAmount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class SetpointChangeSourceTimestamp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OccupiedSetback(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class OccupiedSetbackMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000035 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class OccupiedSetbackMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000036 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class UnoccupiedSetback(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000037 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class UnoccupiedSetbackMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000038 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class UnoccupiedSetbackMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000039 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class EmergencyHeatDelta(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ACType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000040 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ACCapacity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000041 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ACRefrigerantType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000042 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ACCompressorType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000043 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ACErrorCode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000044 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ACLouverPosition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000045 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ACCoilTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000046 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class ACCapacityformat(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000047 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class FanControl(Cluster): |
| id: typing.ClassVar[int] = 0x0202 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="fanMode", Tag=0x00000000, Type=FanControl.Enums.FanModeType), |
| ClusterObjectFieldDescriptor(Label="fanModeSequence", Tag=0x00000001, Type=FanControl.Enums.FanModeSequenceType), |
| ClusterObjectFieldDescriptor(Label="percentSetting", Tag=0x00000002, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="percentCurrent", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="speedMax", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="speedSetting", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="speedCurrent", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rockSupport", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rockSetting", Tag=0x00000008, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="windSupport", Tag=0x00000009, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="windSetting", Tag=0x0000000A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| fanMode: 'FanControl.Enums.FanModeType' = None |
| fanModeSequence: 'FanControl.Enums.FanModeSequenceType' = None |
| percentSetting: 'typing.Union[Nullable, uint]' = None |
| percentCurrent: 'uint' = None |
| speedMax: 'typing.Optional[uint]' = None |
| speedSetting: 'typing.Union[None, Nullable, uint]' = None |
| speedCurrent: 'typing.Optional[uint]' = None |
| rockSupport: 'typing.Optional[uint]' = None |
| rockSetting: 'typing.Optional[uint]' = None |
| windSupport: 'typing.Optional[uint]' = None |
| windSetting: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class FanModeSequenceType(MatterIntEnum): |
| kOffLowMedHigh = 0x00 |
| kOffLowHigh = 0x01 |
| kOffLowMedHighAuto = 0x02 |
| kOffLowHighAuto = 0x03 |
| kOffOnAuto = 0x04 |
| kOffOn = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 6, |
| |
| class FanModeType(MatterIntEnum): |
| kOff = 0x00 |
| kLow = 0x01 |
| kMedium = 0x02 |
| kHigh = 0x03 |
| kOn = 0x04 |
| kAuto = 0x05 |
| kSmart = 0x06 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 7, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kMultiSpeed = 0x1 |
| kAuto = 0x2 |
| kRocking = 0x4 |
| kWind = 0x8 |
| |
| class RockSupportMask(IntFlag): |
| kRockLeftRight = 0x1 |
| kRockUpDown = 0x2 |
| kRockRound = 0x4 |
| |
| class WindSettingMask(IntFlag): |
| kSleepWind = 0x1 |
| kNaturalWind = 0x2 |
| |
| class WindSupportMask(IntFlag): |
| kSleepWind = 0x1 |
| kNaturalWind = 0x2 |
| |
| class Attributes: |
| @dataclass |
| class FanMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=FanControl.Enums.FanModeType) |
| |
| value: 'FanControl.Enums.FanModeType' = 0 |
| |
| @dataclass |
| class FanModeSequence(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=FanControl.Enums.FanModeSequenceType) |
| |
| value: 'FanControl.Enums.FanModeSequenceType' = 0 |
| |
| @dataclass |
| class PercentSetting(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class PercentCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SpeedMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SpeedSetting(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class SpeedCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RockSupport(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RockSetting(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WindSupport(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WindSetting(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ThermostatUserInterfaceConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x0204 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="temperatureDisplayMode", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="keypadLockout", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="scheduleProgrammingVisibility", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| temperatureDisplayMode: 'uint' = None |
| keypadLockout: 'uint' = None |
| scheduleProgrammingVisibility: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class TemperatureDisplayMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class KeypadLockout(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ScheduleProgrammingVisibility(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ColorControl(Cluster): |
| id: typing.ClassVar[int] = 0x0300 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="currentHue", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentSaturation", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="remainingTime", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentX", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentY", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="driftCompensation", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="compensationText", Tag=0x00000006, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="colorTemperatureMireds", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorMode", Tag=0x00000008, Type=uint), |
| ClusterObjectFieldDescriptor(Label="options", Tag=0x0000000F, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numberOfPrimaries", Tag=0x00000010, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="primary1X", Tag=0x00000011, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary1Y", Tag=0x00000012, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary1Intensity", Tag=0x00000013, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="primary2X", Tag=0x00000015, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary2Y", Tag=0x00000016, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary2Intensity", Tag=0x00000017, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="primary3X", Tag=0x00000019, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary3Y", Tag=0x0000001A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary3Intensity", Tag=0x0000001B, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="primary4X", Tag=0x00000020, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary4Y", Tag=0x00000021, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary4Intensity", Tag=0x00000022, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="primary5X", Tag=0x00000024, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary5Y", Tag=0x00000025, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary5Intensity", Tag=0x00000026, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="primary6X", Tag=0x00000028, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary6Y", Tag=0x00000029, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="primary6Intensity", Tag=0x0000002A, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="whitePointX", Tag=0x00000030, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="whitePointY", Tag=0x00000031, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorPointRX", Tag=0x00000032, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorPointRY", Tag=0x00000033, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorPointRIntensity", Tag=0x00000034, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="colorPointGX", Tag=0x00000036, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorPointGY", Tag=0x00000037, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorPointGIntensity", Tag=0x00000038, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="colorPointBX", Tag=0x0000003A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorPointBY", Tag=0x0000003B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorPointBIntensity", Tag=0x0000003C, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="enhancedCurrentHue", Tag=0x00004000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="enhancedColorMode", Tag=0x00004001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="colorLoopActive", Tag=0x00004002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorLoopDirection", Tag=0x00004003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorLoopTime", Tag=0x00004004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorLoopStartEnhancedHue", Tag=0x00004005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorLoopStoredEnhancedHue", Tag=0x00004006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorCapabilities", Tag=0x0000400A, Type=uint), |
| ClusterObjectFieldDescriptor(Label="colorTempPhysicalMinMireds", Tag=0x0000400B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorTempPhysicalMaxMireds", Tag=0x0000400C, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="coupleColorTempToLevelMinMireds", Tag=0x0000400D, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="startUpColorTemperatureMireds", Tag=0x00004010, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| currentHue: 'typing.Optional[uint]' = None |
| currentSaturation: 'typing.Optional[uint]' = None |
| remainingTime: 'typing.Optional[uint]' = None |
| currentX: 'typing.Optional[uint]' = None |
| currentY: 'typing.Optional[uint]' = None |
| driftCompensation: 'typing.Optional[uint]' = None |
| compensationText: 'typing.Optional[str]' = None |
| colorTemperatureMireds: 'typing.Optional[uint]' = None |
| colorMode: 'uint' = None |
| options: 'uint' = None |
| numberOfPrimaries: 'typing.Union[Nullable, uint]' = None |
| primary1X: 'typing.Optional[uint]' = None |
| primary1Y: 'typing.Optional[uint]' = None |
| primary1Intensity: 'typing.Union[None, Nullable, uint]' = None |
| primary2X: 'typing.Optional[uint]' = None |
| primary2Y: 'typing.Optional[uint]' = None |
| primary2Intensity: 'typing.Union[None, Nullable, uint]' = None |
| primary3X: 'typing.Optional[uint]' = None |
| primary3Y: 'typing.Optional[uint]' = None |
| primary3Intensity: 'typing.Union[None, Nullable, uint]' = None |
| primary4X: 'typing.Optional[uint]' = None |
| primary4Y: 'typing.Optional[uint]' = None |
| primary4Intensity: 'typing.Union[None, Nullable, uint]' = None |
| primary5X: 'typing.Optional[uint]' = None |
| primary5Y: 'typing.Optional[uint]' = None |
| primary5Intensity: 'typing.Union[None, Nullable, uint]' = None |
| primary6X: 'typing.Optional[uint]' = None |
| primary6Y: 'typing.Optional[uint]' = None |
| primary6Intensity: 'typing.Union[None, Nullable, uint]' = None |
| whitePointX: 'typing.Optional[uint]' = None |
| whitePointY: 'typing.Optional[uint]' = None |
| colorPointRX: 'typing.Optional[uint]' = None |
| colorPointRY: 'typing.Optional[uint]' = None |
| colorPointRIntensity: 'typing.Union[None, Nullable, uint]' = None |
| colorPointGX: 'typing.Optional[uint]' = None |
| colorPointGY: 'typing.Optional[uint]' = None |
| colorPointGIntensity: 'typing.Union[None, Nullable, uint]' = None |
| colorPointBX: 'typing.Optional[uint]' = None |
| colorPointBY: 'typing.Optional[uint]' = None |
| colorPointBIntensity: 'typing.Union[None, Nullable, uint]' = None |
| enhancedCurrentHue: 'typing.Optional[uint]' = None |
| enhancedColorMode: 'uint' = None |
| colorLoopActive: 'typing.Optional[uint]' = None |
| colorLoopDirection: 'typing.Optional[uint]' = None |
| colorLoopTime: 'typing.Optional[uint]' = None |
| colorLoopStartEnhancedHue: 'typing.Optional[uint]' = None |
| colorLoopStoredEnhancedHue: 'typing.Optional[uint]' = None |
| colorCapabilities: 'uint' = None |
| colorTempPhysicalMinMireds: 'typing.Optional[uint]' = None |
| colorTempPhysicalMaxMireds: 'typing.Optional[uint]' = None |
| coupleColorTempToLevelMinMireds: 'typing.Optional[uint]' = None |
| startUpColorTemperatureMireds: 'typing.Union[None, Nullable, uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ColorLoopAction(MatterIntEnum): |
| kDeactivate = 0x00 |
| kActivateFromColorLoopStartEnhancedHue = 0x01 |
| kActivateFromEnhancedCurrentHue = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class ColorLoopDirection(MatterIntEnum): |
| kDecrementHue = 0x00 |
| kIncrementHue = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class ColorMode(MatterIntEnum): |
| kCurrentHueAndCurrentSaturation = 0x00 |
| kCurrentXAndCurrentY = 0x01 |
| kColorTemperature = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class HueDirection(MatterIntEnum): |
| kShortestDistance = 0x00 |
| kLongestDistance = 0x01 |
| kUp = 0x02 |
| kDown = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class HueMoveMode(MatterIntEnum): |
| kStop = 0x00 |
| kUp = 0x01 |
| kDown = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class HueStepMode(MatterIntEnum): |
| kUp = 0x01 |
| kDown = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 0, |
| |
| class SaturationMoveMode(MatterIntEnum): |
| kStop = 0x00 |
| kUp = 0x01 |
| kDown = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class SaturationStepMode(MatterIntEnum): |
| kUp = 0x01 |
| kDown = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 0, |
| |
| class Bitmaps: |
| class ColorCapabilities(IntFlag): |
| kHueSaturationSupported = 0x1 |
| kEnhancedHueSupported = 0x2 |
| kColorLoopSupported = 0x4 |
| kXYAttributesSupported = 0x8 |
| kColorTemperatureSupported = 0x10 |
| |
| class ColorLoopUpdateFlags(IntFlag): |
| kUpdateAction = 0x1 |
| kUpdateDirection = 0x2 |
| kUpdateTime = 0x4 |
| kUpdateStartHue = 0x8 |
| |
| class Feature(IntFlag): |
| kHueAndSaturation = 0x1 |
| kEnhancedHue = 0x2 |
| kColorLoop = 0x4 |
| kXy = 0x8 |
| kColorTemperature = 0x10 |
| |
| class Commands: |
| @dataclass |
| class MoveToHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="hue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="direction", Tag=1, Type=ColorControl.Enums.HueDirection), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| hue: 'uint' = 0 |
| direction: 'ColorControl.Enums.HueDirection' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), |
| ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'ColorControl.Enums.HueMoveMode' = 0 |
| rate: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StepHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), |
| ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'ColorControl.Enums.HueStepMode' = 0 |
| stepSize: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveToSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="saturation", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| saturation: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.SaturationMoveMode), |
| ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'ColorControl.Enums.SaturationMoveMode' = 0 |
| rate: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StepSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.SaturationStepMode), |
| ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'ColorControl.Enums.SaturationStepMode' = 0 |
| stepSize: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveToHueAndSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000006 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="hue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="saturation", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| hue: 'uint' = 0 |
| saturation: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveToColor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000007 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="colorX", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="colorY", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| colorX: 'uint' = 0 |
| colorY: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveColor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000008 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="rateX", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor(Label="rateY", Tag=1, Type=int), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| rateX: 'int' = 0 |
| rateY: 'int' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StepColor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000009 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="stepX", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor(Label="stepY", Tag=1, Type=int), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepX: 'int' = 0 |
| stepY: 'int' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveToColorTemperature(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0000000A |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="colorTemperatureMireds", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| colorTemperatureMireds: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedMoveToHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000040 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="enhancedHue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="direction", Tag=1, Type=ColorControl.Enums.HueDirection), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| enhancedHue: 'uint' = 0 |
| direction: 'ColorControl.Enums.HueDirection' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedMoveHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000041 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), |
| ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'ColorControl.Enums.HueMoveMode' = 0 |
| rate: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedStepHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000042 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), |
| ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'ColorControl.Enums.HueStepMode' = 0 |
| stepSize: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedMoveToHueAndSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000043 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="enhancedHue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="saturation", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| enhancedHue: 'uint' = 0 |
| saturation: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class ColorLoopSet(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000044 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="updateFlags", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="action", Tag=1, Type=ColorControl.Enums.ColorLoopAction), |
| ClusterObjectFieldDescriptor(Label="direction", Tag=2, Type=ColorControl.Enums.ColorLoopDirection), |
| ClusterObjectFieldDescriptor(Label="time", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startHue", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint), |
| ]) |
| |
| updateFlags: 'uint' = 0 |
| action: 'ColorControl.Enums.ColorLoopAction' = 0 |
| direction: 'ColorControl.Enums.ColorLoopDirection' = 0 |
| time: 'uint' = 0 |
| startHue: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StopMoveStep(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x00000047 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint), |
| ]) |
| |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveColorTemperature(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0000004B |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), |
| ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="colorTemperatureMinimumMireds", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="colorTemperatureMaximumMireds", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=5, Type=uint), |
| ]) |
| |
| moveMode: 'ColorControl.Enums.HueMoveMode' = 0 |
| rate: 'uint' = 0 |
| colorTemperatureMinimumMireds: 'uint' = 0 |
| colorTemperatureMaximumMireds: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StepColorTemperature(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0000004C |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), |
| ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="colorTemperatureMinimumMireds", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="colorTemperatureMaximumMireds", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint), |
| ]) |
| |
| stepMode: 'ColorControl.Enums.HueStepMode' = 0 |
| stepSize: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| colorTemperatureMinimumMireds: 'uint' = 0 |
| colorTemperatureMaximumMireds: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class CurrentHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentSaturation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RemainingTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DriftCompensation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CompensationText(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ColorTemperatureMireds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Options(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class NumberOfPrimaries(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class Primary1X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary1Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary1Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class Primary2X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary2Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary2Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class Primary3X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary3Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary3Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class Primary4X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary4Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary4Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class Primary5X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary5Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary5Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000026 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class Primary6X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000028 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary6Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary6Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class WhitePointX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WhitePointY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointRX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointRY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointRIntensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class ColorPointGX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000036 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointGY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000037 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointGIntensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000038 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class ColorPointBX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointBY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointBIntensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class EnhancedCurrentHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EnhancedColorMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ColorLoopActive(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorLoopDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorLoopTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorLoopStartEnhancedHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorLoopStoredEnhancedHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorCapabilities(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ColorTempPhysicalMinMireds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorTempPhysicalMaxMireds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CoupleColorTempToLevelMinMireds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class StartUpColorTemperatureMireds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class BallastConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x0301 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="physicalMinLevel", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="physicalMaxLevel", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="ballastStatus", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="minLevel", Tag=0x00000010, Type=uint), |
| ClusterObjectFieldDescriptor(Label="maxLevel", Tag=0x00000011, Type=uint), |
| ClusterObjectFieldDescriptor(Label="intrinsicBallastFactor", Tag=0x00000014, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="ballastFactorAdjustment", Tag=0x00000015, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="lampQuantity", Tag=0x00000020, Type=uint), |
| ClusterObjectFieldDescriptor(Label="lampType", Tag=0x00000030, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="lampManufacturer", Tag=0x00000031, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="lampRatedHours", Tag=0x00000032, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="lampBurnHours", Tag=0x00000033, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="lampAlarmMode", Tag=0x00000034, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lampBurnHoursTripPoint", Tag=0x00000035, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| physicalMinLevel: 'uint' = None |
| physicalMaxLevel: 'uint' = None |
| ballastStatus: 'typing.Optional[uint]' = None |
| minLevel: 'uint' = None |
| maxLevel: 'uint' = None |
| intrinsicBallastFactor: 'typing.Union[None, Nullable, uint]' = None |
| ballastFactorAdjustment: 'typing.Union[None, Nullable, uint]' = None |
| lampQuantity: 'uint' = None |
| lampType: 'typing.Optional[str]' = None |
| lampManufacturer: 'typing.Optional[str]' = None |
| lampRatedHours: 'typing.Union[None, Nullable, uint]' = None |
| lampBurnHours: 'typing.Union[None, Nullable, uint]' = None |
| lampAlarmMode: 'typing.Optional[uint]' = None |
| lampBurnHoursTripPoint: 'typing.Union[None, Nullable, uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class PhysicalMinLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class PhysicalMaxLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class BallastStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MinLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class MaxLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class IntrinsicBallastFactor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class BallastFactorAdjustment(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class LampQuantity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class LampType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class LampManufacturer(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class LampRatedHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class LampBurnHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class LampAlarmMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LampBurnHoursTripPoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000035 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class IlluminanceMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0400 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lightSensorType", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'typing.Union[Nullable, uint]' = None |
| minMeasuredValue: 'typing.Union[Nullable, uint]' = None |
| maxMeasuredValue: 'typing.Union[Nullable, uint]' = None |
| tolerance: 'typing.Optional[uint]' = None |
| lightSensorType: 'typing.Union[None, Nullable, uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class LightSensorType(MatterIntEnum): |
| kPhotodiode = 0x00 |
| kCmos = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LightSensorType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class TemperatureMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0402 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'typing.Union[Nullable, int]' = None |
| minMeasuredValue: 'typing.Union[Nullable, int]' = None |
| maxMeasuredValue: 'typing.Union[Nullable, int]' = None |
| tolerance: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class PressureMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0403 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="scaledValue", Tag=0x00000010, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="minScaledValue", Tag=0x00000011, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="maxScaledValue", Tag=0x00000012, Type=typing.Union[None, Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="scaledTolerance", Tag=0x00000013, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="scale", Tag=0x00000014, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'typing.Union[Nullable, int]' = None |
| minMeasuredValue: 'typing.Union[Nullable, int]' = None |
| maxMeasuredValue: 'typing.Union[Nullable, int]' = None |
| tolerance: 'typing.Optional[uint]' = None |
| scaledValue: 'typing.Union[None, Nullable, int]' = None |
| minScaledValue: 'typing.Union[None, Nullable, int]' = None |
| maxScaledValue: 'typing.Union[None, Nullable, int]' = None |
| scaledTolerance: 'typing.Optional[uint]' = None |
| scale: 'typing.Optional[int]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kExtended = 0x1 |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ScaledValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class MinScaledValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class MaxScaledValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int]) |
| |
| value: 'typing.Union[None, Nullable, int]' = None |
| |
| @dataclass |
| class ScaledTolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Scale(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class FlowMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0404 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'typing.Union[Nullable, uint]' = None |
| minMeasuredValue: 'typing.Union[Nullable, uint]' = None |
| maxMeasuredValue: 'typing.Union[Nullable, uint]' = None |
| tolerance: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class RelativeHumidityMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0405 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'typing.Union[Nullable, uint]' = None |
| minMeasuredValue: 'typing.Union[Nullable, uint]' = None |
| maxMeasuredValue: 'typing.Union[Nullable, uint]' = None |
| tolerance: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class OccupancySensing(Cluster): |
| id: typing.ClassVar[int] = 0x0406 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="occupancy", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="occupancySensorType", Tag=0x00000001, Type=OccupancySensing.Enums.OccupancySensorTypeEnum), |
| ClusterObjectFieldDescriptor(Label="occupancySensorTypeBitmap", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="PIROccupiedToUnoccupiedDelay", Tag=0x00000010, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="PIRUnoccupiedToOccupiedDelay", Tag=0x00000011, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="PIRUnoccupiedToOccupiedThreshold", Tag=0x00000012, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ultrasonicOccupiedToUnoccupiedDelay", Tag=0x00000020, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ultrasonicUnoccupiedToOccupiedDelay", Tag=0x00000021, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ultrasonicUnoccupiedToOccupiedThreshold", Tag=0x00000022, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="physicalContactOccupiedToUnoccupiedDelay", Tag=0x00000030, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="physicalContactUnoccupiedToOccupiedDelay", Tag=0x00000031, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="physicalContactUnoccupiedToOccupiedThreshold", Tag=0x00000032, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| occupancy: 'uint' = None |
| occupancySensorType: 'OccupancySensing.Enums.OccupancySensorTypeEnum' = None |
| occupancySensorTypeBitmap: 'uint' = None |
| PIROccupiedToUnoccupiedDelay: 'typing.Optional[uint]' = None |
| PIRUnoccupiedToOccupiedDelay: 'typing.Optional[uint]' = None |
| PIRUnoccupiedToOccupiedThreshold: 'typing.Optional[uint]' = None |
| ultrasonicOccupiedToUnoccupiedDelay: 'typing.Optional[uint]' = None |
| ultrasonicUnoccupiedToOccupiedDelay: 'typing.Optional[uint]' = None |
| ultrasonicUnoccupiedToOccupiedThreshold: 'typing.Optional[uint]' = None |
| physicalContactOccupiedToUnoccupiedDelay: 'typing.Optional[uint]' = None |
| physicalContactUnoccupiedToOccupiedDelay: 'typing.Optional[uint]' = None |
| physicalContactUnoccupiedToOccupiedThreshold: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class OccupancySensorTypeEnum(MatterIntEnum): |
| kPir = 0x00 |
| kUltrasonic = 0x01 |
| kPIRAndUltrasonic = 0x02 |
| kPhysicalContact = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class Bitmaps: |
| class OccupancyBitmap(IntFlag): |
| kOccupied = 0x1 |
| |
| class OccupancySensorTypeBitmap(IntFlag): |
| kPir = 0x1 |
| kUltrasonic = 0x2 |
| kPhysicalContact = 0x4 |
| |
| class Attributes: |
| @dataclass |
| class Occupancy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class OccupancySensorType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=OccupancySensing.Enums.OccupancySensorTypeEnum) |
| |
| value: 'OccupancySensing.Enums.OccupancySensorTypeEnum' = 0 |
| |
| @dataclass |
| class OccupancySensorTypeBitmap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class PIROccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PIRUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PIRUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class UltrasonicOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class UltrasonicUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class UltrasonicUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PhysicalContactOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PhysicalContactUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PhysicalContactUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class WakeOnLan(Cluster): |
| id: typing.ClassVar[int] = 0x0503 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="MACAddress", Tag=0x00000000, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| MACAddress: 'typing.Optional[str]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Attributes: |
| @dataclass |
| class MACAddress(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class Channel(Cluster): |
| id: typing.ClassVar[int] = 0x0504 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="channelList", Tag=0x00000000, Type=typing.Optional[typing.List[Channel.Structs.ChannelInfoStruct]]), |
| ClusterObjectFieldDescriptor(Label="lineup", Tag=0x00000001, Type=typing.Union[None, Nullable, Channel.Structs.LineupInfoStruct]), |
| ClusterObjectFieldDescriptor(Label="currentChannel", Tag=0x00000002, Type=typing.Union[None, Nullable, Channel.Structs.ChannelInfoStruct]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| channelList: 'typing.Optional[typing.List[Channel.Structs.ChannelInfoStruct]]' = None |
| lineup: 'typing.Union[None, Nullable, Channel.Structs.LineupInfoStruct]' = None |
| currentChannel: 'typing.Union[None, Nullable, Channel.Structs.ChannelInfoStruct]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChannelStatusEnum(MatterIntEnum): |
| kSuccess = 0x00 |
| kMultipleMatches = 0x01 |
| kNoMatches = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class LineupInfoTypeEnum(MatterIntEnum): |
| kMso = 0x00 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 1, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kChannelList = 0x1 |
| kLineupInfo = 0x2 |
| |
| class Structs: |
| @dataclass |
| class ChannelInfoStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="callSign", Tag=3, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="affiliateCallSign", Tag=4, Type=typing.Optional[str]), |
| ]) |
| |
| majorNumber: 'uint' = 0 |
| minorNumber: 'uint' = 0 |
| name: 'typing.Optional[str]' = None |
| callSign: 'typing.Optional[str]' = None |
| affiliateCallSign: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class LineupInfoStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="operatorName", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="lineupName", Tag=1, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="postalCode", Tag=2, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="lineupInfoType", Tag=3, Type=Channel.Enums.LineupInfoTypeEnum), |
| ]) |
| |
| operatorName: 'str' = "" |
| lineupName: 'typing.Optional[str]' = None |
| postalCode: 'typing.Optional[str]' = None |
| lineupInfoType: 'Channel.Enums.LineupInfoTypeEnum' = 0 |
| |
| class Commands: |
| @dataclass |
| class ChangeChannel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'ChangeChannelResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="match", Tag=0, Type=str), |
| ]) |
| |
| match: 'str' = "" |
| |
| @dataclass |
| class ChangeChannelResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=Channel.Enums.ChannelStatusEnum), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), |
| ]) |
| |
| status: 'Channel.Enums.ChannelStatusEnum' = 0 |
| data: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ChangeChannelByNumber(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint), |
| ]) |
| |
| majorNumber: 'uint' = 0 |
| minorNumber: 'uint' = 0 |
| |
| @dataclass |
| class SkipChannel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="count", Tag=0, Type=int), |
| ]) |
| |
| count: 'int' = 0 |
| |
| class Attributes: |
| @dataclass |
| class ChannelList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[Channel.Structs.ChannelInfoStruct]]) |
| |
| value: 'typing.Optional[typing.List[Channel.Structs.ChannelInfoStruct]]' = None |
| |
| @dataclass |
| class Lineup(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, Channel.Structs.LineupInfoStruct]) |
| |
| value: 'typing.Union[None, Nullable, Channel.Structs.LineupInfoStruct]' = None |
| |
| @dataclass |
| class CurrentChannel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, Channel.Structs.ChannelInfoStruct]) |
| |
| value: 'typing.Union[None, Nullable, Channel.Structs.ChannelInfoStruct]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class TargetNavigator(Cluster): |
| id: typing.ClassVar[int] = 0x0505 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="targetList", Tag=0x00000000, Type=typing.List[TargetNavigator.Structs.TargetInfoStruct]), |
| ClusterObjectFieldDescriptor(Label="currentTarget", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| targetList: 'typing.List[TargetNavigator.Structs.TargetInfoStruct]' = None |
| currentTarget: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class TargetNavigatorStatusEnum(MatterIntEnum): |
| kSuccess = 0x00 |
| kTargetNotFound = 0x01 |
| kNotAllowed = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class Structs: |
| @dataclass |
| class TargetInfoStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="identifier", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), |
| ]) |
| |
| identifier: 'uint' = 0 |
| name: 'str' = "" |
| |
| class Commands: |
| @dataclass |
| class NavigateTarget(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0505 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'NavigateTargetResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="target", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), |
| ]) |
| |
| target: 'uint' = 0 |
| data: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class NavigateTargetResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0505 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=TargetNavigator.Enums.TargetNavigatorStatusEnum), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), |
| ]) |
| |
| status: 'TargetNavigator.Enums.TargetNavigatorStatusEnum' = 0 |
| data: 'typing.Optional[str]' = None |
| |
| class Attributes: |
| @dataclass |
| class TargetList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[TargetNavigator.Structs.TargetInfoStruct]) |
| |
| value: 'typing.List[TargetNavigator.Structs.TargetInfoStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class CurrentTarget(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class MediaPlayback(Cluster): |
| id: typing.ClassVar[int] = 0x0506 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="currentState", Tag=0x00000000, Type=MediaPlayback.Enums.PlaybackStateEnum), |
| ClusterObjectFieldDescriptor(Label="startTime", Tag=0x00000001, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="duration", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="sampledPosition", Tag=0x00000003, Type=typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPositionStruct]), |
| ClusterObjectFieldDescriptor(Label="playbackSpeed", Tag=0x00000004, Type=typing.Optional[float32]), |
| ClusterObjectFieldDescriptor(Label="seekRangeEnd", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="seekRangeStart", Tag=0x00000006, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| currentState: 'MediaPlayback.Enums.PlaybackStateEnum' = None |
| startTime: 'typing.Union[None, Nullable, uint]' = None |
| duration: 'typing.Union[None, Nullable, uint]' = None |
| sampledPosition: 'typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPositionStruct]' = None |
| playbackSpeed: 'typing.Optional[float32]' = None |
| seekRangeEnd: 'typing.Union[None, Nullable, uint]' = None |
| seekRangeStart: 'typing.Union[None, Nullable, uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class MediaPlaybackStatusEnum(MatterIntEnum): |
| kSuccess = 0x00 |
| kInvalidStateForCommand = 0x01 |
| kNotAllowed = 0x02 |
| kNotActive = 0x03 |
| kSpeedOutOfRange = 0x04 |
| kSeekOutOfRange = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 6, |
| |
| class PlaybackStateEnum(MatterIntEnum): |
| kPlaying = 0x00 |
| kPaused = 0x01 |
| kNotPlaying = 0x02 |
| kBuffering = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kAdvancedSeek = 0x1 |
| kVariableSpeed = 0x2 |
| |
| class Structs: |
| @dataclass |
| class PlaybackPositionStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="updatedAt", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="position", Tag=1, Type=typing.Union[Nullable, uint]), |
| ]) |
| |
| updatedAt: 'uint' = 0 |
| position: 'typing.Union[Nullable, uint]' = NullValue |
| |
| class Commands: |
| @dataclass |
| class Play(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'PlaybackResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Pause(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'PlaybackResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Stop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'PlaybackResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class StartOver(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'PlaybackResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Previous(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'PlaybackResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Next(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'PlaybackResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Rewind(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x00000006 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'PlaybackResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class FastForward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x00000007 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'PlaybackResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SkipForward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x00000008 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'PlaybackResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint), |
| ]) |
| |
| deltaPositionMilliseconds: 'uint' = 0 |
| |
| @dataclass |
| class SkipBackward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x00000009 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'PlaybackResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint), |
| ]) |
| |
| deltaPositionMilliseconds: 'uint' = 0 |
| |
| @dataclass |
| class PlaybackResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0000000A |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatusEnum), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), |
| ]) |
| |
| status: 'MediaPlayback.Enums.MediaPlaybackStatusEnum' = 0 |
| data: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class Seek(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0000000B |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'PlaybackResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="position", Tag=0, Type=uint), |
| ]) |
| |
| position: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class CurrentState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=MediaPlayback.Enums.PlaybackStateEnum) |
| |
| value: 'MediaPlayback.Enums.PlaybackStateEnum' = 0 |
| |
| @dataclass |
| class StartTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class Duration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class SampledPosition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPositionStruct]) |
| |
| value: 'typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPositionStruct]' = None |
| |
| @dataclass |
| class PlaybackSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float32]) |
| |
| value: 'typing.Optional[float32]' = None |
| |
| @dataclass |
| class SeekRangeEnd(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class SeekRangeStart(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class MediaInput(Cluster): |
| id: typing.ClassVar[int] = 0x0507 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="inputList", Tag=0x00000000, Type=typing.List[MediaInput.Structs.InputInfoStruct]), |
| ClusterObjectFieldDescriptor(Label="currentInput", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| inputList: 'typing.List[MediaInput.Structs.InputInfoStruct]' = None |
| currentInput: 'uint' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class InputTypeEnum(MatterIntEnum): |
| kInternal = 0x00 |
| kAux = 0x01 |
| kCoax = 0x02 |
| kComposite = 0x03 |
| kHdmi = 0x04 |
| kInput = 0x05 |
| kLine = 0x06 |
| kOptical = 0x07 |
| kVideo = 0x08 |
| kScart = 0x09 |
| kUsb = 0x0A |
| kOther = 0x0B |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 12, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kNameUpdates = 0x1 |
| |
| class Structs: |
| @dataclass |
| class InputInfoStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="inputType", Tag=1, Type=MediaInput.Enums.InputTypeEnum), |
| ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor(Label="description", Tag=3, Type=str), |
| ]) |
| |
| index: 'uint' = 0 |
| inputType: 'MediaInput.Enums.InputTypeEnum' = 0 |
| name: 'str' = "" |
| description: 'str' = "" |
| |
| class Commands: |
| @dataclass |
| class SelectInput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), |
| ]) |
| |
| index: 'uint' = 0 |
| |
| @dataclass |
| class ShowInputStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class HideInputStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class RenameInput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), |
| ]) |
| |
| index: 'uint' = 0 |
| name: 'str' = "" |
| |
| class Attributes: |
| @dataclass |
| class InputList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[MediaInput.Structs.InputInfoStruct]) |
| |
| value: 'typing.List[MediaInput.Structs.InputInfoStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class CurrentInput(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class LowPower(Cluster): |
| id: typing.ClassVar[int] = 0x0508 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class Sleep(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0508 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class KeypadInput(Cluster): |
| id: typing.ClassVar[int] = 0x0509 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class CecKeyCode(MatterIntEnum): |
| kSelect = 0x00 |
| kUp = 0x01 |
| kDown = 0x02 |
| kLeft = 0x03 |
| kRight = 0x04 |
| kRightUp = 0x05 |
| kRightDown = 0x06 |
| kLeftUp = 0x07 |
| kLeftDown = 0x08 |
| kRootMenu = 0x09 |
| kSetupMenu = 0x0A |
| kContentsMenu = 0x0B |
| kFavoriteMenu = 0x0C |
| kExit = 0x0D |
| kMediaTopMenu = 0x10 |
| kMediaContextSensitiveMenu = 0x11 |
| kNumberEntryMode = 0x1D |
| kNumber11 = 0x1E |
| kNumber12 = 0x1F |
| kNumber0OrNumber10 = 0x20 |
| kNumbers1 = 0x21 |
| kNumbers2 = 0x22 |
| kNumbers3 = 0x23 |
| kNumbers4 = 0x24 |
| kNumbers5 = 0x25 |
| kNumbers6 = 0x26 |
| kNumbers7 = 0x27 |
| kNumbers8 = 0x28 |
| kNumbers9 = 0x29 |
| kDot = 0x2A |
| kEnter = 0x2B |
| kClear = 0x2C |
| kNextFavorite = 0x2F |
| kChannelUp = 0x30 |
| kChannelDown = 0x31 |
| kPreviousChannel = 0x32 |
| kSoundSelect = 0x33 |
| kInputSelect = 0x34 |
| kDisplayInformation = 0x35 |
| kHelp = 0x36 |
| kPageUp = 0x37 |
| kPageDown = 0x38 |
| kPower = 0x40 |
| kVolumeUp = 0x41 |
| kVolumeDown = 0x42 |
| kMute = 0x43 |
| kPlay = 0x44 |
| kStop = 0x45 |
| kPause = 0x46 |
| kRecord = 0x47 |
| kRewind = 0x48 |
| kFastForward = 0x49 |
| kEject = 0x4A |
| kForward = 0x4B |
| kBackward = 0x4C |
| kStopRecord = 0x4D |
| kPauseRecord = 0x4E |
| kReserved = 0x4F |
| kAngle = 0x50 |
| kSubPicture = 0x51 |
| kVideoOnDemand = 0x52 |
| kElectronicProgramGuide = 0x53 |
| kTimerProgramming = 0x54 |
| kInitialConfiguration = 0x55 |
| kSelectBroadcastType = 0x56 |
| kSelectSoundPresentation = 0x57 |
| kPlayFunction = 0x60 |
| kPausePlayFunction = 0x61 |
| kRecordFunction = 0x62 |
| kPauseRecordFunction = 0x63 |
| kStopFunction = 0x64 |
| kMuteFunction = 0x65 |
| kRestoreVolumeFunction = 0x66 |
| kTuneFunction = 0x67 |
| kSelectMediaFunction = 0x68 |
| kSelectAvInputFunction = 0x69 |
| kSelectAudioInputFunction = 0x6A |
| kPowerToggleFunction = 0x6B |
| kPowerOffFunction = 0x6C |
| kPowerOnFunction = 0x6D |
| kF1Blue = 0x71 |
| kF2Red = 0x72 |
| kF3Green = 0x73 |
| kF4Yellow = 0x74 |
| kF5 = 0x75 |
| kData = 0x76 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 14, |
| |
| class KeypadInputStatusEnum(MatterIntEnum): |
| kSuccess = 0x00 |
| kUnsupportedKey = 0x01 |
| kInvalidKeyInCurrentState = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kNavigationKeyCodes = 0x1 |
| kLocationKeys = 0x2 |
| kNumberKeys = 0x4 |
| |
| class Commands: |
| @dataclass |
| class SendKey(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0509 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'SendKeyResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="keyCode", Tag=0, Type=KeypadInput.Enums.CecKeyCode), |
| ]) |
| |
| keyCode: 'KeypadInput.Enums.CecKeyCode' = 0 |
| |
| @dataclass |
| class SendKeyResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0509 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=KeypadInput.Enums.KeypadInputStatusEnum), |
| ]) |
| |
| status: 'KeypadInput.Enums.KeypadInputStatusEnum' = 0 |
| |
| class Attributes: |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ContentLauncher(Cluster): |
| id: typing.ClassVar[int] = 0x050A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="acceptHeader", Tag=0x00000000, Type=typing.Optional[typing.List[str]]), |
| ClusterObjectFieldDescriptor(Label="supportedStreamingProtocols", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| acceptHeader: 'typing.Optional[typing.List[str]]' = None |
| supportedStreamingProtocols: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ContentLaunchStatusEnum(MatterIntEnum): |
| kSuccess = 0x00 |
| kUrlNotAvailable = 0x01 |
| kAuthFailed = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class MetricTypeEnum(MatterIntEnum): |
| kPixels = 0x00 |
| kPercentage = 0x01 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 2, |
| |
| class ParameterEnum(MatterIntEnum): |
| kActor = 0x00 |
| kChannel = 0x01 |
| kCharacter = 0x02 |
| kDirector = 0x03 |
| kEvent = 0x04 |
| kFranchise = 0x05 |
| kGenre = 0x06 |
| kLeague = 0x07 |
| kPopularity = 0x08 |
| kProvider = 0x09 |
| kSport = 0x0A |
| kSportsTeam = 0x0B |
| kType = 0x0C |
| kVideo = 0x0D |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 14, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kContentSearch = 0x1 |
| kURLPlayback = 0x2 |
| |
| class SupportedStreamingProtocol(IntFlag): |
| kDash = 0x1 |
| kHls = 0x2 |
| |
| class Structs: |
| @dataclass |
| class DimensionStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="width", Tag=0, Type=float), |
| ClusterObjectFieldDescriptor(Label="height", Tag=1, Type=float), |
| ClusterObjectFieldDescriptor(Label="metric", Tag=2, Type=ContentLauncher.Enums.MetricTypeEnum), |
| ]) |
| |
| width: 'float' = 0.0 |
| height: 'float' = 0.0 |
| metric: 'ContentLauncher.Enums.MetricTypeEnum' = 0 |
| |
| @dataclass |
| class AdditionalInfoStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), |
| ]) |
| |
| name: 'str' = "" |
| value: 'str' = "" |
| |
| @dataclass |
| class ParameterStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=ContentLauncher.Enums.ParameterEnum), |
| ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="externalIDList", Tag=2, Type=typing.Optional[typing.List[ContentLauncher.Structs.AdditionalInfoStruct]]), |
| ]) |
| |
| type: 'ContentLauncher.Enums.ParameterEnum' = 0 |
| value: 'str' = "" |
| externalIDList: 'typing.Optional[typing.List[ContentLauncher.Structs.AdditionalInfoStruct]]' = None |
| |
| @dataclass |
| class ContentSearchStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="parameterList", Tag=0, Type=typing.List[ContentLauncher.Structs.ParameterStruct]), |
| ]) |
| |
| parameterList: 'typing.List[ContentLauncher.Structs.ParameterStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class StyleInformationStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="imageURL", Tag=0, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="color", Tag=1, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="size", Tag=2, Type=typing.Optional[ContentLauncher.Structs.DimensionStruct]), |
| ]) |
| |
| imageURL: 'typing.Optional[str]' = None |
| color: 'typing.Optional[str]' = None |
| size: 'typing.Optional[ContentLauncher.Structs.DimensionStruct]' = None |
| |
| @dataclass |
| class BrandingInformationStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="providerName", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="background", Tag=1, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), |
| ClusterObjectFieldDescriptor(Label="logo", Tag=2, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), |
| ClusterObjectFieldDescriptor(Label="progressBar", Tag=3, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), |
| ClusterObjectFieldDescriptor(Label="splash", Tag=4, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), |
| ClusterObjectFieldDescriptor(Label="waterMark", Tag=5, Type=typing.Optional[ContentLauncher.Structs.StyleInformationStruct]), |
| ]) |
| |
| providerName: 'str' = "" |
| background: 'typing.Optional[ContentLauncher.Structs.StyleInformationStruct]' = None |
| logo: 'typing.Optional[ContentLauncher.Structs.StyleInformationStruct]' = None |
| progressBar: 'typing.Optional[ContentLauncher.Structs.StyleInformationStruct]' = None |
| splash: 'typing.Optional[ContentLauncher.Structs.StyleInformationStruct]' = None |
| waterMark: 'typing.Optional[ContentLauncher.Structs.StyleInformationStruct]' = None |
| |
| class Commands: |
| @dataclass |
| class LaunchContent(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'LauncherResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="search", Tag=0, Type=ContentLauncher.Structs.ContentSearchStruct), |
| ClusterObjectFieldDescriptor(Label="autoPlay", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor(Label="data", Tag=2, Type=typing.Optional[str]), |
| ]) |
| |
| search: 'ContentLauncher.Structs.ContentSearchStruct' = field(default_factory=lambda: ContentLauncher.Structs.ContentSearchStruct()) |
| autoPlay: 'bool' = False |
| data: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class LaunchURL(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'LauncherResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="contentURL", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="displayString", Tag=1, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="brandingInformation", Tag=2, Type=typing.Optional[ContentLauncher.Structs.BrandingInformationStruct]), |
| ]) |
| |
| contentURL: 'str' = "" |
| displayString: 'typing.Optional[str]' = None |
| brandingInformation: 'typing.Optional[ContentLauncher.Structs.BrandingInformationStruct]' = None |
| |
| @dataclass |
| class LauncherResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ContentLauncher.Enums.ContentLaunchStatusEnum), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]), |
| ]) |
| |
| status: 'ContentLauncher.Enums.ContentLaunchStatusEnum' = 0 |
| data: 'typing.Optional[str]' = None |
| |
| class Attributes: |
| @dataclass |
| class AcceptHeader(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[str]]) |
| |
| value: 'typing.Optional[typing.List[str]]' = None |
| |
| @dataclass |
| class SupportedStreamingProtocols(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class AudioOutput(Cluster): |
| id: typing.ClassVar[int] = 0x050B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="outputList", Tag=0x00000000, Type=typing.List[AudioOutput.Structs.OutputInfoStruct]), |
| ClusterObjectFieldDescriptor(Label="currentOutput", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| outputList: 'typing.List[AudioOutput.Structs.OutputInfoStruct]' = None |
| currentOutput: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class OutputTypeEnum(MatterIntEnum): |
| kHdmi = 0x00 |
| kBt = 0x01 |
| kOptical = 0x02 |
| kHeadphone = 0x03 |
| kInternal = 0x04 |
| kOther = 0x05 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 6, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kNameUpdates = 0x1 |
| |
| class Structs: |
| @dataclass |
| class OutputInfoStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="outputType", Tag=1, Type=AudioOutput.Enums.OutputTypeEnum), |
| ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), |
| ]) |
| |
| index: 'uint' = 0 |
| outputType: 'AudioOutput.Enums.OutputTypeEnum' = 0 |
| name: 'str' = "" |
| |
| class Commands: |
| @dataclass |
| class SelectOutput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050B |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), |
| ]) |
| |
| index: 'uint' = 0 |
| |
| @dataclass |
| class RenameOutput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050B |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), |
| ]) |
| |
| index: 'uint' = 0 |
| name: 'str' = "" |
| |
| class Attributes: |
| @dataclass |
| class OutputList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[AudioOutput.Structs.OutputInfoStruct]) |
| |
| value: 'typing.List[AudioOutput.Structs.OutputInfoStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class CurrentOutput(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ApplicationLauncher(Cluster): |
| id: typing.ClassVar[int] = 0x050C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="catalogList", Tag=0x00000000, Type=typing.Optional[typing.List[uint]]), |
| ClusterObjectFieldDescriptor(Label="currentApp", Tag=0x00000001, Type=typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEPStruct]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| catalogList: 'typing.Optional[typing.List[uint]]' = None |
| currentApp: 'typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEPStruct]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ApplicationLauncherStatusEnum(MatterIntEnum): |
| kSuccess = 0x00 |
| kAppNotAvailable = 0x01 |
| kSystemBusy = 0x02 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 3, |
| |
| class Bitmaps: |
| class Feature(IntFlag): |
| kApplicationPlatform = 0x1 |
| |
| class Structs: |
| @dataclass |
| class ApplicationStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="catalogVendorID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="applicationID", Tag=1, Type=str), |
| ]) |
| |
| catalogVendorID: 'uint' = 0 |
| applicationID: 'str' = "" |
| |
| @dataclass |
| class ApplicationEPStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.ApplicationStruct), |
| ClusterObjectFieldDescriptor(Label="endpoint", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| application: 'ApplicationLauncher.Structs.ApplicationStruct' = field(default_factory=lambda: ApplicationLauncher.Structs.ApplicationStruct()) |
| endpoint: 'typing.Optional[uint]' = None |
| |
| class Commands: |
| @dataclass |
| class LaunchApp(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'LauncherResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[bytes]), |
| ]) |
| |
| application: 'typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]' = None |
| data: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class StopApp(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'LauncherResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]), |
| ]) |
| |
| application: 'typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]' = None |
| |
| @dataclass |
| class HideApp(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'LauncherResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]), |
| ]) |
| |
| application: 'typing.Optional[ApplicationLauncher.Structs.ApplicationStruct]' = None |
| |
| @dataclass |
| class LauncherResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ApplicationLauncher.Enums.ApplicationLauncherStatusEnum), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[bytes]), |
| ]) |
| |
| status: 'ApplicationLauncher.Enums.ApplicationLauncherStatusEnum' = 0 |
| data: 'typing.Optional[bytes]' = None |
| |
| class Attributes: |
| @dataclass |
| class CatalogList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]]) |
| |
| value: 'typing.Optional[typing.List[uint]]' = None |
| |
| @dataclass |
| class CurrentApp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEPStruct]) |
| |
| value: 'typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEPStruct]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ApplicationBasic(Cluster): |
| id: typing.ClassVar[int] = 0x050D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000000, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="applicationName", Tag=0x00000002, Type=str), |
| ClusterObjectFieldDescriptor(Label="productID", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="application", Tag=0x00000004, Type=ApplicationBasic.Structs.ApplicationStruct), |
| ClusterObjectFieldDescriptor(Label="status", Tag=0x00000005, Type=ApplicationBasic.Enums.ApplicationStatusEnum), |
| ClusterObjectFieldDescriptor(Label="applicationVersion", Tag=0x00000006, Type=str), |
| ClusterObjectFieldDescriptor(Label="allowedVendorList", Tag=0x00000007, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| vendorName: 'typing.Optional[str]' = None |
| vendorID: 'typing.Optional[uint]' = None |
| applicationName: 'str' = None |
| productID: 'typing.Optional[uint]' = None |
| application: 'ApplicationBasic.Structs.ApplicationStruct' = None |
| status: 'ApplicationBasic.Enums.ApplicationStatusEnum' = None |
| applicationVersion: 'str' = None |
| allowedVendorList: 'typing.List[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ApplicationStatusEnum(MatterIntEnum): |
| kStopped = 0x00 |
| kActiveVisibleFocus = 0x01 |
| kActiveHidden = 0x02 |
| kActiveVisibleNotFocus = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class Structs: |
| @dataclass |
| class ApplicationStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="catalogVendorID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="applicationID", Tag=1, Type=str), |
| ]) |
| |
| catalogVendorID: 'uint' = 0 |
| applicationID: 'str' = "" |
| |
| class Attributes: |
| @dataclass |
| class VendorName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class VendorID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ApplicationName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class ProductID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Application(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ApplicationBasic.Structs.ApplicationStruct) |
| |
| value: 'ApplicationBasic.Structs.ApplicationStruct' = field(default_factory=lambda: ApplicationBasic.Structs.ApplicationStruct()) |
| |
| @dataclass |
| class Status(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ApplicationBasic.Enums.ApplicationStatusEnum) |
| |
| value: 'ApplicationBasic.Enums.ApplicationStatusEnum' = 0 |
| |
| @dataclass |
| class ApplicationVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class AllowedVendorList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class AccountLogin(Cluster): |
| id: typing.ClassVar[int] = 0x050E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class GetSetupPIN(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050E |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'GetSetupPINResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| tempAccountIdentifier: 'str' = "" |
| |
| @dataclass |
| class GetSetupPINResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050E |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="setupPIN", Tag=0, Type=str), |
| ]) |
| |
| setupPIN: 'str' = "" |
| |
| @dataclass |
| class Login(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050E |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="setupPIN", Tag=1, Type=str), |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| tempAccountIdentifier: 'str' = "" |
| setupPIN: 'str' = "" |
| |
| @dataclass |
| class Logout(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050E |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| class Attributes: |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class ElectricalMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0B04 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="measurementType", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcVoltage", Tag=0x00000100, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcVoltageMin", Tag=0x00000101, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcVoltageMax", Tag=0x00000102, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcCurrent", Tag=0x00000103, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcCurrentMin", Tag=0x00000104, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcCurrentMax", Tag=0x00000105, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcPower", Tag=0x00000106, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcPowerMin", Tag=0x00000107, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcPowerMax", Tag=0x00000108, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcVoltageMultiplier", Tag=0x00000200, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcVoltageDivisor", Tag=0x00000201, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcCurrentMultiplier", Tag=0x00000202, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcCurrentDivisor", Tag=0x00000203, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcPowerMultiplier", Tag=0x00000204, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcPowerDivisor", Tag=0x00000205, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acFrequency", Tag=0x00000300, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acFrequencyMin", Tag=0x00000301, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acFrequencyMax", Tag=0x00000302, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="neutralCurrent", Tag=0x00000303, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="totalActivePower", Tag=0x00000304, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="totalReactivePower", Tag=0x00000305, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="totalApparentPower", Tag=0x00000306, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="measured1stHarmonicCurrent", Tag=0x00000307, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measured3rdHarmonicCurrent", Tag=0x00000308, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measured5thHarmonicCurrent", Tag=0x00000309, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measured7thHarmonicCurrent", Tag=0x0000030A, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measured9thHarmonicCurrent", Tag=0x0000030B, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measured11thHarmonicCurrent", Tag=0x0000030C, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase1stHarmonicCurrent", Tag=0x0000030D, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase3rdHarmonicCurrent", Tag=0x0000030E, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase5thHarmonicCurrent", Tag=0x0000030F, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase7thHarmonicCurrent", Tag=0x00000310, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase9thHarmonicCurrent", Tag=0x00000311, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase11thHarmonicCurrent", Tag=0x00000312, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="acFrequencyMultiplier", Tag=0x00000400, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acFrequencyDivisor", Tag=0x00000401, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerMultiplier", Tag=0x00000402, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerDivisor", Tag=0x00000403, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="harmonicCurrentMultiplier", Tag=0x00000404, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="phaseHarmonicCurrentMultiplier", Tag=0x00000405, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="instantaneousVoltage", Tag=0x00000500, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="instantaneousLineCurrent", Tag=0x00000501, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="instantaneousActiveCurrent", Tag=0x00000502, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="instantaneousReactiveCurrent", Tag=0x00000503, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="instantaneousPower", Tag=0x00000504, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltage", Tag=0x00000505, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMin", Tag=0x00000506, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMax", Tag=0x00000507, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrent", Tag=0x00000508, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMin", Tag=0x00000509, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMax", Tag=0x0000050A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activePower", Tag=0x0000050B, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMin", Tag=0x0000050C, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMax", Tag=0x0000050D, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="reactivePower", Tag=0x0000050E, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="apparentPower", Tag=0x0000050F, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerFactor", Tag=0x00000510, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="averageRmsVoltageMeasurementPeriod", Tag=0x00000511, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="averageRmsUnderVoltageCounter", Tag=0x00000513, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeOverVoltagePeriod", Tag=0x00000514, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeUnderVoltagePeriod", Tag=0x00000515, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSagPeriod", Tag=0x00000516, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSwellPeriod", Tag=0x00000517, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acVoltageMultiplier", Tag=0x00000600, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acVoltageDivisor", Tag=0x00000601, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acCurrentMultiplier", Tag=0x00000602, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acCurrentDivisor", Tag=0x00000603, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acPowerMultiplier", Tag=0x00000604, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acPowerDivisor", Tag=0x00000605, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="overloadAlarmsMask", Tag=0x00000700, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="voltageOverload", Tag=0x00000701, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="currentOverload", Tag=0x00000702, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="acOverloadAlarmsMask", Tag=0x00000800, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acVoltageOverload", Tag=0x00000801, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="acCurrentOverload", Tag=0x00000802, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="acActivePowerOverload", Tag=0x00000803, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="acReactivePowerOverload", Tag=0x00000804, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="averageRmsOverVoltage", Tag=0x00000805, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="averageRmsUnderVoltage", Tag=0x00000806, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeOverVoltage", Tag=0x00000807, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeUnderVoltage", Tag=0x00000808, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSag", Tag=0x00000809, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSwell", Tag=0x0000080A, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="lineCurrentPhaseB", Tag=0x00000901, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activeCurrentPhaseB", Tag=0x00000902, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="reactiveCurrentPhaseB", Tag=0x00000903, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltagePhaseB", Tag=0x00000905, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMinPhaseB", Tag=0x00000906, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMaxPhaseB", Tag=0x00000907, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentPhaseB", Tag=0x00000908, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMinPhaseB", Tag=0x00000909, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMaxPhaseB", Tag=0x0000090A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activePowerPhaseB", Tag=0x0000090B, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMinPhaseB", Tag=0x0000090C, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMaxPhaseB", Tag=0x0000090D, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="reactivePowerPhaseB", Tag=0x0000090E, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="apparentPowerPhaseB", Tag=0x0000090F, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerFactorPhaseB", Tag=0x00000910, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="averageRmsVoltageMeasurementPeriodPhaseB", Tag=0x00000911, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="averageRmsOverVoltageCounterPhaseB", Tag=0x00000912, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="averageRmsUnderVoltageCounterPhaseB", Tag=0x00000913, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeOverVoltagePeriodPhaseB", Tag=0x00000914, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeUnderVoltagePeriodPhaseB", Tag=0x00000915, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSagPeriodPhaseB", Tag=0x00000916, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSwellPeriodPhaseB", Tag=0x00000917, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lineCurrentPhaseC", Tag=0x00000A01, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activeCurrentPhaseC", Tag=0x00000A02, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="reactiveCurrentPhaseC", Tag=0x00000A03, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltagePhaseC", Tag=0x00000A05, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMinPhaseC", Tag=0x00000A06, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMaxPhaseC", Tag=0x00000A07, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentPhaseC", Tag=0x00000A08, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMinPhaseC", Tag=0x00000A09, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMaxPhaseC", Tag=0x00000A0A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activePowerPhaseC", Tag=0x00000A0B, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMinPhaseC", Tag=0x00000A0C, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMaxPhaseC", Tag=0x00000A0D, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="reactivePowerPhaseC", Tag=0x00000A0E, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="apparentPowerPhaseC", Tag=0x00000A0F, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerFactorPhaseC", Tag=0x00000A10, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="averageRmsVoltageMeasurementPeriodPhaseC", Tag=0x00000A11, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="averageRmsOverVoltageCounterPhaseC", Tag=0x00000A12, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="averageRmsUnderVoltageCounterPhaseC", Tag=0x00000A13, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeOverVoltagePeriodPhaseC", Tag=0x00000A14, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeUnderVoltagePeriodPhaseC", Tag=0x00000A15, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSagPeriodPhaseC", Tag=0x00000A16, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSwellPeriodPhaseC", Tag=0x00000A17, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measurementType: 'typing.Optional[uint]' = None |
| dcVoltage: 'typing.Optional[int]' = None |
| dcVoltageMin: 'typing.Optional[int]' = None |
| dcVoltageMax: 'typing.Optional[int]' = None |
| dcCurrent: 'typing.Optional[int]' = None |
| dcCurrentMin: 'typing.Optional[int]' = None |
| dcCurrentMax: 'typing.Optional[int]' = None |
| dcPower: 'typing.Optional[int]' = None |
| dcPowerMin: 'typing.Optional[int]' = None |
| dcPowerMax: 'typing.Optional[int]' = None |
| dcVoltageMultiplier: 'typing.Optional[uint]' = None |
| dcVoltageDivisor: 'typing.Optional[uint]' = None |
| dcCurrentMultiplier: 'typing.Optional[uint]' = None |
| dcCurrentDivisor: 'typing.Optional[uint]' = None |
| dcPowerMultiplier: 'typing.Optional[uint]' = None |
| dcPowerDivisor: 'typing.Optional[uint]' = None |
| acFrequency: 'typing.Optional[uint]' = None |
| acFrequencyMin: 'typing.Optional[uint]' = None |
| acFrequencyMax: 'typing.Optional[uint]' = None |
| neutralCurrent: 'typing.Optional[uint]' = None |
| totalActivePower: 'typing.Optional[int]' = None |
| totalReactivePower: 'typing.Optional[int]' = None |
| totalApparentPower: 'typing.Optional[uint]' = None |
| measured1stHarmonicCurrent: 'typing.Optional[int]' = None |
| measured3rdHarmonicCurrent: 'typing.Optional[int]' = None |
| measured5thHarmonicCurrent: 'typing.Optional[int]' = None |
| measured7thHarmonicCurrent: 'typing.Optional[int]' = None |
| measured9thHarmonicCurrent: 'typing.Optional[int]' = None |
| measured11thHarmonicCurrent: 'typing.Optional[int]' = None |
| measuredPhase1stHarmonicCurrent: 'typing.Optional[int]' = None |
| measuredPhase3rdHarmonicCurrent: 'typing.Optional[int]' = None |
| measuredPhase5thHarmonicCurrent: 'typing.Optional[int]' = None |
| measuredPhase7thHarmonicCurrent: 'typing.Optional[int]' = None |
| measuredPhase9thHarmonicCurrent: 'typing.Optional[int]' = None |
| measuredPhase11thHarmonicCurrent: 'typing.Optional[int]' = None |
| acFrequencyMultiplier: 'typing.Optional[uint]' = None |
| acFrequencyDivisor: 'typing.Optional[uint]' = None |
| powerMultiplier: 'typing.Optional[uint]' = None |
| powerDivisor: 'typing.Optional[uint]' = None |
| harmonicCurrentMultiplier: 'typing.Optional[int]' = None |
| phaseHarmonicCurrentMultiplier: 'typing.Optional[int]' = None |
| instantaneousVoltage: 'typing.Optional[int]' = None |
| instantaneousLineCurrent: 'typing.Optional[uint]' = None |
| instantaneousActiveCurrent: 'typing.Optional[int]' = None |
| instantaneousReactiveCurrent: 'typing.Optional[int]' = None |
| instantaneousPower: 'typing.Optional[int]' = None |
| rmsVoltage: 'typing.Optional[uint]' = None |
| rmsVoltageMin: 'typing.Optional[uint]' = None |
| rmsVoltageMax: 'typing.Optional[uint]' = None |
| rmsCurrent: 'typing.Optional[uint]' = None |
| rmsCurrentMin: 'typing.Optional[uint]' = None |
| rmsCurrentMax: 'typing.Optional[uint]' = None |
| activePower: 'typing.Optional[int]' = None |
| activePowerMin: 'typing.Optional[int]' = None |
| activePowerMax: 'typing.Optional[int]' = None |
| reactivePower: 'typing.Optional[int]' = None |
| apparentPower: 'typing.Optional[uint]' = None |
| powerFactor: 'typing.Optional[int]' = None |
| averageRmsVoltageMeasurementPeriod: 'typing.Optional[uint]' = None |
| averageRmsUnderVoltageCounter: 'typing.Optional[uint]' = None |
| rmsExtremeOverVoltagePeriod: 'typing.Optional[uint]' = None |
| rmsExtremeUnderVoltagePeriod: 'typing.Optional[uint]' = None |
| rmsVoltageSagPeriod: 'typing.Optional[uint]' = None |
| rmsVoltageSwellPeriod: 'typing.Optional[uint]' = None |
| acVoltageMultiplier: 'typing.Optional[uint]' = None |
| acVoltageDivisor: 'typing.Optional[uint]' = None |
| acCurrentMultiplier: 'typing.Optional[uint]' = None |
| acCurrentDivisor: 'typing.Optional[uint]' = None |
| acPowerMultiplier: 'typing.Optional[uint]' = None |
| acPowerDivisor: 'typing.Optional[uint]' = None |
| overloadAlarmsMask: 'typing.Optional[uint]' = None |
| voltageOverload: 'typing.Optional[int]' = None |
| currentOverload: 'typing.Optional[int]' = None |
| acOverloadAlarmsMask: 'typing.Optional[uint]' = None |
| acVoltageOverload: 'typing.Optional[int]' = None |
| acCurrentOverload: 'typing.Optional[int]' = None |
| acActivePowerOverload: 'typing.Optional[int]' = None |
| acReactivePowerOverload: 'typing.Optional[int]' = None |
| averageRmsOverVoltage: 'typing.Optional[int]' = None |
| averageRmsUnderVoltage: 'typing.Optional[int]' = None |
| rmsExtremeOverVoltage: 'typing.Optional[int]' = None |
| rmsExtremeUnderVoltage: 'typing.Optional[int]' = None |
| rmsVoltageSag: 'typing.Optional[int]' = None |
| rmsVoltageSwell: 'typing.Optional[int]' = None |
| lineCurrentPhaseB: 'typing.Optional[uint]' = None |
| activeCurrentPhaseB: 'typing.Optional[int]' = None |
| reactiveCurrentPhaseB: 'typing.Optional[int]' = None |
| rmsVoltagePhaseB: 'typing.Optional[uint]' = None |
| rmsVoltageMinPhaseB: 'typing.Optional[uint]' = None |
| rmsVoltageMaxPhaseB: 'typing.Optional[uint]' = None |
| rmsCurrentPhaseB: 'typing.Optional[uint]' = None |
| rmsCurrentMinPhaseB: 'typing.Optional[uint]' = None |
| rmsCurrentMaxPhaseB: 'typing.Optional[uint]' = None |
| activePowerPhaseB: 'typing.Optional[int]' = None |
| activePowerMinPhaseB: 'typing.Optional[int]' = None |
| activePowerMaxPhaseB: 'typing.Optional[int]' = None |
| reactivePowerPhaseB: 'typing.Optional[int]' = None |
| apparentPowerPhaseB: 'typing.Optional[uint]' = None |
| powerFactorPhaseB: 'typing.Optional[int]' = None |
| averageRmsVoltageMeasurementPeriodPhaseB: 'typing.Optional[uint]' = None |
| averageRmsOverVoltageCounterPhaseB: 'typing.Optional[uint]' = None |
| averageRmsUnderVoltageCounterPhaseB: 'typing.Optional[uint]' = None |
| rmsExtremeOverVoltagePeriodPhaseB: 'typing.Optional[uint]' = None |
| rmsExtremeUnderVoltagePeriodPhaseB: 'typing.Optional[uint]' = None |
| rmsVoltageSagPeriodPhaseB: 'typing.Optional[uint]' = None |
| rmsVoltageSwellPeriodPhaseB: 'typing.Optional[uint]' = None |
| lineCurrentPhaseC: 'typing.Optional[uint]' = None |
| activeCurrentPhaseC: 'typing.Optional[int]' = None |
| reactiveCurrentPhaseC: 'typing.Optional[int]' = None |
| rmsVoltagePhaseC: 'typing.Optional[uint]' = None |
| rmsVoltageMinPhaseC: 'typing.Optional[uint]' = None |
| rmsVoltageMaxPhaseC: 'typing.Optional[uint]' = None |
| rmsCurrentPhaseC: 'typing.Optional[uint]' = None |
| rmsCurrentMinPhaseC: 'typing.Optional[uint]' = None |
| rmsCurrentMaxPhaseC: 'typing.Optional[uint]' = None |
| activePowerPhaseC: 'typing.Optional[int]' = None |
| activePowerMinPhaseC: 'typing.Optional[int]' = None |
| activePowerMaxPhaseC: 'typing.Optional[int]' = None |
| reactivePowerPhaseC: 'typing.Optional[int]' = None |
| apparentPowerPhaseC: 'typing.Optional[uint]' = None |
| powerFactorPhaseC: 'typing.Optional[int]' = None |
| averageRmsVoltageMeasurementPeriodPhaseC: 'typing.Optional[uint]' = None |
| averageRmsOverVoltageCounterPhaseC: 'typing.Optional[uint]' = None |
| averageRmsUnderVoltageCounterPhaseC: 'typing.Optional[uint]' = None |
| rmsExtremeOverVoltagePeriodPhaseC: 'typing.Optional[uint]' = None |
| rmsExtremeUnderVoltagePeriodPhaseC: 'typing.Optional[uint]' = None |
| rmsVoltageSagPeriodPhaseC: 'typing.Optional[uint]' = None |
| rmsVoltageSwellPeriodPhaseC: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class GetProfileInfoResponseCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="profileCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="profileIntervalPeriod", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="maxNumberOfIntervals", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="listOfAttributes", Tag=3, Type=typing.List[uint]), |
| ]) |
| |
| profileCount: 'uint' = 0 |
| profileIntervalPeriod: 'uint' = 0 |
| maxNumberOfIntervals: 'uint' = 0 |
| listOfAttributes: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetProfileInfoCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class GetMeasurementProfileResponseCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="startTime", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="profileIntervalPeriod", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numberOfIntervalsDelivered", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeId", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="intervals", Tag=5, Type=typing.List[uint]), |
| ]) |
| |
| startTime: 'uint' = 0 |
| status: 'uint' = 0 |
| profileIntervalPeriod: 'uint' = 0 |
| numberOfIntervalsDelivered: 'uint' = 0 |
| attributeId: 'uint' = 0 |
| intervals: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetMeasurementProfileCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="attributeId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numberOfIntervals", Tag=2, Type=uint), |
| ]) |
| |
| attributeId: 'uint' = 0 |
| startTime: 'uint' = 0 |
| numberOfIntervals: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class MeasurementType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000100 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcVoltageMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000101 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcVoltageMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000102 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000103 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcCurrentMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000104 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcCurrentMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000105 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000106 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcPowerMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000107 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcPowerMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000108 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcVoltageMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000200 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcVoltageDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000201 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000202 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcCurrentDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000203 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcPowerMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000204 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcPowerDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000205 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000300 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcFrequencyMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000301 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcFrequencyMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000302 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NeutralCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000303 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TotalActivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000304 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class TotalReactivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000305 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class TotalApparentPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000306 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Measured1stHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000307 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Measured3rdHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000308 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Measured5thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000309 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Measured7thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Measured9thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Measured11thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase1stHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase3rdHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase5thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase7thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000310 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase9thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000311 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase11thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000312 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AcFrequencyMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000400 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcFrequencyDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000401 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PowerMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000402 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PowerDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000403 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class HarmonicCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000404 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class PhaseHarmonicCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000405 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class InstantaneousVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000500 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class InstantaneousLineCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000501 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class InstantaneousActiveCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000502 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class InstantaneousReactiveCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000503 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class InstantaneousPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000504 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000505 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000506 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000507 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000508 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000509 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ReactivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ApparentPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PowerFactor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000510 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AverageRmsVoltageMeasurementPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000511 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AverageRmsUnderVoltageCounter(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000513 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeOverVoltagePeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000514 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeUnderVoltagePeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000515 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSagPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000516 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSwellPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000517 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcVoltageMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000600 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcVoltageDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000601 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000602 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcCurrentDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000603 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcPowerMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000604 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcPowerDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000605 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OverloadAlarmsMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000700 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class VoltageOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000701 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class CurrentOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000702 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AcOverloadAlarmsMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000800 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcVoltageOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000801 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AcCurrentOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000802 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AcActivePowerOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000803 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AcReactivePowerOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000804 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AverageRmsOverVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000805 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AverageRmsUnderVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000806 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsExtremeOverVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000807 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsExtremeUnderVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000808 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsVoltageSag(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000809 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsVoltageSwell(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000080A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class LineCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000901 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActiveCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000902 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ReactiveCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000903 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsVoltagePhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000905 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMinPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000906 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMaxPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000907 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000908 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMinPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000909 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMaxPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActivePowerPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMinPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMaxPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ReactivePowerPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ApparentPowerPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PowerFactorPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000910 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AverageRmsVoltageMeasurementPeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000911 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AverageRmsOverVoltageCounterPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000912 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AverageRmsUnderVoltageCounterPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000913 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeOverVoltagePeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000914 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeUnderVoltagePeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000915 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSagPeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000916 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSwellPeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000917 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LineCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A01 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActiveCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A02 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ReactiveCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A03 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsVoltagePhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A05 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMinPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A06 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMaxPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A07 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A08 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMinPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A09 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMaxPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActivePowerPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMinPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMaxPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ReactivePowerPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ApparentPowerPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PowerFactorPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A10 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AverageRmsVoltageMeasurementPeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A11 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AverageRmsOverVoltageCounterPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A12 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AverageRmsUnderVoltageCounterPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A13 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeOverVoltagePeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A14 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeUnderVoltagePeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A15 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSagPeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A16 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSwellPeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A17 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| @dataclass |
| class UnitTesting(Cluster): |
| id: typing.ClassVar[int] = 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="boolean", Tag=0x00000000, Type=bool), |
| ClusterObjectFieldDescriptor(Label="bitmap8", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="bitmap16", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="bitmap32", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="bitmap64", Tag=0x00000004, Type=uint), |
| ClusterObjectFieldDescriptor(Label="int8u", Tag=0x00000005, Type=uint), |
| ClusterObjectFieldDescriptor(Label="int16u", Tag=0x00000006, Type=uint), |
| ClusterObjectFieldDescriptor(Label="int24u", Tag=0x00000007, Type=uint), |
| ClusterObjectFieldDescriptor(Label="int32u", Tag=0x00000008, Type=uint), |
| ClusterObjectFieldDescriptor(Label="int40u", Tag=0x00000009, Type=uint), |
| ClusterObjectFieldDescriptor(Label="int48u", Tag=0x0000000A, Type=uint), |
| ClusterObjectFieldDescriptor(Label="int56u", Tag=0x0000000B, Type=uint), |
| ClusterObjectFieldDescriptor(Label="int64u", Tag=0x0000000C, Type=uint), |
| ClusterObjectFieldDescriptor(Label="int8s", Tag=0x0000000D, Type=int), |
| ClusterObjectFieldDescriptor(Label="int16s", Tag=0x0000000E, Type=int), |
| ClusterObjectFieldDescriptor(Label="int24s", Tag=0x0000000F, Type=int), |
| ClusterObjectFieldDescriptor(Label="int32s", Tag=0x00000010, Type=int), |
| ClusterObjectFieldDescriptor(Label="int40s", Tag=0x00000011, Type=int), |
| ClusterObjectFieldDescriptor(Label="int48s", Tag=0x00000012, Type=int), |
| ClusterObjectFieldDescriptor(Label="int56s", Tag=0x00000013, Type=int), |
| ClusterObjectFieldDescriptor(Label="int64s", Tag=0x00000014, Type=int), |
| ClusterObjectFieldDescriptor(Label="enum8", Tag=0x00000015, Type=uint), |
| ClusterObjectFieldDescriptor(Label="enum16", Tag=0x00000016, Type=uint), |
| ClusterObjectFieldDescriptor(Label="floatSingle", Tag=0x00000017, Type=float32), |
| ClusterObjectFieldDescriptor(Label="floatDouble", Tag=0x00000018, Type=float), |
| ClusterObjectFieldDescriptor(Label="octetString", Tag=0x00000019, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="listInt8u", Tag=0x0000001A, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="listOctetString", Tag=0x0000001B, Type=typing.List[bytes]), |
| ClusterObjectFieldDescriptor(Label="listStructOctetString", Tag=0x0000001C, Type=typing.List[UnitTesting.Structs.TestListStructOctet]), |
| ClusterObjectFieldDescriptor(Label="longOctetString", Tag=0x0000001D, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="charString", Tag=0x0000001E, Type=str), |
| ClusterObjectFieldDescriptor(Label="longCharString", Tag=0x0000001F, Type=str), |
| ClusterObjectFieldDescriptor(Label="epochUs", Tag=0x00000020, Type=uint), |
| ClusterObjectFieldDescriptor(Label="epochS", Tag=0x00000021, Type=uint), |
| ClusterObjectFieldDescriptor(Label="vendorId", Tag=0x00000022, Type=uint), |
| ClusterObjectFieldDescriptor(Label="listNullablesAndOptionalsStruct", Tag=0x00000023, Type=typing.List[UnitTesting.Structs.NullablesAndOptionalsStruct]), |
| ClusterObjectFieldDescriptor(Label="enumAttr", Tag=0x00000024, Type=UnitTesting.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="structAttr", Tag=0x00000025, Type=UnitTesting.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor(Label="rangeRestrictedInt8u", Tag=0x00000026, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rangeRestrictedInt8s", Tag=0x00000027, Type=int), |
| ClusterObjectFieldDescriptor(Label="rangeRestrictedInt16u", Tag=0x00000028, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rangeRestrictedInt16s", Tag=0x00000029, Type=int), |
| ClusterObjectFieldDescriptor(Label="listLongOctetString", Tag=0x0000002A, Type=typing.List[bytes]), |
| ClusterObjectFieldDescriptor(Label="listFabricScoped", Tag=0x0000002B, Type=typing.List[UnitTesting.Structs.TestFabricScoped]), |
| ClusterObjectFieldDescriptor(Label="timedWriteBoolean", Tag=0x00000030, Type=bool), |
| ClusterObjectFieldDescriptor(Label="generalErrorBoolean", Tag=0x00000031, Type=bool), |
| ClusterObjectFieldDescriptor(Label="clusterErrorBoolean", Tag=0x00000032, Type=bool), |
| ClusterObjectFieldDescriptor(Label="unsupported", Tag=0x000000FF, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="nullableBoolean", Tag=0x00004000, Type=typing.Union[Nullable, bool]), |
| ClusterObjectFieldDescriptor(Label="nullableBitmap8", Tag=0x00004001, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableBitmap16", Tag=0x00004002, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableBitmap32", Tag=0x00004003, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableBitmap64", Tag=0x00004004, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt8u", Tag=0x00004005, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt16u", Tag=0x00004006, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt24u", Tag=0x00004007, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt32u", Tag=0x00004008, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt40u", Tag=0x00004009, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt48u", Tag=0x0000400A, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt56u", Tag=0x0000400B, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt64u", Tag=0x0000400C, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt8s", Tag=0x0000400D, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt16s", Tag=0x0000400E, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt24s", Tag=0x0000400F, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt32s", Tag=0x00004010, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt40s", Tag=0x00004011, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt48s", Tag=0x00004012, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt56s", Tag=0x00004013, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt64s", Tag=0x00004014, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableEnum8", Tag=0x00004015, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableEnum16", Tag=0x00004016, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableFloatSingle", Tag=0x00004017, Type=typing.Union[Nullable, float32]), |
| ClusterObjectFieldDescriptor(Label="nullableFloatDouble", Tag=0x00004018, Type=typing.Union[Nullable, float]), |
| ClusterObjectFieldDescriptor(Label="nullableOctetString", Tag=0x00004019, Type=typing.Union[Nullable, bytes]), |
| ClusterObjectFieldDescriptor(Label="nullableCharString", Tag=0x0000401E, Type=typing.Union[Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="nullableEnumAttr", Tag=0x00004024, Type=typing.Union[Nullable, UnitTesting.Enums.SimpleEnum]), |
| ClusterObjectFieldDescriptor(Label="nullableStruct", Tag=0x00004025, Type=typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableRangeRestrictedInt8u", Tag=0x00004026, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableRangeRestrictedInt8s", Tag=0x00004027, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableRangeRestrictedInt16u", Tag=0x00004028, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableRangeRestrictedInt16s", Tag=0x00004029, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="writeOnlyInt8u", Tag=0x0000402A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| boolean: 'bool' = None |
| bitmap8: 'uint' = None |
| bitmap16: 'uint' = None |
| bitmap32: 'uint' = None |
| bitmap64: 'uint' = None |
| int8u: 'uint' = None |
| int16u: 'uint' = None |
| int24u: 'uint' = None |
| int32u: 'uint' = None |
| int40u: 'uint' = None |
| int48u: 'uint' = None |
| int56u: 'uint' = None |
| int64u: 'uint' = None |
| int8s: 'int' = None |
| int16s: 'int' = None |
| int24s: 'int' = None |
| int32s: 'int' = None |
| int40s: 'int' = None |
| int48s: 'int' = None |
| int56s: 'int' = None |
| int64s: 'int' = None |
| enum8: 'uint' = None |
| enum16: 'uint' = None |
| floatSingle: 'float32' = None |
| floatDouble: 'float' = None |
| octetString: 'bytes' = None |
| listInt8u: 'typing.List[uint]' = None |
| listOctetString: 'typing.List[bytes]' = None |
| listStructOctetString: 'typing.List[UnitTesting.Structs.TestListStructOctet]' = None |
| longOctetString: 'bytes' = None |
| charString: 'str' = None |
| longCharString: 'str' = None |
| epochUs: 'uint' = None |
| epochS: 'uint' = None |
| vendorId: 'uint' = None |
| listNullablesAndOptionalsStruct: 'typing.List[UnitTesting.Structs.NullablesAndOptionalsStruct]' = None |
| enumAttr: 'UnitTesting.Enums.SimpleEnum' = None |
| structAttr: 'UnitTesting.Structs.SimpleStruct' = None |
| rangeRestrictedInt8u: 'uint' = None |
| rangeRestrictedInt8s: 'int' = None |
| rangeRestrictedInt16u: 'uint' = None |
| rangeRestrictedInt16s: 'int' = None |
| listLongOctetString: 'typing.List[bytes]' = None |
| listFabricScoped: 'typing.List[UnitTesting.Structs.TestFabricScoped]' = None |
| timedWriteBoolean: 'bool' = None |
| generalErrorBoolean: 'bool' = None |
| clusterErrorBoolean: 'bool' = None |
| unsupported: 'typing.Optional[bool]' = None |
| nullableBoolean: 'typing.Union[Nullable, bool]' = None |
| nullableBitmap8: 'typing.Union[Nullable, uint]' = None |
| nullableBitmap16: 'typing.Union[Nullable, uint]' = None |
| nullableBitmap32: 'typing.Union[Nullable, uint]' = None |
| nullableBitmap64: 'typing.Union[Nullable, uint]' = None |
| nullableInt8u: 'typing.Union[Nullable, uint]' = None |
| nullableInt16u: 'typing.Union[Nullable, uint]' = None |
| nullableInt24u: 'typing.Union[Nullable, uint]' = None |
| nullableInt32u: 'typing.Union[Nullable, uint]' = None |
| nullableInt40u: 'typing.Union[Nullable, uint]' = None |
| nullableInt48u: 'typing.Union[Nullable, uint]' = None |
| nullableInt56u: 'typing.Union[Nullable, uint]' = None |
| nullableInt64u: 'typing.Union[Nullable, uint]' = None |
| nullableInt8s: 'typing.Union[Nullable, int]' = None |
| nullableInt16s: 'typing.Union[Nullable, int]' = None |
| nullableInt24s: 'typing.Union[Nullable, int]' = None |
| nullableInt32s: 'typing.Union[Nullable, int]' = None |
| nullableInt40s: 'typing.Union[Nullable, int]' = None |
| nullableInt48s: 'typing.Union[Nullable, int]' = None |
| nullableInt56s: 'typing.Union[Nullable, int]' = None |
| nullableInt64s: 'typing.Union[Nullable, int]' = None |
| nullableEnum8: 'typing.Union[Nullable, uint]' = None |
| nullableEnum16: 'typing.Union[Nullable, uint]' = None |
| nullableFloatSingle: 'typing.Union[Nullable, float32]' = None |
| nullableFloatDouble: 'typing.Union[Nullable, float]' = None |
| nullableOctetString: 'typing.Union[Nullable, bytes]' = None |
| nullableCharString: 'typing.Union[Nullable, str]' = None |
| nullableEnumAttr: 'typing.Union[Nullable, UnitTesting.Enums.SimpleEnum]' = None |
| nullableStruct: 'typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]' = None |
| nullableRangeRestrictedInt8u: 'typing.Union[Nullable, uint]' = None |
| nullableRangeRestrictedInt8s: 'typing.Union[Nullable, int]' = None |
| nullableRangeRestrictedInt16u: 'typing.Union[Nullable, uint]' = None |
| nullableRangeRestrictedInt16s: 'typing.Union[Nullable, int]' = None |
| writeOnlyInt8u: 'typing.Optional[uint]' = None |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class SimpleEnum(MatterIntEnum): |
| kUnspecified = 0x00 |
| kValueA = 0x01 |
| kValueB = 0x02 |
| kValueC = 0x03 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 4, |
| |
| class Bitmaps: |
| class Bitmap16MaskMap(IntFlag): |
| kMaskVal1 = 0x1 |
| kMaskVal2 = 0x2 |
| kMaskVal3 = 0x4 |
| kMaskVal4 = 0x4000 |
| |
| class Bitmap32MaskMap(IntFlag): |
| kMaskVal1 = 0x1 |
| kMaskVal2 = 0x2 |
| kMaskVal3 = 0x4 |
| kMaskVal4 = 0x40000000 |
| |
| class Bitmap64MaskMap(IntFlag): |
| kMaskVal1 = 0x1 |
| kMaskVal2 = 0x2 |
| kMaskVal3 = 0x4 |
| kMaskVal4 = 0x4000000000000000 |
| |
| class Bitmap8MaskMap(IntFlag): |
| kMaskVal1 = 0x1 |
| kMaskVal2 = 0x2 |
| kMaskVal3 = 0x4 |
| kMaskVal4 = 0x40 |
| |
| class SimpleBitmap(IntFlag): |
| kValueA = 0x1 |
| kValueB = 0x2 |
| kValueC = 0x4 |
| |
| class Structs: |
| @dataclass |
| class SimpleStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=UnitTesting.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="d", Tag=3, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="e", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor(Label="f", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="g", Tag=6, Type=float32), |
| ClusterObjectFieldDescriptor(Label="h", Tag=7, Type=float), |
| ]) |
| |
| a: 'uint' = 0 |
| b: 'bool' = False |
| c: 'UnitTesting.Enums.SimpleEnum' = 0 |
| d: 'bytes' = b"" |
| e: 'str' = "" |
| f: 'uint' = 0 |
| g: 'float32' = 0.0 |
| h: 'float' = 0.0 |
| |
| @dataclass |
| class TestFabricScoped(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="fabricSensitiveInt8u", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionalFabricSensitiveInt8u", Tag=2, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="nullableFabricSensitiveInt8u", Tag=3, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalFabricSensitiveInt8u", Tag=4, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="fabricSensitiveCharString", Tag=5, Type=str), |
| ClusterObjectFieldDescriptor(Label="fabricSensitiveStruct", Tag=6, Type=UnitTesting.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor(Label="fabricSensitiveInt8uList", Tag=7, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| fabricSensitiveInt8u: 'uint' = 0 |
| optionalFabricSensitiveInt8u: 'typing.Optional[uint]' = None |
| nullableFabricSensitiveInt8u: 'typing.Union[Nullable, uint]' = NullValue |
| nullableOptionalFabricSensitiveInt8u: 'typing.Union[None, Nullable, uint]' = None |
| fabricSensitiveCharString: 'str' = "" |
| fabricSensitiveStruct: 'UnitTesting.Structs.SimpleStruct' = field(default_factory=lambda: UnitTesting.Structs.SimpleStruct()) |
| fabricSensitiveInt8uList: 'typing.List[uint]' = field(default_factory=lambda: []) |
| fabricIndex: 'uint' = 0 |
| |
| @dataclass |
| class NullablesAndOptionalsStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="nullableInt", Tag=0, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="optionalInt", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalInt", Tag=2, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableString", Tag=3, Type=typing.Union[Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="optionalString", Tag=4, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalString", Tag=5, Type=typing.Union[None, Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="nullableStruct", Tag=6, Type=typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="optionalStruct", Tag=7, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalStruct", Tag=8, Type=typing.Union[None, Nullable, UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableList", Tag=9, Type=typing.Union[Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), |
| ClusterObjectFieldDescriptor(Label="optionalList", Tag=10, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalList", Tag=11, Type=typing.Union[None, Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), |
| ]) |
| |
| nullableInt: 'typing.Union[Nullable, uint]' = NullValue |
| optionalInt: 'typing.Optional[uint]' = None |
| nullableOptionalInt: 'typing.Union[None, Nullable, uint]' = None |
| nullableString: 'typing.Union[Nullable, str]' = NullValue |
| optionalString: 'typing.Optional[str]' = None |
| nullableOptionalString: 'typing.Union[None, Nullable, str]' = None |
| nullableStruct: 'typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]' = NullValue |
| optionalStruct: 'typing.Optional[UnitTesting.Structs.SimpleStruct]' = None |
| nullableOptionalStruct: 'typing.Union[None, Nullable, UnitTesting.Structs.SimpleStruct]' = None |
| nullableList: 'typing.Union[Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]' = NullValue |
| optionalList: 'typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]' = None |
| nullableOptionalList: 'typing.Union[None, Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]' = None |
| |
| @dataclass |
| class NestedStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=UnitTesting.Structs.SimpleStruct), |
| ]) |
| |
| a: 'uint' = 0 |
| b: 'bool' = False |
| c: 'UnitTesting.Structs.SimpleStruct' = field(default_factory=lambda: UnitTesting.Structs.SimpleStruct()) |
| |
| @dataclass |
| class NestedStructList(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="b", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor(Label="c", Tag=2, Type=UnitTesting.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor(Label="d", Tag=3, Type=typing.List[UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="e", Tag=4, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="f", Tag=5, Type=typing.List[bytes]), |
| ClusterObjectFieldDescriptor(Label="g", Tag=6, Type=typing.List[uint]), |
| ]) |
| |
| a: 'uint' = 0 |
| b: 'bool' = False |
| c: 'UnitTesting.Structs.SimpleStruct' = field(default_factory=lambda: UnitTesting.Structs.SimpleStruct()) |
| d: 'typing.List[UnitTesting.Structs.SimpleStruct]' = field(default_factory=lambda: []) |
| e: 'typing.List[uint]' = field(default_factory=lambda: []) |
| f: 'typing.List[bytes]' = field(default_factory=lambda: []) |
| g: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class DoubleNestedStructList(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="a", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), |
| ]) |
| |
| a: 'typing.List[UnitTesting.Structs.NestedStructList]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class TestListStructOctet(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="member1", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="member2", Tag=1, Type=bytes), |
| ]) |
| |
| member1: 'uint' = 0 |
| member2: 'bytes' = b"" |
| |
| class Commands: |
| @dataclass |
| class Test(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class TestSpecificResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="returnValue", Tag=0, Type=uint), |
| ]) |
| |
| returnValue: 'uint' = 0 |
| |
| @dataclass |
| class TestNotHandled(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class TestAddArgumentsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="returnValue", Tag=0, Type=uint), |
| ]) |
| |
| returnValue: 'uint' = 0 |
| |
| @dataclass |
| class TestSpecific(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'TestSpecificResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class TestSimpleArgumentResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000002 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="returnValue", Tag=0, Type=bool), |
| ]) |
| |
| returnValue: 'bool' = False |
| |
| @dataclass |
| class TestUnknownCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class TestStructArrayArgumentResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000003 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=typing.List[UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=typing.List[UnitTesting.Enums.SimpleEnum]), |
| ClusterObjectFieldDescriptor(Label="arg4", Tag=3, Type=typing.List[bool]), |
| ClusterObjectFieldDescriptor(Label="arg5", Tag=4, Type=UnitTesting.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="arg6", Tag=5, Type=bool), |
| ]) |
| |
| arg1: 'typing.List[UnitTesting.Structs.NestedStructList]' = field(default_factory=lambda: []) |
| arg2: 'typing.List[UnitTesting.Structs.SimpleStruct]' = field(default_factory=lambda: []) |
| arg3: 'typing.List[UnitTesting.Enums.SimpleEnum]' = field(default_factory=lambda: []) |
| arg4: 'typing.List[bool]' = field(default_factory=lambda: []) |
| arg5: 'UnitTesting.Enums.SimpleEnum' = 0 |
| arg6: 'bool' = False |
| |
| @dataclass |
| class TestAddArguments(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'TestAddArgumentsResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=uint), |
| ]) |
| |
| arg1: 'uint' = 0 |
| arg2: 'uint' = 0 |
| |
| @dataclass |
| class TestListInt8UReverseResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000004 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[uint]), |
| ]) |
| |
| arg1: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class TestSimpleArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'TestSimpleArgumentResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=bool), |
| ]) |
| |
| arg1: 'bool' = False |
| |
| @dataclass |
| class TestEnumsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000005 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=UnitTesting.Enums.SimpleEnum), |
| ]) |
| |
| arg1: 'uint' = 0 |
| arg2: 'UnitTesting.Enums.SimpleEnum' = 0 |
| |
| @dataclass |
| class TestStructArrayArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000006 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'TestStructArrayArgumentResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=typing.List[UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=typing.List[UnitTesting.Enums.SimpleEnum]), |
| ClusterObjectFieldDescriptor(Label="arg4", Tag=3, Type=typing.List[bool]), |
| ClusterObjectFieldDescriptor(Label="arg5", Tag=4, Type=UnitTesting.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="arg6", Tag=5, Type=bool), |
| ]) |
| |
| arg1: 'typing.List[UnitTesting.Structs.NestedStructList]' = field(default_factory=lambda: []) |
| arg2: 'typing.List[UnitTesting.Structs.SimpleStruct]' = field(default_factory=lambda: []) |
| arg3: 'typing.List[UnitTesting.Enums.SimpleEnum]' = field(default_factory=lambda: []) |
| arg4: 'typing.List[bool]' = field(default_factory=lambda: []) |
| arg5: 'UnitTesting.Enums.SimpleEnum' = 0 |
| arg6: 'bool' = False |
| |
| @dataclass |
| class TestNullableOptionalResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000006 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="wasPresent", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor(Label="wasNull", Tag=1, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="value", Tag=2, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="originalValue", Tag=3, Type=typing.Union[None, Nullable, uint]), |
| ]) |
| |
| wasPresent: 'bool' = False |
| wasNull: 'typing.Optional[bool]' = None |
| value: 'typing.Optional[uint]' = None |
| originalValue: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class TestStructArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000007 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'BooleanResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.SimpleStruct), |
| ]) |
| |
| arg1: 'UnitTesting.Structs.SimpleStruct' = field(default_factory=lambda: UnitTesting.Structs.SimpleStruct()) |
| |
| @dataclass |
| class TestComplexNullableOptionalResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000007 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="nullableIntWasNull", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nullableIntValue", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="optionalIntWasPresent", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor(Label="optionalIntValue", Tag=3, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalIntWasPresent", Tag=4, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalIntWasNull", Tag=5, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalIntValue", Tag=6, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="nullableStringWasNull", Tag=7, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nullableStringValue", Tag=8, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="optionalStringWasPresent", Tag=9, Type=bool), |
| ClusterObjectFieldDescriptor(Label="optionalStringValue", Tag=10, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalStringWasPresent", Tag=11, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalStringWasNull", Tag=12, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalStringValue", Tag=13, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="nullableStructWasNull", Tag=14, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nullableStructValue", Tag=15, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="optionalStructWasPresent", Tag=16, Type=bool), |
| ClusterObjectFieldDescriptor(Label="optionalStructValue", Tag=17, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalStructWasPresent", Tag=18, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalStructWasNull", Tag=19, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalStructValue", Tag=20, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableListWasNull", Tag=21, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nullableListValue", Tag=22, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), |
| ClusterObjectFieldDescriptor(Label="optionalListWasPresent", Tag=23, Type=bool), |
| ClusterObjectFieldDescriptor(Label="optionalListValue", Tag=24, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalListWasPresent", Tag=25, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalListWasNull", Tag=26, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalListValue", Tag=27, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), |
| ]) |
| |
| nullableIntWasNull: 'bool' = False |
| nullableIntValue: 'typing.Optional[uint]' = None |
| optionalIntWasPresent: 'bool' = False |
| optionalIntValue: 'typing.Optional[uint]' = None |
| nullableOptionalIntWasPresent: 'bool' = False |
| nullableOptionalIntWasNull: 'typing.Optional[bool]' = None |
| nullableOptionalIntValue: 'typing.Optional[uint]' = None |
| nullableStringWasNull: 'bool' = False |
| nullableStringValue: 'typing.Optional[str]' = None |
| optionalStringWasPresent: 'bool' = False |
| optionalStringValue: 'typing.Optional[str]' = None |
| nullableOptionalStringWasPresent: 'bool' = False |
| nullableOptionalStringWasNull: 'typing.Optional[bool]' = None |
| nullableOptionalStringValue: 'typing.Optional[str]' = None |
| nullableStructWasNull: 'bool' = False |
| nullableStructValue: 'typing.Optional[UnitTesting.Structs.SimpleStruct]' = None |
| optionalStructWasPresent: 'bool' = False |
| optionalStructValue: 'typing.Optional[UnitTesting.Structs.SimpleStruct]' = None |
| nullableOptionalStructWasPresent: 'bool' = False |
| nullableOptionalStructWasNull: 'typing.Optional[bool]' = None |
| nullableOptionalStructValue: 'typing.Optional[UnitTesting.Structs.SimpleStruct]' = None |
| nullableListWasNull: 'bool' = False |
| nullableListValue: 'typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]' = None |
| optionalListWasPresent: 'bool' = False |
| optionalListValue: 'typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]' = None |
| nullableOptionalListWasPresent: 'bool' = False |
| nullableOptionalListWasNull: 'typing.Optional[bool]' = None |
| nullableOptionalListValue: 'typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]' = None |
| |
| @dataclass |
| class TestNestedStructArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000008 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'BooleanResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.NestedStruct), |
| ]) |
| |
| arg1: 'UnitTesting.Structs.NestedStruct' = field(default_factory=lambda: UnitTesting.Structs.NestedStruct()) |
| |
| @dataclass |
| class BooleanResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000008 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="value", Tag=0, Type=bool), |
| ]) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class TestListStructArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000009 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'BooleanResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.SimpleStruct]), |
| ]) |
| |
| arg1: 'typing.List[UnitTesting.Structs.SimpleStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class SimpleStructResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000009 |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.SimpleStruct), |
| ]) |
| |
| arg1: 'UnitTesting.Structs.SimpleStruct' = field(default_factory=lambda: UnitTesting.Structs.SimpleStruct()) |
| |
| @dataclass |
| class TestListInt8UArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x0000000A |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'BooleanResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[uint]), |
| ]) |
| |
| arg1: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class TestEmitTestEventResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x0000000A |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="value", Tag=0, Type=uint), |
| ]) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TestNestedStructListArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x0000000B |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'BooleanResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.NestedStructList), |
| ]) |
| |
| arg1: 'UnitTesting.Structs.NestedStructList' = field(default_factory=lambda: UnitTesting.Structs.NestedStructList()) |
| |
| @dataclass |
| class TestEmitTestFabricScopedEventResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x0000000B |
| is_client: typing.ClassVar[bool] = False |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="value", Tag=0, Type=uint), |
| ]) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TestListNestedStructListArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x0000000C |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'BooleanResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[UnitTesting.Structs.NestedStructList]), |
| ]) |
| |
| arg1: 'typing.List[UnitTesting.Structs.NestedStructList]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class TestListInt8UReverseRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x0000000D |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'TestListInt8UReverseResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[uint]), |
| ]) |
| |
| arg1: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class TestEnumsRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x0000000E |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'TestEnumsResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=UnitTesting.Enums.SimpleEnum), |
| ]) |
| |
| arg1: 'uint' = 0 |
| arg2: 'UnitTesting.Enums.SimpleEnum' = 0 |
| |
| @dataclass |
| class TestNullableOptionalRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x0000000F |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'TestNullableOptionalResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.Union[None, Nullable, uint]), |
| ]) |
| |
| arg1: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class TestComplexNullableOptionalRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000010 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'TestComplexNullableOptionalResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="nullableInt", Tag=0, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="optionalInt", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalInt", Tag=2, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableString", Tag=3, Type=typing.Union[Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="optionalString", Tag=4, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalString", Tag=5, Type=typing.Union[None, Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="nullableStruct", Tag=6, Type=typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="optionalStruct", Tag=7, Type=typing.Optional[UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalStruct", Tag=8, Type=typing.Union[None, Nullable, UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableList", Tag=9, Type=typing.Union[Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), |
| ClusterObjectFieldDescriptor(Label="optionalList", Tag=10, Type=typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalList", Tag=11, Type=typing.Union[None, Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]), |
| ]) |
| |
| nullableInt: 'typing.Union[Nullable, uint]' = NullValue |
| optionalInt: 'typing.Optional[uint]' = None |
| nullableOptionalInt: 'typing.Union[None, Nullable, uint]' = None |
| nullableString: 'typing.Union[Nullable, str]' = NullValue |
| optionalString: 'typing.Optional[str]' = None |
| nullableOptionalString: 'typing.Union[None, Nullable, str]' = None |
| nullableStruct: 'typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]' = NullValue |
| optionalStruct: 'typing.Optional[UnitTesting.Structs.SimpleStruct]' = None |
| nullableOptionalStruct: 'typing.Union[None, Nullable, UnitTesting.Structs.SimpleStruct]' = None |
| nullableList: 'typing.Union[Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]' = NullValue |
| optionalList: 'typing.Optional[typing.List[UnitTesting.Enums.SimpleEnum]]' = None |
| nullableOptionalList: 'typing.Union[None, Nullable, typing.List[UnitTesting.Enums.SimpleEnum]]' = None |
| |
| @dataclass |
| class SimpleStructEchoRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000011 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'SimpleStructResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=UnitTesting.Structs.SimpleStruct), |
| ]) |
| |
| arg1: 'UnitTesting.Structs.SimpleStruct' = field(default_factory=lambda: UnitTesting.Structs.SimpleStruct()) |
| |
| @dataclass |
| class TimedInvokeRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000012 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @ChipUtility.classproperty |
| def must_use_timed_invoke(cls) -> bool: |
| return True |
| |
| @dataclass |
| class TestSimpleOptionalArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000013 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.Optional[bool]), |
| ]) |
| |
| arg1: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class TestEmitTestEventRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000014 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'TestEmitTestEventResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=UnitTesting.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=bool), |
| ]) |
| |
| arg1: 'uint' = 0 |
| arg2: 'UnitTesting.Enums.SimpleEnum' = 0 |
| arg3: 'bool' = False |
| |
| @dataclass |
| class TestEmitTestFabricScopedEventRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC05 |
| command_id: typing.ClassVar[int] = 0x00000015 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = 'TestEmitTestFabricScopedEventResponse' |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), |
| ]) |
| |
| arg1: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class Boolean(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class Bitmap8(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Bitmap16(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Bitmap32(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Bitmap64(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Int8u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Int16u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Int24u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Int32u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Int40u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Int48u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Int56u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Int64u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Int8s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Int16s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Int24s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Int32s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Int40s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Int48s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Int56s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Int64s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Enum8(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Enum16(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class FloatSingle(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float32) |
| |
| value: 'float32' = 0.0 |
| |
| @dataclass |
| class FloatDouble(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class OctetString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| value: 'bytes' = b"" |
| |
| @dataclass |
| class ListInt8u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ListOctetString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[bytes]) |
| |
| value: 'typing.List[bytes]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ListStructOctetString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[UnitTesting.Structs.TestListStructOctet]) |
| |
| value: 'typing.List[UnitTesting.Structs.TestListStructOctet]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class LongOctetString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| value: 'bytes' = b"" |
| |
| @dataclass |
| class CharString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class LongCharString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class EpochUs(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class EpochS(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class VendorId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ListNullablesAndOptionalsStruct(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[UnitTesting.Structs.NullablesAndOptionalsStruct]) |
| |
| value: 'typing.List[UnitTesting.Structs.NullablesAndOptionalsStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EnumAttr(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=UnitTesting.Enums.SimpleEnum) |
| |
| value: 'UnitTesting.Enums.SimpleEnum' = 0 |
| |
| @dataclass |
| class StructAttr(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=UnitTesting.Structs.SimpleStruct) |
| |
| value: 'UnitTesting.Structs.SimpleStruct' = field(default_factory=lambda: UnitTesting.Structs.SimpleStruct()) |
| |
| @dataclass |
| class RangeRestrictedInt8u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000026 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RangeRestrictedInt8s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000027 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class RangeRestrictedInt16u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000028 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RangeRestrictedInt16s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class ListLongOctetString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[bytes]) |
| |
| value: 'typing.List[bytes]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ListFabricScoped(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[UnitTesting.Structs.TestFabricScoped]) |
| |
| value: 'typing.List[UnitTesting.Structs.TestFabricScoped]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class TimedWriteBoolean(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def must_use_timed_write(cls) -> bool: |
| return True |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class GeneralErrorBoolean(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class ClusterErrorBoolean(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class Unsupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000000FF |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class NullableBoolean(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bool]) |
| |
| value: 'typing.Union[Nullable, bool]' = NullValue |
| |
| @dataclass |
| class NullableBitmap8(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableBitmap16(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableBitmap32(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableBitmap64(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableInt8u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableInt16u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableInt24u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableInt32u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableInt40u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableInt48u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableInt56u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableInt64u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableInt8s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class NullableInt16s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class NullableInt24s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class NullableInt32s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class NullableInt40s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class NullableInt48s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class NullableInt56s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class NullableInt64s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class NullableEnum8(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableEnum16(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableFloatSingle(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, float32]) |
| |
| value: 'typing.Union[Nullable, float32]' = NullValue |
| |
| @dataclass |
| class NullableFloatDouble(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, float]) |
| |
| value: 'typing.Union[Nullable, float]' = NullValue |
| |
| @dataclass |
| class NullableOctetString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes]) |
| |
| value: 'typing.Union[Nullable, bytes]' = NullValue |
| |
| @dataclass |
| class NullableCharString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000401E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, str]) |
| |
| value: 'typing.Union[Nullable, str]' = NullValue |
| |
| @dataclass |
| class NullableEnumAttr(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, UnitTesting.Enums.SimpleEnum]) |
| |
| value: 'typing.Union[Nullable, UnitTesting.Enums.SimpleEnum]' = NullValue |
| |
| @dataclass |
| class NullableStruct(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]) |
| |
| value: 'typing.Union[Nullable, UnitTesting.Structs.SimpleStruct]' = NullValue |
| |
| @dataclass |
| class NullableRangeRestrictedInt8u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004026 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableRangeRestrictedInt8s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004027 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class NullableRangeRestrictedInt16u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004028 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class NullableRangeRestrictedInt16s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class WriteOnlyInt8u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000402A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| class Events: |
| @dataclass |
| class TestEvent(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=2, Type=UnitTesting.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="arg3", Tag=3, Type=bool), |
| ClusterObjectFieldDescriptor(Label="arg4", Tag=4, Type=UnitTesting.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor(Label="arg5", Tag=5, Type=typing.List[UnitTesting.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="arg6", Tag=6, Type=typing.List[UnitTesting.Enums.SimpleEnum]), |
| ]) |
| |
| arg1: 'uint' = 0 |
| arg2: 'UnitTesting.Enums.SimpleEnum' = 0 |
| arg3: 'bool' = False |
| arg4: 'UnitTesting.Structs.SimpleStruct' = field(default_factory=lambda: UnitTesting.Structs.SimpleStruct()) |
| arg5: 'typing.List[UnitTesting.Structs.SimpleStruct]' = field(default_factory=lambda: []) |
| arg6: 'typing.List[UnitTesting.Enums.SimpleEnum]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class TestFabricScopedEvent(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC05 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| |
| |
| @dataclass |
| class FaultInjection(Cluster): |
| id: typing.ClassVar[int] = 0xFFF1FC06 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="eventList", Tag=0x0000FFFA, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| generatedCommandList: 'typing.List[uint]' = None |
| acceptedCommandList: 'typing.List[uint]' = None |
| eventList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'uint' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class FaultType(MatterIntEnum): |
| kUnspecified = 0x00 |
| kSystemFault = 0x01 |
| kInetFault = 0x02 |
| kChipFault = 0x03 |
| kCertFault = 0x04 |
| # All received enum values that are not listed above will be mapped |
| # to kUnknownEnumValue. This is a helper enum value that should only |
| # be used by code to process how it handles receiving and unknown |
| # enum value. This specific should never be transmitted. |
| kUnknownEnumValue = 5, |
| |
| class Commands: |
| @dataclass |
| class FailAtFault(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC06 |
| command_id: typing.ClassVar[int] = 0x00000000 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=FaultInjection.Enums.FaultType), |
| ClusterObjectFieldDescriptor(Label="id", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numCallsToSkip", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numCallsToFail", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="takeMutex", Tag=4, Type=bool), |
| ]) |
| |
| type: 'FaultInjection.Enums.FaultType' = 0 |
| id: 'uint' = 0 |
| numCallsToSkip: 'uint' = 0 |
| numCallsToFail: 'uint' = 0 |
| takeMutex: 'bool' = False |
| |
| @dataclass |
| class FailRandomlyAtFault(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFFF1FC06 |
| command_id: typing.ClassVar[int] = 0x00000001 |
| is_client: typing.ClassVar[bool] = True |
| response_type: typing.ClassVar[str] = None |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=FaultInjection.Enums.FaultType), |
| ClusterObjectFieldDescriptor(Label="id", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="percentage", Tag=2, Type=uint), |
| ]) |
| |
| type: 'FaultInjection.Enums.FaultType' = 0 |
| id: 'uint' = 0 |
| percentage: 'uint' = 0 |
| |
| class Attributes: |
| @dataclass |
| class GeneratedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC06 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF8 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AcceptedCommandList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC06 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFF9 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC06 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFA |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC06 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC06 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFFF1FC06 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |