blob: 6a2d53df035fe1b017ec99baa2c90790d92abde7 [file] [log] [blame]
'''
/*
*
* 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] = 0x00000003
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0x00000000, Type=uint),
ClusterObjectFieldDescriptor(Label="identifyType", Tag=0x00000001, Type=Identify.Enums.IdentifyTypeEnum),
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: 'Identify.Enums.IdentifyTypeEnum' = 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 EffectIdentifierEnum(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 EffectVariantEnum(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 IdentifyTypeEnum(MatterIntEnum):
kNone = 0x00
kLightOutput = 0x01
kVisibleIndicator = 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] = 0x00000003
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] = 0x00000003
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.EffectIdentifierEnum),
ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=Identify.Enums.EffectVariantEnum),
])
effectIdentifier: 'Identify.Enums.EffectIdentifierEnum' = 0
effectVariant: 'Identify.Enums.EffectVariantEnum' = 0
class Attributes:
@dataclass
class IdentifyTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000003
@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 0x00000003
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=Identify.Enums.IdentifyTypeEnum)
value: 'Identify.Enums.IdentifyTypeEnum' = 0
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000003
@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 0x00000003
@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 0x00000003
@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 0x00000003
@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 0x00000003
@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 0x00000003
@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] = 0x00000004
@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] = 0x00000004
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] = 0x00000004
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] = 0x00000004
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] = 0x00000004
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] = 0x00000004
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] = 0x00000004
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] = 0x00000004
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] = 0x00000004
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] = 0x00000004
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] = 0x00000004
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 0x00000004
@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 0x00000004
@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 0x00000004
@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 0x00000004
@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 0x00000004
@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 0x00000004
@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 0x00000004
@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] = 0x00000006
@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.StartUpOnOffEnum]),
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.StartUpOnOffEnum]' = 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 DelayedAllOffEffectVariantEnum(MatterIntEnum):
kDelayedOffFastFade = 0x00
kNoFade = 0x01
kDelayedOffSlowFade = 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 DyingLightEffectVariantEnum(MatterIntEnum):
kDyingLightFadeOff = 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 EffectIdentifierEnum(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 StartUpOnOffEnum(MatterIntEnum):
kOff = 0x00
kOn = 0x01
kToggle = 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
kDeadFrontBehavior = 0x2
kOffOnly = 0x4
class OnOffControlBitmap(IntFlag):
kAcceptOnlyWhenOn = 0x1
class Commands:
@dataclass
class Off(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000006
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] = 0x00000006
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] = 0x00000006
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] = 0x00000006
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.EffectIdentifierEnum),
ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=uint),
])
effectIdentifier: 'OnOff.Enums.EffectIdentifierEnum' = 0
effectVariant: 'uint' = 0
@dataclass
class OnWithRecallGlobalScene(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000006
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] = 0x00000006
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 0x00000006
@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 0x00000006
@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 0x00000006
@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 0x00000006
@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 0x00000006
@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.StartUpOnOffEnum])
value: 'typing.Union[None, Nullable, OnOff.Enums.StartUpOnOffEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000006
@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 0x00000006
@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 0x00000006
@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 0x00000006
@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 0x00000006
@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 0x00000006
@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] = 0x00000007
@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 0x00000007
@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 0x00000007
@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 0x00000007
@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 0x00000007
@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 0x00000007
@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 0x00000007
@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 0x00000007
@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 0x00000007
@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] = 0x00000008
@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 MoveModeEnum(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 StepModeEnum(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 OptionsBitmap(IntFlag):
kExecuteIfOff = 0x1
kCoupleColorTempToLevel = 0x2
class Commands:
@dataclass
class MoveToLevel(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000008
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] = 0x00000008
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.MoveModeEnum),
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.MoveModeEnum' = 0
rate: 'typing.Union[Nullable, uint]' = NullValue
optionsMask: 'uint' = 0
optionsOverride: 'uint' = 0
@dataclass
class Step(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000008
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.StepModeEnum),
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.StepModeEnum' = 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] = 0x00000008
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] = 0x00000008
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] = 0x00000008
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.MoveModeEnum),
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.MoveModeEnum' = 0
rate: 'typing.Union[Nullable, uint]' = NullValue
optionsMask: 'uint' = 0
optionsOverride: 'uint' = 0
@dataclass
class StepWithOnOff(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000008
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.StepModeEnum),
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.StepModeEnum' = 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] = 0x00000008
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] = 0x00000008
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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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 0x00000008
@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] = 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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 0x0000000F
@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] = 0x0000001C
@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 0x0000001C
@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 0x0000001C
@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 0x0000001C
@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 0x0000001C
@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 0x0000001C
@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 0x0000001C
@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] = 0x0000001D
@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="tagList", Tag=0x00000004, Type=typing.Optional[typing.List[Descriptor.Structs.SemanticTagStruct]]),
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
tagList: 'typing.Optional[typing.List[Descriptor.Structs.SemanticTagStruct]]' = 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):
kTagList = 0x1
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
@dataclass
class SemanticTagStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="namespaceID", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="tag", Tag=2, Type=uint),
ClusterObjectFieldDescriptor(Label="label", Tag=3, Type=typing.Union[None, Nullable, str]),
])
mfgCode: 'typing.Union[Nullable, uint]' = NullValue
namespaceID: 'uint' = 0
tag: 'uint' = 0
label: 'typing.Union[None, Nullable, str]' = None
class Attributes:
@dataclass
class DeviceTypeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000001D
@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 0x0000001D
@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 0x0000001D
@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 0x0000001D
@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 TagList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000001D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[Descriptor.Structs.SemanticTagStruct]])
value: 'typing.Optional[typing.List[Descriptor.Structs.SemanticTagStruct]]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000001D
@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 0x0000001D
@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 0x0000001D
@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 0x0000001D
@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 0x0000001D
@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 0x0000001D
@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] = 0x0000001E
@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 0x0000001E
@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 0x0000001E
@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 0x0000001E
@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 0x0000001E
@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 0x0000001E
@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 0x0000001E
@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 0x0000001E
@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] = 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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 0x0000001F
@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] = 0x00000025
@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] = 0x00000025
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] = 0x00000025
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] = 0x00000025
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] = 0x00000025
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] = 0x00000025
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] = 0x00000025
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] = 0x00000025
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] = 0x00000025
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] = 0x00000025
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] = 0x00000025
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] = 0x00000025
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] = 0x00000025
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 0x00000025
@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 0x00000025
@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 0x00000025
@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 0x00000025
@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 0x00000025
@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 0x00000025
@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 0x00000025
@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 0x00000025
@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 0x00000025
@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 0x00000025
@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 0x00000025
@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] = 0x00000028
@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="specificationVersion", Tag=0x00000015, Type=uint),
ClusterObjectFieldDescriptor(Label="maxPathsPerInvoke", Tag=0x00000016, 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),
])
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
specificationVersion: 'uint' = None
maxPathsPerInvoke: '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 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] = 0x00000028
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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 SpecificationVersion(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000028
@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 MaxPathsPerInvoke(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000028
@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 GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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 0x00000028
@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] = 0x00000029
@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 ApplyUpdateActionEnum(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 DownloadProtocolEnum(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 StatusEnum(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] = 0x00000029
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.DownloadProtocolEnum]),
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.DownloadProtocolEnum]' = 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] = 0x00000029
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.StatusEnum),
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.StatusEnum' = 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] = 0x00000029
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] = 0x00000029
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.ApplyUpdateActionEnum),
ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=uint),
])
action: 'OtaSoftwareUpdateProvider.Enums.ApplyUpdateActionEnum' = 0
delayedActionTime: 'uint' = 0
@dataclass
class NotifyUpdateApplied(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000029
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 0x00000029
@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 0x00000029
@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 0x00000029
@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 0x00000029
@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 0x00000029
@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 0x00000029
@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] = 0x0000002A
@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.UpdateStateEnum),
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.UpdateStateEnum' = 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 AnnouncementReasonEnum(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 ChangeReasonEnum(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 UpdateStateEnum(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] = 0x0000002A
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.AnnouncementReasonEnum),
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.AnnouncementReasonEnum' = 0
metadataForNode: 'typing.Optional[bytes]' = None
endpoint: 'uint' = 0
class Attributes:
@dataclass
class DefaultOTAProviders(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000002A
@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 0x0000002A
@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 0x0000002A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=OtaSoftwareUpdateRequestor.Enums.UpdateStateEnum)
value: 'OtaSoftwareUpdateRequestor.Enums.UpdateStateEnum' = 0
@dataclass
class UpdateStateProgress(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000002A
@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 0x0000002A
@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 0x0000002A
@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 0x0000002A
@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 0x0000002A
@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 0x0000002A
@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 0x0000002A
@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 0x0000002A
@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.UpdateStateEnum),
ClusterObjectFieldDescriptor(Label="newState", Tag=1, Type=OtaSoftwareUpdateRequestor.Enums.UpdateStateEnum),
ClusterObjectFieldDescriptor(Label="reason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.ChangeReasonEnum),
ClusterObjectFieldDescriptor(Label="targetSoftwareVersion", Tag=3, Type=typing.Union[Nullable, uint]),
])
previousState: 'OtaSoftwareUpdateRequestor.Enums.UpdateStateEnum' = 0
newState: 'OtaSoftwareUpdateRequestor.Enums.UpdateStateEnum' = 0
reason: 'OtaSoftwareUpdateRequestor.Enums.ChangeReasonEnum' = 0
targetSoftwareVersion: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
class VersionApplied(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000002A
@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 0x0000002A
@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] = 0x0000002B
@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 0x0000002B
@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 0x0000002B
@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 0x0000002B
@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 0x0000002B
@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 0x0000002B
@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 0x0000002B
@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 0x0000002B
@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 0x0000002B
@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] = 0x0000002C
@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
kUseActiveLocale = 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 = 12,
class HourFormatEnum(MatterIntEnum):
k12hr = 0x00
k24hr = 0x01
kUseActiveLocale = 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 Bitmaps:
class Feature(IntFlag):
kCalendarFormat = 0x1
class Attributes:
@dataclass
class HourFormat(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000002C
@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 0x0000002C
@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 0x0000002C
@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 0x0000002C
@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 0x0000002C
@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 0x0000002C
@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 0x0000002C
@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 0x0000002C
@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 0x0000002C
@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] = 0x0000002D
@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 0x0000002D
@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 0x0000002D
@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 0x0000002D
@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 0x0000002D
@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 0x0000002D
@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 0x0000002D
@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 0x0000002D
@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] = 0x0000002E
@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 0x0000002E
@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 0x0000002E
@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 0x0000002E
@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 0x0000002E
@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 0x0000002E
@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 0x0000002E
@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 0x0000002E
@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] = 0x0000002F
@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="endpointList", Tag=0x0000001F, 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),
])
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
endpointList: '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 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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 EndpointList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000001F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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 0x0000002F
@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] = 0x00000030
@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] = 0x00000030
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] = 0x00000030
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] = 0x00000030
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] = 0x00000030
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] = 0x00000030
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] = 0x00000030
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 0x00000030
@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 0x00000030
@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 0x00000030
@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 0x00000030
@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 0x00000030
@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 0x00000030
@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 0x00000030
@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 0x00000030
@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 0x00000030
@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 0x00000030
@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 0x00000030
@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] = 0x00000031
@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.NetworkInfoStruct]),
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.NetworkCommissioningStatusEnum]),
ClusterObjectFieldDescriptor(Label="lastNetworkID", Tag=0x00000006, Type=typing.Union[Nullable, bytes]),
ClusterObjectFieldDescriptor(Label="lastConnectErrorValue", Tag=0x00000007, Type=typing.Union[Nullable, int]),
ClusterObjectFieldDescriptor(Label="supportedWiFiBands", Tag=0x00000008, Type=typing.Optional[typing.List[NetworkCommissioning.Enums.WiFiBandEnum]]),
ClusterObjectFieldDescriptor(Label="supportedThreadFeatures", Tag=0x00000009, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="threadVersion", 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),
])
maxNetworks: 'uint' = None
networks: 'typing.List[NetworkCommissioning.Structs.NetworkInfoStruct]' = None
scanMaxTimeSeconds: 'typing.Optional[uint]' = None
connectMaxTimeSeconds: 'typing.Optional[uint]' = None
interfaceEnabled: 'bool' = None
lastNetworkingStatus: 'typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatusEnum]' = None
lastNetworkID: 'typing.Union[Nullable, bytes]' = None
lastConnectErrorValue: 'typing.Union[Nullable, int]' = None
supportedWiFiBands: 'typing.Optional[typing.List[NetworkCommissioning.Enums.WiFiBandEnum]]' = None
supportedThreadFeatures: 'typing.Optional[uint]' = None
threadVersion: '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 NetworkCommissioningStatusEnum(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 WiFiBandEnum(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
kPerDeviceCredentials = 0x8
class ThreadCapabilitiesBitmap(IntFlag):
kIsBorderRouterCapable = 0x1
kIsRouterCapable = 0x2
kIsSleepyEndDeviceCapable = 0x4
kIsFullThreadDevice = 0x8
kIsSynchronizedSleepyEndDeviceCapable = 0x10
class WiFiSecurityBitmap(IntFlag):
kUnencrypted = 0x1
kWep = 0x2
kWpaPersonal = 0x4
kWpa2Personal = 0x8
kWpa3Personal = 0x10
kWpa3MatterPdc = 0x20
class Structs:
@dataclass
class NetworkInfoStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes),
ClusterObjectFieldDescriptor(Label="connected", Tag=1, Type=bool),
ClusterObjectFieldDescriptor(Label="networkIdentifier", Tag=2, Type=typing.Union[None, Nullable, bytes]),
ClusterObjectFieldDescriptor(Label="clientIdentifier", Tag=3, Type=typing.Union[None, Nullable, bytes]),
])
networkID: 'bytes' = b""
connected: 'bool' = False
networkIdentifier: 'typing.Union[None, Nullable, bytes]' = None
clientIdentifier: 'typing.Union[None, Nullable, bytes]' = None
@dataclass
class ThreadInterfaceScanResultStruct(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 WiFiInterfaceScanResultStruct(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.WiFiBandEnum),
ClusterObjectFieldDescriptor(Label="rssi", Tag=5, Type=int),
])
security: 'uint' = 0
ssid: 'bytes' = b""
bssid: 'bytes' = b""
channel: 'uint' = 0
wiFiBand: 'NetworkCommissioning.Enums.WiFiBandEnum' = 0
rssi: 'int' = 0
class Commands:
@dataclass
class ScanNetworks(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000031
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] = 0x00000031
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.NetworkCommissioningStatusEnum),
ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="wiFiScanResults", Tag=2, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResultStruct]]),
ClusterObjectFieldDescriptor(Label="threadScanResults", Tag=3, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResultStruct]]),
])
networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatusEnum' = 0
debugText: 'typing.Optional[str]' = None
wiFiScanResults: 'typing.Optional[typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResultStruct]]' = None
threadScanResults: 'typing.Optional[typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResultStruct]]' = None
@dataclass
class AddOrUpdateWiFiNetwork(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000031
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]),
ClusterObjectFieldDescriptor(Label="networkIdentity", Tag=3, Type=typing.Optional[bytes]),
ClusterObjectFieldDescriptor(Label="clientIdentifier", Tag=4, Type=typing.Optional[bytes]),
ClusterObjectFieldDescriptor(Label="possessionNonce", Tag=5, Type=typing.Optional[bytes]),
])
ssid: 'bytes' = b""
credentials: 'bytes' = b""
breadcrumb: 'typing.Optional[uint]' = None
networkIdentity: 'typing.Optional[bytes]' = None
clientIdentifier: 'typing.Optional[bytes]' = None
possessionNonce: 'typing.Optional[bytes]' = None
@dataclass
class AddOrUpdateThreadNetwork(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000031
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] = 0x00000031
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] = 0x00000031
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.NetworkCommissioningStatusEnum),
ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="networkIndex", Tag=2, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="clientIdentity", Tag=3, Type=typing.Optional[bytes]),
ClusterObjectFieldDescriptor(Label="possessionSignature", Tag=4, Type=typing.Optional[bytes]),
])
networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatusEnum' = 0
debugText: 'typing.Optional[str]' = None
networkIndex: 'typing.Optional[uint]' = None
clientIdentity: 'typing.Optional[bytes]' = None
possessionSignature: 'typing.Optional[bytes]' = None
@dataclass
class ConnectNetwork(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000031
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] = 0x00000031
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.NetworkCommissioningStatusEnum),
ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="errorValue", Tag=2, Type=typing.Union[Nullable, int]),
])
networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatusEnum' = 0
debugText: 'typing.Optional[str]' = None
errorValue: 'typing.Union[Nullable, int]' = NullValue
@dataclass
class ReorderNetwork(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000031
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
@dataclass
class QueryIdentity(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000031
command_id: typing.ClassVar[int] = 0x00000009
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'QueryIdentityResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="keyIdentifier", Tag=0, Type=bytes),
ClusterObjectFieldDescriptor(Label="possessionNonce", Tag=1, Type=typing.Optional[bytes]),
])
keyIdentifier: 'bytes' = b""
possessionNonce: 'typing.Optional[bytes]' = None
@dataclass
class QueryIdentityResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000031
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="identity", Tag=0, Type=bytes),
ClusterObjectFieldDescriptor(Label="possessionSignature", Tag=1, Type=typing.Optional[bytes]),
])
identity: 'bytes' = b""
possessionSignature: 'typing.Optional[bytes]' = None
class Attributes:
@dataclass
class MaxNetworks(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000031
@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 0x00000031
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[NetworkCommissioning.Structs.NetworkInfoStruct])
value: 'typing.List[NetworkCommissioning.Structs.NetworkInfoStruct]' = field(default_factory=lambda: [])
@dataclass
class ScanMaxTimeSeconds(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000031
@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 0x00000031
@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 0x00000031
@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 0x00000031
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatusEnum])
value: 'typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatusEnum]' = NullValue
@dataclass
class LastNetworkID(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000031
@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 0x00000031
@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 SupportedWiFiBands(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000031
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[NetworkCommissioning.Enums.WiFiBandEnum]])
value: 'typing.Optional[typing.List[NetworkCommissioning.Enums.WiFiBandEnum]]' = None
@dataclass
class SupportedThreadFeatures(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000031
@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 ThreadVersion(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000031
@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 0x00000031
@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 0x00000031
@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 0x00000031
@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 0x00000031
@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 0x00000031
@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 0x00000031
@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] = 0x00000032
@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] = 0x00000032
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] = 0x00000032
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 0x00000032
@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 0x00000032
@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 0x00000032
@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 0x00000032
@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 0x00000032
@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 0x00000032
@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] = 0x00000033
@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] = 0x00000033
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
@dataclass
class TimeSnapshot(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000033
command_id: typing.ClassVar[int] = 0x00000001
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'TimeSnapshotResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class TimeSnapshotResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000033
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="systemTimeMs", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="posixTimeMs", Tag=1, Type=typing.Union[Nullable, uint]),
])
systemTimeMs: 'uint' = 0
posixTimeMs: 'typing.Union[Nullable, uint]' = NullValue
class Attributes:
@dataclass
class NetworkInterfaces(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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 0x00000033
@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] = 0x00000034
@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] = 0x00000034
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 0x00000034
@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 0x00000034
@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 0x00000034
@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 0x00000034
@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 0x00000034
@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 0x00000034
@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 0x00000034
@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 0x00000034
@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 0x00000034
@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 0x00000034
@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 0x00000034
@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] = 0x00000035
@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.RoutingRoleEnum]),
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.NeighborTableStruct]),
ClusterObjectFieldDescriptor(Label="routeTable", Tag=0x00000008, Type=typing.List[ThreadNetworkDiagnostics.Structs.RouteTableStruct]),
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.NetworkFaultEnum]),
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.RoutingRoleEnum]' = 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.NeighborTableStruct]' = None
routeTable: 'typing.List[ThreadNetworkDiagnostics.Structs.RouteTableStruct]' = 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.NetworkFaultEnum]' = 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 NetworkFaultEnum(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 RoutingRoleEnum(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 NeighborTableStruct(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 RouteTableStruct(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] = 0x00000035
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 0x00000035
@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 0x00000035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRoleEnum])
value: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRoleEnum]' = NullValue
@dataclass
class NetworkName(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.NeighborTableStruct])
value: 'typing.List[ThreadNetworkDiagnostics.Structs.NeighborTableStruct]' = field(default_factory=lambda: [])
@dataclass
class RouteTable(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.RouteTableStruct])
value: 'typing.List[ThreadNetworkDiagnostics.Structs.RouteTableStruct]' = field(default_factory=lambda: [])
@dataclass
class PartitionId(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000003E
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFaultEnum])
value: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFaultEnum]' = field(default_factory=lambda: [])
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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 0x00000035
@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.NetworkFaultEnum]),
ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFaultEnum]),
])
current: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFaultEnum]' = field(default_factory=lambda: [])
previous: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFaultEnum]' = field(default_factory=lambda: [])
@dataclass
class WiFiNetworkDiagnostics(Cluster):
id: typing.ClassVar[int] = 0x00000036
@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] = 0x00000036
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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@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 0x00000036
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="associationFailureCause", Tag=0, Type=WiFiNetworkDiagnostics.Enums.AssociationFailureCauseEnum),
ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint),
])
associationFailureCause: 'WiFiNetworkDiagnostics.Enums.AssociationFailureCauseEnum' = 0
status: 'uint' = 0
@dataclass
class ConnectionStatus(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000036
@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] = 0x00000037
@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] = 0x00000037
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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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 0x00000037
@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] = 0x00000038
@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] = 0x00000038
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] = 0x00000038
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] = 0x00000038
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] = 0x00000038
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] = 0x00000038
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] = 0x00000038
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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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 0x00000038
@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] = 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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 0x00000039
@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] = 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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 0x0000003B
@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] = 0x0000003C
@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 Bitmaps:
class Feature(IntFlag):
kBasic = 0x1
class Commands:
@dataclass
class OpenCommissioningWindow(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000003C
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] = 0x0000003C
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] = 0x0000003C
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 0x0000003C
@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 0x0000003C
@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 0x0000003C
@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 0x0000003C
@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 0x0000003C
@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 0x0000003C
@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 0x0000003C
@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 0x0000003C
@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 0x0000003C
@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] = 0x0000003E
@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] = 0x0000003E
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] = 0x0000003E
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] = 0x0000003E
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] = 0x0000003E
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] = 0x0000003E
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] = 0x0000003E
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] = 0x0000003E
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] = 0x0000003E
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] = 0x0000003E
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] = 0x0000003E
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] = 0x0000003E
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] = 0x0000003E
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 0x0000003E
@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 0x0000003E
@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 0x0000003E
@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 0x0000003E
@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 0x0000003E
@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 0x0000003E
@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 0x0000003E
@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 0x0000003E
@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 0x0000003E
@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 0x0000003E
@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 0x0000003E
@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 0x0000003E
@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] = 0x0000003F
@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 Bitmaps:
class Feature(IntFlag):
kCacheAndSync = 0x1
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] = 0x0000003F
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] = 0x0000003F
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] = 0x0000003F
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] = 0x0000003F
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] = 0x0000003F
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=[
])
@dataclass
class KeySetReadAllIndicesResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000003F
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 0x0000003F
@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 0x0000003F
@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 0x0000003F
@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 0x0000003F
@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 0x0000003F
@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 0x0000003F
@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 0x0000003F
@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 0x0000003F
@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 0x0000003F
@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 0x0000003F
@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] = 0x00000040
@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 0x00000040
@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 0x00000040
@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 0x00000040
@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 0x00000040
@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 0x00000040
@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 0x00000040
@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 0x00000040
@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] = 0x00000041
@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 0x00000041
@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 0x00000041
@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 0x00000041
@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 0x00000041
@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 0x00000041
@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 0x00000041
@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 0x00000041
@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] = 0x00000042
@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 0x00000042
@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 0x00000042
@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 0x00000042
@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 0x00000042
@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 0x00000042
@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 0x00000042
@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] = 0x00000043
@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 0x00000043
@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 0x00000043
@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 0x00000043
@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 0x00000043
@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 0x00000043
@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 0x00000043
@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] = 0x00000044
@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 0x00000044
@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 0x00000044
@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 0x00000044
@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 0x00000044
@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 0x00000044
@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 0x00000044
@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] = 0x00000045
@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 0x00000045
@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 0x00000045
@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 0x00000045
@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 0x00000045
@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 0x00000045
@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 0x00000045
@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 0x00000045
@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 0x00000045
@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] = 0x00000046
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="idleModeDuration", Tag=0x00000000, Type=uint),
ClusterObjectFieldDescriptor(Label="activeModeDuration", 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="userActiveModeTriggerHint", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="userActiveModeTriggerInstruction", Tag=0x00000007, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="operatingMode", Tag=0x00000008, Type=typing.Optional[IcdManagement.Enums.OperatingModeEnum]),
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),
])
idleModeDuration: 'uint' = None
activeModeDuration: 'uint' = None
activeModeThreshold: 'uint' = None
registeredClients: 'typing.Optional[typing.List[IcdManagement.Structs.MonitoringRegistrationStruct]]' = None
ICDCounter: 'typing.Optional[uint]' = None
clientsSupportedPerFabric: 'typing.Optional[uint]' = None
userActiveModeTriggerHint: 'typing.Optional[uint]' = None
userActiveModeTriggerInstruction: 'typing.Optional[str]' = None
operatingMode: 'typing.Optional[IcdManagement.Enums.OperatingModeEnum]' = 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 OperatingModeEnum(MatterIntEnum):
kSit = 0x00
kLit = 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):
kCheckInProtocolSupport = 0x1
kUserActiveModeTrigger = 0x2
kLongIdleTimeSupport = 0x4
class UserActiveModeTriggerBitmap(IntFlag):
kPowerCycle = 0x1
kSettingsMenu = 0x2
kCustomInstruction = 0x4
kDeviceManual = 0x8
kActuateSensor = 0x10
kActuateSensorSeconds = 0x20
kActuateSensorTimes = 0x40
kActuateSensorLightsBlink = 0x80
kResetButton = 0x100
kResetButtonLightsBlink = 0x200
kResetButtonSeconds = 0x400
kResetButtonTimes = 0x800
kSetupButton = 0x1000
kSetupButtonSeconds = 0x2000
kSetupButtonLightsBlink = 0x4000
kSetupButtonTimes = 0x8000
kAppDefinedButton = 0x10000
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="fabricIndex", Tag=254, Type=uint),
])
checkInNodeID: 'uint' = 0
monitoredSubject: 'uint' = 0
fabricIndex: 'uint' = 0
class Commands:
@dataclass
class RegisterClient(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000046
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] = 0x00000046
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] = 0x00000046
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="verificationKey", Tag=1, Type=typing.Optional[bytes]),
])
checkInNodeID: 'uint' = 0
verificationKey: 'typing.Optional[bytes]' = None
@dataclass
class StayActiveRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000046
command_id: typing.ClassVar[int] = 0x00000003
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'StayActiveResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class StayActiveResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000046
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="promisedActiveDuration", Tag=0, Type=uint),
])
promisedActiveDuration: 'uint' = 0
class Attributes:
@dataclass
class IdleModeDuration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000046
@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 ActiveModeDuration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000046
@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 0x00000046
@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 0x00000046
@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 0x00000046
@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 0x00000046
@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 UserActiveModeTriggerHint(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000046
@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 UserActiveModeTriggerInstruction(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000046
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
value: 'typing.Optional[str]' = None
@dataclass
class OperatingMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000046
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[IcdManagement.Enums.OperatingModeEnum])
value: 'typing.Optional[IcdManagement.Enums.OperatingModeEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000046
@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 0x00000046
@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 0x00000046
@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 0x00000046
@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 0x00000046
@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 0x00000046
@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 OnTransitionToActiveMode(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000046
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class Timer(Cluster):
id: typing.ClassVar[int] = 0x00000047
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="setTime", Tag=0x00000000, Type=uint),
ClusterObjectFieldDescriptor(Label="timeRemaining", Tag=0x00000001, Type=uint),
ClusterObjectFieldDescriptor(Label="timerState", Tag=0x00000002, Type=Timer.Enums.TimerStatusEnum),
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),
])
setTime: 'uint' = None
timeRemaining: 'uint' = None
timerState: 'Timer.Enums.TimerStatusEnum' = 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 TimerStatusEnum(MatterIntEnum):
kRunning = 0x00
kPaused = 0x01
kExpired = 0x02
kReady = 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):
kReset = 0x1
class Commands:
@dataclass
class SetTimer(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000047
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="newTime", Tag=0, Type=uint),
])
newTime: 'uint' = 0
@dataclass
class ResetTimer(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000047
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 AddTime(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000047
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="additionalTime", Tag=0, Type=uint),
])
additionalTime: 'uint' = 0
@dataclass
class ReduceTime(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000047
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="timeReduction", Tag=0, Type=uint),
])
timeReduction: 'uint' = 0
class Attributes:
@dataclass
class SetTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000047
@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 TimeRemaining(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000047
@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 TimerState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000047
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=Timer.Enums.TimerStatusEnum)
value: 'Timer.Enums.TimerStatusEnum' = 0
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000047
@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 0x00000047
@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 0x00000047
@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 0x00000047
@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 0x00000047
@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 0x00000047
@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 OvenCavityOperationalState(Cluster):
id: typing.ClassVar[int] = 0x00000048
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="phaseList", Tag=0x00000000, Type=typing.Union[Nullable, typing.List[str]]),
ClusterObjectFieldDescriptor(Label="currentPhase", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="countdownTime", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="operationalStateList", Tag=0x00000003, Type=typing.List[OvenCavityOperationalState.Structs.OperationalStateStruct]),
ClusterObjectFieldDescriptor(Label="operationalState", Tag=0x00000004, Type=OvenCavityOperationalState.Enums.OperationalStateEnum),
ClusterObjectFieldDescriptor(Label="operationalError", Tag=0x00000005, Type=OvenCavityOperationalState.Structs.ErrorStateStruct),
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),
])
phaseList: 'typing.Union[Nullable, typing.List[str]]' = None
currentPhase: 'typing.Union[Nullable, uint]' = None
countdownTime: 'typing.Union[None, Nullable, uint]' = None
operationalStateList: 'typing.List[OvenCavityOperationalState.Structs.OperationalStateStruct]' = None
operationalState: 'OvenCavityOperationalState.Enums.OperationalStateEnum' = None
operationalError: 'OvenCavityOperationalState.Structs.ErrorStateStruct' = 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 ErrorStateEnum(MatterIntEnum):
kNoError = 0x00
kUnableToStartOrResume = 0x01
kUnableToCompleteOperation = 0x02
kCommandInvalidInState = 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 OperationalStateEnum(MatterIntEnum):
kStopped = 0x00
kRunning = 0x01
kPaused = 0x02
kError = 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 ErrorStateStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="errorStateID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="errorStateLabel", Tag=1, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="errorStateDetails", Tag=2, Type=typing.Optional[str]),
])
errorStateID: 'uint' = 0
errorStateLabel: 'typing.Optional[str]' = None
errorStateDetails: 'typing.Optional[str]' = None
@dataclass
class OperationalStateStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="operationalStateID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="operationalStateLabel", Tag=1, Type=typing.Optional[str]),
])
operationalStateID: 'uint' = 0
operationalStateLabel: 'typing.Optional[str]' = None
class Commands:
@dataclass
class Pause(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000048
command_id: typing.ClassVar[int] = 0x00000000
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class Stop(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000048
command_id: typing.ClassVar[int] = 0x00000001
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class Start(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000048
command_id: typing.ClassVar[int] = 0x00000002
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class Resume(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000048
command_id: typing.ClassVar[int] = 0x00000003
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class OperationalCommandResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000048
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="commandResponseState", Tag=0, Type=OvenCavityOperationalState.Structs.ErrorStateStruct),
])
commandResponseState: 'OvenCavityOperationalState.Structs.ErrorStateStruct' = field(default_factory=lambda: OvenCavityOperationalState.Structs.ErrorStateStruct())
class Attributes:
@dataclass
class PhaseList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000048
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, typing.List[str]])
value: 'typing.Union[Nullable, typing.List[str]]' = NullValue
@dataclass
class CurrentPhase(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000048
@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 CountdownTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000048
@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 OperationalStateList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000048
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[OvenCavityOperationalState.Structs.OperationalStateStruct])
value: 'typing.List[OvenCavityOperationalState.Structs.OperationalStateStruct]' = field(default_factory=lambda: [])
@dataclass
class OperationalState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000048
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=OvenCavityOperationalState.Enums.OperationalStateEnum)
value: 'OvenCavityOperationalState.Enums.OperationalStateEnum' = 0
@dataclass
class OperationalError(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000048
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=OvenCavityOperationalState.Structs.ErrorStateStruct)
value: 'OvenCavityOperationalState.Structs.ErrorStateStruct' = field(default_factory=lambda: OvenCavityOperationalState.Structs.ErrorStateStruct())
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000048
@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 0x00000048
@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 0x00000048
@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 0x00000048
@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 0x00000048
@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 0x00000048
@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 OperationalError(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000048
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="errorState", Tag=0, Type=OvenCavityOperationalState.Structs.ErrorStateStruct),
])
errorState: 'OvenCavityOperationalState.Structs.ErrorStateStruct' = field(default_factory=lambda: OvenCavityOperationalState.Structs.ErrorStateStruct())
@dataclass
class OperationCompletion(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000048
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="completionErrorCode", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="totalOperationalTime", Tag=1, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="pausedTime", Tag=2, Type=typing.Union[None, Nullable, uint]),
])
completionErrorCode: 'uint' = 0
totalOperationalTime: 'typing.Union[None, Nullable, uint]' = None
pausedTime: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class OvenMode(Cluster):
id: typing.ClassVar[int] = 0x00000049
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000000, Type=typing.List[OvenMode.Structs.ModeOptionStruct]),
ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000001, Type=uint),
ClusterObjectFieldDescriptor(Label="startUpMode", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000003, 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),
])
supportedModes: 'typing.List[OvenMode.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 Enums:
class ModeTag(MatterIntEnum):
kBake = 0x4000
kConvection = 0x4001
kGrill = 0x4002
kRoast = 0x4003
kClean = 0x4004
kConvectionBake = 0x4005
kConvectionRoast = 0x4006
kWarming = 0x4007
kProofing = 0x4008
# 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 Feature(IntFlag):
kOnOff = 0x1
class Structs:
@dataclass
class ModeTagStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=uint),
])
mfgCode: 'typing.Optional[uint]' = None
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="modeTags", Tag=2, Type=typing.List[OvenMode.Structs.ModeTagStruct]),
])
label: 'str' = ""
mode: 'uint' = 0
modeTags: 'typing.List[OvenMode.Structs.ModeTagStruct]' = field(default_factory=lambda: [])
class Commands:
@dataclass
class ChangeToMode(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000049
command_id: typing.ClassVar[int] = 0x00000000
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'ChangeToModeResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint),
])
newMode: 'uint' = 0
@dataclass
class ChangeToModeResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000049
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="statusText", Tag=1, Type=typing.Optional[str]),
])
status: 'uint' = 0
statusText: 'typing.Optional[str]' = None
class Attributes:
@dataclass
class SupportedModes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000049
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[OvenMode.Structs.ModeOptionStruct])
value: 'typing.List[OvenMode.Structs.ModeOptionStruct]' = field(default_factory=lambda: [])
@dataclass
class CurrentMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000049
@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 StartUpMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000049
@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 OnMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000049
@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 GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000049
@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 0x00000049
@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 0x00000049
@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 0x00000049
@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 0x00000049
@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 0x00000049
@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 LaundryDryerControls(Cluster):
id: typing.ClassVar[int] = 0x0000004A
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="supportedDrynessLevels", Tag=0x00000000, Type=typing.List[LaundryDryerControls.Enums.DrynessLevelEnum]),
ClusterObjectFieldDescriptor(Label="selectedDrynessLevel", Tag=0x00000001, Type=typing.Union[Nullable, LaundryDryerControls.Enums.DrynessLevelEnum]),
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),
])
supportedDrynessLevels: 'typing.List[LaundryDryerControls.Enums.DrynessLevelEnum]' = None
selectedDrynessLevel: 'typing.Union[Nullable, LaundryDryerControls.Enums.DrynessLevelEnum]' = 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 DrynessLevelEnum(MatterIntEnum):
kLow = 0x00
kNormal = 0x01
kExtra = 0x02
kMax = 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 Attributes:
@dataclass
class SupportedDrynessLevels(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000004A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[LaundryDryerControls.Enums.DrynessLevelEnum])
value: 'typing.List[LaundryDryerControls.Enums.DrynessLevelEnum]' = field(default_factory=lambda: [])
@dataclass
class SelectedDrynessLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000004A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, LaundryDryerControls.Enums.DrynessLevelEnum])
value: 'typing.Union[Nullable, LaundryDryerControls.Enums.DrynessLevelEnum]' = NullValue
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000004A
@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 0x0000004A
@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 0x0000004A
@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 0x0000004A
@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 0x0000004A
@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 0x0000004A
@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] = 0x00000050
@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):
kOnOff = 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] = 0x00000050
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 0x00000050
@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 0x00000050
@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 0x00000050
@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 0x00000050
@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 0x00000050
@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 0x00000050
@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 0x00000050
@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 0x00000050
@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 0x00000050
@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 0x00000050
@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 0x00000050
@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 0x00000050
@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 LaundryWasherMode(Cluster):
id: typing.ClassVar[int] = 0x00000051
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000000, Type=typing.List[LaundryWasherMode.Structs.ModeOptionStruct]),
ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000001, Type=uint),
ClusterObjectFieldDescriptor(Label="startUpMode", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000003, 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),
])
supportedModes: 'typing.List[LaundryWasherMode.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 Enums:
class ModeTag(MatterIntEnum):
kNormal = 0x4000
kDelicate = 0x4001
kHeavy = 0x4002
kWhites = 0x4003
# kUnknownEnumValue intentionally not defined. This enum never goes
# through DataModel::Decode, likely because it is a part of a derived
# cluster. As a result having kUnknownEnumValue in this enum is error
# prone, and was removed. See
# src/app/common/templates/config-data.yaml.
class Bitmaps:
class Feature(IntFlag):
kOnOff = 0x1
class Structs:
@dataclass
class ModeTagStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=uint),
])
mfgCode: 'typing.Optional[uint]' = None
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="modeTags", Tag=2, Type=typing.List[LaundryWasherMode.Structs.ModeTagStruct]),
])
label: 'str' = ""
mode: 'uint' = 0
modeTags: 'typing.List[LaundryWasherMode.Structs.ModeTagStruct]' = field(default_factory=lambda: [])
class Commands:
@dataclass
class ChangeToMode(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000051
command_id: typing.ClassVar[int] = 0x00000000
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'ChangeToModeResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint),
])
newMode: 'uint' = 0
@dataclass
class ChangeToModeResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000051
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="statusText", Tag=1, Type=typing.Optional[str]),
])
status: 'uint' = 0
statusText: 'typing.Optional[str]' = None
class Attributes:
@dataclass
class SupportedModes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000051
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[LaundryWasherMode.Structs.ModeOptionStruct])
value: 'typing.List[LaundryWasherMode.Structs.ModeOptionStruct]' = field(default_factory=lambda: [])
@dataclass
class CurrentMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000051
@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 StartUpMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000051
@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 OnMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000051
@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 GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000051
@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 0x00000051
@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 0x00000051
@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 0x00000051
@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 0x00000051
@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 0x00000051
@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 RefrigeratorAndTemperatureControlledCabinetMode(Cluster):
id: typing.ClassVar[int] = 0x00000052
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000000, Type=typing.List[RefrigeratorAndTemperatureControlledCabinetMode.Structs.ModeOptionStruct]),
ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000001, Type=uint),
ClusterObjectFieldDescriptor(Label="startUpMode", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000003, 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),
])
supportedModes: 'typing.List[RefrigeratorAndTemperatureControlledCabinetMode.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 Enums:
class ModeTag(MatterIntEnum):
kRapidCool = 0x4000
kRapidFreeze = 0x4001
# kUnknownEnumValue intentionally not defined. This enum never goes
# through DataModel::Decode, likely because it is a part of a derived
# cluster. As a result having kUnknownEnumValue in this enum is error
# prone, and was removed. See
# src/app/common/templates/config-data.yaml.
class Bitmaps:
class Feature(IntFlag):
kOnOff = 0x1
class Structs:
@dataclass
class ModeTagStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=uint),
])
mfgCode: 'typing.Optional[uint]' = None
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="modeTags", Tag=2, Type=typing.List[RefrigeratorAndTemperatureControlledCabinetMode.Structs.ModeTagStruct]),
])
label: 'str' = ""
mode: 'uint' = 0
modeTags: 'typing.List[RefrigeratorAndTemperatureControlledCabinetMode.Structs.ModeTagStruct]' = field(default_factory=lambda: [])
class Commands:
@dataclass
class ChangeToMode(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000052
command_id: typing.ClassVar[int] = 0x00000000
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'ChangeToModeResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint),
])
newMode: 'uint' = 0
@dataclass
class ChangeToModeResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000052
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="statusText", Tag=1, Type=typing.Optional[str]),
])
status: 'uint' = 0
statusText: 'typing.Optional[str]' = None
class Attributes:
@dataclass
class SupportedModes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000052
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[RefrigeratorAndTemperatureControlledCabinetMode.Structs.ModeOptionStruct])
value: 'typing.List[RefrigeratorAndTemperatureControlledCabinetMode.Structs.ModeOptionStruct]' = field(default_factory=lambda: [])
@dataclass
class CurrentMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000052
@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 StartUpMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000052
@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 OnMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000052
@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 GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000052
@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 0x00000052
@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 0x00000052
@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 0x00000052
@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 0x00000052
@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 0x00000052
@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 LaundryWasherControls(Cluster):
id: typing.ClassVar[int] = 0x00000053
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="spinSpeeds", Tag=0x00000000, Type=typing.Optional[typing.List[str]]),
ClusterObjectFieldDescriptor(Label="spinSpeedCurrent", Tag=0x00000001, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="numberOfRinses", Tag=0x00000002, Type=typing.Optional[LaundryWasherControls.Enums.NumberOfRinsesEnum]),
ClusterObjectFieldDescriptor(Label="supportedRinses", Tag=0x00000003, Type=typing.Optional[typing.List[LaundryWasherControls.Enums.NumberOfRinsesEnum]]),
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),
])
spinSpeeds: 'typing.Optional[typing.List[str]]' = None
spinSpeedCurrent: 'typing.Union[None, Nullable, uint]' = None
numberOfRinses: 'typing.Optional[LaundryWasherControls.Enums.NumberOfRinsesEnum]' = None
supportedRinses: 'typing.Optional[typing.List[LaundryWasherControls.Enums.NumberOfRinsesEnum]]' = 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 NumberOfRinsesEnum(MatterIntEnum):
kNone = 0x00
kNormal = 0x01
kExtra = 0x02
kMax = 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):
kSpin = 0x1
kRinse = 0x2
class Attributes:
@dataclass
class SpinSpeeds(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000053
@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 SpinSpeedCurrent(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000053
@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 NumberOfRinses(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000053
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[LaundryWasherControls.Enums.NumberOfRinsesEnum])
value: 'typing.Optional[LaundryWasherControls.Enums.NumberOfRinsesEnum]' = None
@dataclass
class SupportedRinses(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000053
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[LaundryWasherControls.Enums.NumberOfRinsesEnum]])
value: 'typing.Optional[typing.List[LaundryWasherControls.Enums.NumberOfRinsesEnum]]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000053
@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 0x00000053
@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 0x00000053
@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 0x00000053
@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 0x00000053
@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 0x00000053
@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 RvcRunMode(Cluster):
id: typing.ClassVar[int] = 0x00000054
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000000, Type=typing.List[RvcRunMode.Structs.ModeOptionStruct]),
ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000001, Type=uint),
ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000003, 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),
])
supportedModes: 'typing.List[RvcRunMode.Structs.ModeOptionStruct]' = None
currentMode: '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 Enums:
class ModeTag(MatterIntEnum):
kIdle = 0x4000
kCleaning = 0x4001
kMapping = 0x4002
# kUnknownEnumValue intentionally not defined. This enum never goes
# through DataModel::Decode, likely because it is a part of a derived
# cluster. As a result having kUnknownEnumValue in this enum is error
# prone, and was removed. See
# src/app/common/templates/config-data.yaml.
class StatusCode(MatterIntEnum):
kStuck = 0x41
kDustBinMissing = 0x42
kDustBinFull = 0x43
kWaterTankEmpty = 0x44
kWaterTankMissing = 0x45
kWaterTankLidOpen = 0x46
kMopCleaningPadMissing = 0x47
kBatteryLow = 0x48
# kUnknownEnumValue intentionally not defined. This enum never goes
# through DataModel::Decode, likely because it is a part of a derived
# cluster. As a result having kUnknownEnumValue in this enum is error
# prone, and was removed. See
# src/app/common/templates/config-data.yaml.
class Bitmaps:
class Feature(IntFlag):
kOnOff = 0x1
class Structs:
@dataclass
class ModeTagStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=uint),
])
mfgCode: 'typing.Optional[uint]' = None
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="modeTags", Tag=2, Type=typing.List[RvcRunMode.Structs.ModeTagStruct]),
])
label: 'str' = ""
mode: 'uint' = 0
modeTags: 'typing.List[RvcRunMode.Structs.ModeTagStruct]' = field(default_factory=lambda: [])
class Commands:
@dataclass
class ChangeToMode(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000054
command_id: typing.ClassVar[int] = 0x00000000
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'ChangeToModeResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint),
])
newMode: 'uint' = 0
@dataclass
class ChangeToModeResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000054
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="statusText", Tag=1, Type=typing.Optional[str]),
])
status: 'uint' = 0
statusText: 'typing.Optional[str]' = None
class Attributes:
@dataclass
class SupportedModes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000054
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[RvcRunMode.Structs.ModeOptionStruct])
value: 'typing.List[RvcRunMode.Structs.ModeOptionStruct]' = field(default_factory=lambda: [])
@dataclass
class CurrentMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000054
@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 OnMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000054
@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 GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000054
@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 0x00000054
@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 0x00000054
@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 0x00000054
@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 0x00000054
@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 0x00000054
@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 RvcCleanMode(Cluster):
id: typing.ClassVar[int] = 0x00000055
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000000, Type=typing.List[RvcCleanMode.Structs.ModeOptionStruct]),
ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000001, Type=uint),
ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000003, 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),
])
supportedModes: 'typing.List[RvcCleanMode.Structs.ModeOptionStruct]' = None
currentMode: '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 Enums:
class ModeTag(MatterIntEnum):
kDeepClean = 0x4000
kVacuum = 0x4001
kMop = 0x4002
# kUnknownEnumValue intentionally not defined. This enum never goes
# through DataModel::Decode, likely because it is a part of a derived
# cluster. As a result having kUnknownEnumValue in this enum is error
# prone, and was removed. See
# src/app/common/templates/config-data.yaml.
class StatusCode(MatterIntEnum):
kCleaningInProgress = 0x40
# kUnknownEnumValue intentionally not defined. This enum never goes
# through DataModel::Decode, likely because it is a part of a derived
# cluster. As a result having kUnknownEnumValue in this enum is error
# prone, and was removed. See
# src/app/common/templates/config-data.yaml.
class Bitmaps:
class Feature(IntFlag):
kOnOff = 0x1
class Structs:
@dataclass
class ModeTagStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=uint),
])
mfgCode: 'typing.Optional[uint]' = None
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="modeTags", Tag=2, Type=typing.List[RvcCleanMode.Structs.ModeTagStruct]),
])
label: 'str' = ""
mode: 'uint' = 0
modeTags: 'typing.List[RvcCleanMode.Structs.ModeTagStruct]' = field(default_factory=lambda: [])
class Commands:
@dataclass
class ChangeToMode(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000055
command_id: typing.ClassVar[int] = 0x00000000
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'ChangeToModeResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint),
])
newMode: 'uint' = 0
@dataclass
class ChangeToModeResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000055
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="statusText", Tag=1, Type=typing.Optional[str]),
])
status: 'uint' = 0
statusText: 'typing.Optional[str]' = None
class Attributes:
@dataclass
class SupportedModes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000055
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[RvcCleanMode.Structs.ModeOptionStruct])
value: 'typing.List[RvcCleanMode.Structs.ModeOptionStruct]' = field(default_factory=lambda: [])
@dataclass
class CurrentMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000055
@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 OnMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000055
@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 GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000055
@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 0x00000055
@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 0x00000055
@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 0x00000055
@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 0x00000055
@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 0x00000055
@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] = 0x00000056
@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="selectedTemperatureLevel", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="supportedTemperatureLevels", Tag=0x00000005, Type=typing.Optional[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),
])
temperatureSetpoint: 'typing.Optional[int]' = None
minTemperature: 'typing.Optional[int]' = None
maxTemperature: 'typing.Optional[int]' = None
step: 'typing.Optional[int]' = None
selectedTemperatureLevel: 'typing.Optional[uint]' = None
supportedTemperatureLevels: 'typing.Optional[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 Bitmaps:
class Feature(IntFlag):
kTemperatureNumber = 0x1
kTemperatureLevel = 0x2
kTemperatureStep = 0x4
class Commands:
@dataclass
class SetTemperature(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000056
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 0x00000056
@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 0x00000056
@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 0x00000056
@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 0x00000056
@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 SelectedTemperatureLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000056
@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 0x00000056
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[str]])
value: 'typing.Optional[typing.List[str]]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000056
@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 0x00000056
@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 0x00000056
@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 0x00000056
@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 0x00000056
@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 0x00000056
@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] = 0x00000057
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="mask", Tag=0x00000000, Type=uint),
ClusterObjectFieldDescriptor(Label="state", Tag=0x00000002, Type=uint),
ClusterObjectFieldDescriptor(Label="supported", 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),
])
mask: 'uint' = None
state: 'uint' = None
supported: '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 Attributes:
@dataclass
class Mask(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000057
@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 State(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000057
@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 Supported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000057
@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 0x00000057
@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 0x00000057
@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 0x00000057
@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 0x00000057
@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 0x00000057
@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 0x00000057
@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 0x00000057
@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 DishwasherMode(Cluster):
id: typing.ClassVar[int] = 0x00000059
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000000, Type=typing.List[DishwasherMode.Structs.ModeOptionStruct]),
ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000001, Type=uint),
ClusterObjectFieldDescriptor(Label="startUpMode", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000003, 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),
])
supportedModes: 'typing.List[DishwasherMode.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 Enums:
class ModeTag(MatterIntEnum):
kNormal = 0x4000
kHeavy = 0x4001
kLight = 0x4002
# kUnknownEnumValue intentionally not defined. This enum never goes
# through DataModel::Decode, likely because it is a part of a derived
# cluster. As a result having kUnknownEnumValue in this enum is error
# prone, and was removed. See
# src/app/common/templates/config-data.yaml.
class Bitmaps:
class Feature(IntFlag):
kOnOff = 0x1
class Structs:
@dataclass
class ModeTagStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=uint),
])
mfgCode: 'typing.Optional[uint]' = None
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="modeTags", Tag=2, Type=typing.List[DishwasherMode.Structs.ModeTagStruct]),
])
label: 'str' = ""
mode: 'uint' = 0
modeTags: 'typing.List[DishwasherMode.Structs.ModeTagStruct]' = field(default_factory=lambda: [])
class Commands:
@dataclass
class ChangeToMode(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000059
command_id: typing.ClassVar[int] = 0x00000000
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'ChangeToModeResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint),
])
newMode: 'uint' = 0
@dataclass
class ChangeToModeResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000059
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="statusText", Tag=1, Type=typing.Optional[str]),
])
status: 'uint' = 0
statusText: 'typing.Optional[str]' = None
class Attributes:
@dataclass
class SupportedModes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000059
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[DishwasherMode.Structs.ModeOptionStruct])
value: 'typing.List[DishwasherMode.Structs.ModeOptionStruct]' = field(default_factory=lambda: [])
@dataclass
class CurrentMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000059
@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 StartUpMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000059
@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 OnMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000059
@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 GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000059
@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 0x00000059
@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 0x00000059
@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 0x00000059
@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 0x00000059
@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 0x00000059
@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 AirQuality(Cluster):
id: typing.ClassVar[int] = 0x0000005B
@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 0x0000005B
@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 0x0000005B
@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 0x0000005B
@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 0x0000005B
@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 0x0000005B
@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 0x0000005B
@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 0x0000005B
@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] = 0x0000005C
@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="smokeSensitivityLevel", Tag=0x0000000B, Type=typing.Optional[SmokeCoAlarm.Enums.SensitivityEnum]),
ClusterObjectFieldDescriptor(Label="expiryDate", Tag=0x0000000C, 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),
])
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
smokeSensitivityLevel: 'typing.Optional[SmokeCoAlarm.Enums.SensitivityEnum]' = None
expiryDate: '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 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):
kNormal = 0x00
kExpired = 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] = 0x0000005C
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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 SmokeSensitivityLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005C
@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 ExpiryDate(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="alarmSeverityLevel", Tag=0, Type=SmokeCoAlarm.Enums.AlarmStateEnum),
])
alarmSeverityLevel: 'SmokeCoAlarm.Enums.AlarmStateEnum' = 0
@dataclass
class COAlarm(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005C
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="alarmSeverityLevel", Tag=0, Type=SmokeCoAlarm.Enums.AlarmStateEnum),
])
alarmSeverityLevel: 'SmokeCoAlarm.Enums.AlarmStateEnum' = 0
@dataclass
class LowBattery(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005C
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="alarmSeverityLevel", Tag=0, Type=SmokeCoAlarm.Enums.AlarmStateEnum),
])
alarmSeverityLevel: 'SmokeCoAlarm.Enums.AlarmStateEnum' = 0
@dataclass
class HardwareFault(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@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 0x0000005C
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="alarmSeverityLevel", Tag=0, Type=SmokeCoAlarm.Enums.AlarmStateEnum),
])
alarmSeverityLevel: 'SmokeCoAlarm.Enums.AlarmStateEnum' = 0
@dataclass
class InterconnectCOAlarm(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005C
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="alarmSeverityLevel", Tag=0, Type=SmokeCoAlarm.Enums.AlarmStateEnum),
])
alarmSeverityLevel: 'SmokeCoAlarm.Enums.AlarmStateEnum' = 0
@dataclass
class AllClear(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005C
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class DishwasherAlarm(Cluster):
id: typing.ClassVar[int] = 0x0000005D
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="mask", Tag=0x00000000, Type=uint),
ClusterObjectFieldDescriptor(Label="latch", Tag=0x00000001, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="state", Tag=0x00000002, Type=uint),
ClusterObjectFieldDescriptor(Label="supported", 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),
])
mask: 'uint' = None
latch: 'typing.Optional[uint]' = None
state: 'uint' = None
supported: '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):
kInflowError = 0x1
kDrainError = 0x2
kDoorError = 0x4
kTempTooLow = 0x8
kTempTooHigh = 0x10
kWaterLevelError = 0x20
class Feature(IntFlag):
kReset = 0x1
class Commands:
@dataclass
class Reset(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000005D
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),
])
alarms: 'uint' = 0
@dataclass
class ModifyEnabledAlarms(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000005D
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="mask", Tag=0, Type=uint),
])
mask: 'uint' = 0
class Attributes:
@dataclass
class Mask(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005D
@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 0x0000005D
@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 State(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005D
@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 Supported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005D
@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 0x0000005D
@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 0x0000005D
@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 0x0000005D
@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 0x0000005D
@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 0x0000005D
@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 0x0000005D
@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 0x0000005D
@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 MicrowaveOvenMode(Cluster):
id: typing.ClassVar[int] = 0x0000005E
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000000, Type=typing.List[MicrowaveOvenMode.Structs.ModeOptionStruct]),
ClusterObjectFieldDescriptor(Label="currentMode", 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),
])
supportedModes: 'typing.List[MicrowaveOvenMode.Structs.ModeOptionStruct]' = None
currentMode: '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 ModeTag(MatterIntEnum):
kNormal = 0x4000
kDefrost = 0x4001
# 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 Feature(IntFlag):
kOnOff = 0x1
class Structs:
@dataclass
class ModeTagStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=uint),
])
mfgCode: 'typing.Optional[uint]' = None
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="modeTags", Tag=2, Type=typing.List[MicrowaveOvenMode.Structs.ModeTagStruct]),
])
label: 'str' = ""
mode: 'uint' = 0
modeTags: 'typing.List[MicrowaveOvenMode.Structs.ModeTagStruct]' = field(default_factory=lambda: [])
class Attributes:
@dataclass
class SupportedModes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[MicrowaveOvenMode.Structs.ModeOptionStruct])
value: 'typing.List[MicrowaveOvenMode.Structs.ModeOptionStruct]' = field(default_factory=lambda: [])
@dataclass
class CurrentMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005E
@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 0x0000005E
@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 0x0000005E
@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 0x0000005E
@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 0x0000005E
@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 0x0000005E
@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 0x0000005E
@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 MicrowaveOvenControl(Cluster):
id: typing.ClassVar[int] = 0x0000005F
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="cookTime", Tag=0x00000000, Type=uint),
ClusterObjectFieldDescriptor(Label="maxCookTime", Tag=0x00000001, Type=uint),
ClusterObjectFieldDescriptor(Label="powerSetting", Tag=0x00000002, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="minPower", Tag=0x00000003, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="maxPower", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="powerStep", Tag=0x00000005, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="supportedWatts", Tag=0x00000006, Type=typing.Optional[typing.List[uint]]),
ClusterObjectFieldDescriptor(Label="selectedWattIndex", Tag=0x00000007, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="wattRating", 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),
])
cookTime: 'uint' = None
maxCookTime: 'uint' = None
powerSetting: 'typing.Optional[uint]' = None
minPower: 'typing.Optional[uint]' = None
maxPower: 'typing.Optional[uint]' = None
powerStep: 'typing.Optional[uint]' = None
supportedWatts: 'typing.Optional[typing.List[uint]]' = None
selectedWattIndex: 'typing.Optional[uint]' = None
wattRating: '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):
kPowerAsNumber = 0x1
kPowerInWatts = 0x2
kPowerNumberLimits = 0x4
class Commands:
@dataclass
class SetCookingParameters(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000005F
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="cookMode", Tag=0, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="cookTime", Tag=1, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="powerSetting", Tag=2, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="wattSettingIndex", Tag=3, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="startAfterSetting", Tag=4, Type=typing.Optional[bool]),
])
cookMode: 'typing.Optional[uint]' = None
cookTime: 'typing.Optional[uint]' = None
powerSetting: 'typing.Optional[uint]' = None
wattSettingIndex: 'typing.Optional[uint]' = None
startAfterSetting: 'typing.Optional[bool]' = None
@dataclass
class AddMoreTime(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000005F
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="timeToAdd", Tag=0, Type=uint),
])
timeToAdd: 'uint' = 0
class Attributes:
@dataclass
class CookTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005F
@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 MaxCookTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005F
@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 PowerSetting(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005F
@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 MinPower(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005F
@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 MaxPower(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005F
@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 PowerStep(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005F
@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 SupportedWatts(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]])
value: 'typing.Optional[typing.List[uint]]' = None
@dataclass
class SelectedWattIndex(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005F
@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 WattRating(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000005F
@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 0x0000005F
@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 0x0000005F
@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 0x0000005F
@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 0x0000005F
@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 0x0000005F
@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 0x0000005F
@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 OperationalState(Cluster):
id: typing.ClassVar[int] = 0x00000060
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="phaseList", Tag=0x00000000, Type=typing.Union[Nullable, typing.List[str]]),
ClusterObjectFieldDescriptor(Label="currentPhase", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="countdownTime", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="operationalStateList", Tag=0x00000003, Type=typing.List[OperationalState.Structs.OperationalStateStruct]),
ClusterObjectFieldDescriptor(Label="operationalState", Tag=0x00000004, Type=OperationalState.Enums.OperationalStateEnum),
ClusterObjectFieldDescriptor(Label="operationalError", Tag=0x00000005, Type=OperationalState.Structs.ErrorStateStruct),
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),
])
phaseList: 'typing.Union[Nullable, typing.List[str]]' = None
currentPhase: 'typing.Union[Nullable, uint]' = None
countdownTime: 'typing.Union[None, Nullable, uint]' = None
operationalStateList: 'typing.List[OperationalState.Structs.OperationalStateStruct]' = None
operationalState: 'OperationalState.Enums.OperationalStateEnum' = None
operationalError: 'OperationalState.Structs.ErrorStateStruct' = 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 ErrorStateEnum(MatterIntEnum):
kNoError = 0x00
kUnableToStartOrResume = 0x01
kUnableToCompleteOperation = 0x02
kCommandInvalidInState = 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 OperationalStateEnum(MatterIntEnum):
kStopped = 0x00
kRunning = 0x01
kPaused = 0x02
kError = 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 ErrorStateStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="errorStateID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="errorStateLabel", Tag=1, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="errorStateDetails", Tag=2, Type=typing.Optional[str]),
])
errorStateID: 'uint' = 0
errorStateLabel: 'typing.Optional[str]' = None
errorStateDetails: 'typing.Optional[str]' = None
@dataclass
class OperationalStateStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="operationalStateID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="operationalStateLabel", Tag=1, Type=typing.Optional[str]),
])
operationalStateID: 'uint' = 0
operationalStateLabel: 'typing.Optional[str]' = None
class Commands:
@dataclass
class Pause(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000060
command_id: typing.ClassVar[int] = 0x00000000
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class Stop(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000060
command_id: typing.ClassVar[int] = 0x00000001
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class Start(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000060
command_id: typing.ClassVar[int] = 0x00000002
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class Resume(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000060
command_id: typing.ClassVar[int] = 0x00000003
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class OperationalCommandResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000060
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="commandResponseState", Tag=0, Type=OperationalState.Structs.ErrorStateStruct),
])
commandResponseState: 'OperationalState.Structs.ErrorStateStruct' = field(default_factory=lambda: OperationalState.Structs.ErrorStateStruct())
class Attributes:
@dataclass
class PhaseList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000060
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, typing.List[str]])
value: 'typing.Union[Nullable, typing.List[str]]' = NullValue
@dataclass
class CurrentPhase(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000060
@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 CountdownTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000060
@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 OperationalStateList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000060
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[OperationalState.Structs.OperationalStateStruct])
value: 'typing.List[OperationalState.Structs.OperationalStateStruct]' = field(default_factory=lambda: [])
@dataclass
class OperationalState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000060
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=OperationalState.Enums.OperationalStateEnum)
value: 'OperationalState.Enums.OperationalStateEnum' = 0
@dataclass
class OperationalError(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000060
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=OperationalState.Structs.ErrorStateStruct)
value: 'OperationalState.Structs.ErrorStateStruct' = field(default_factory=lambda: OperationalState.Structs.ErrorStateStruct())
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000060
@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 0x00000060
@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 0x00000060
@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 0x00000060
@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 0x00000060
@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 0x00000060
@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 OperationalError(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000060
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="errorState", Tag=0, Type=OperationalState.Structs.ErrorStateStruct),
])
errorState: 'OperationalState.Structs.ErrorStateStruct' = field(default_factory=lambda: OperationalState.Structs.ErrorStateStruct())
@dataclass
class OperationCompletion(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000060
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="completionErrorCode", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="totalOperationalTime", Tag=1, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="pausedTime", Tag=2, Type=typing.Union[None, Nullable, uint]),
])
completionErrorCode: 'uint' = 0
totalOperationalTime: 'typing.Union[None, Nullable, uint]' = None
pausedTime: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class RvcOperationalState(Cluster):
id: typing.ClassVar[int] = 0x00000061
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="phaseList", Tag=0x00000000, Type=typing.Union[Nullable, typing.List[str]]),
ClusterObjectFieldDescriptor(Label="currentPhase", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="countdownTime", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="operationalStateList", Tag=0x00000003, Type=typing.List[RvcOperationalState.Structs.OperationalStateStruct]),
ClusterObjectFieldDescriptor(Label="operationalState", Tag=0x00000004, Type=uint),
ClusterObjectFieldDescriptor(Label="operationalError", Tag=0x00000005, Type=RvcOperationalState.Structs.ErrorStateStruct),
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),
])
phaseList: 'typing.Union[Nullable, typing.List[str]]' = None
currentPhase: 'typing.Union[Nullable, uint]' = None
countdownTime: 'typing.Union[None, Nullable, uint]' = None
operationalStateList: 'typing.List[RvcOperationalState.Structs.OperationalStateStruct]' = None
operationalState: 'uint' = None
operationalError: 'RvcOperationalState.Structs.ErrorStateStruct' = 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 ErrorStateEnum(MatterIntEnum):
kFailedToFindChargingDock = 0x40
kStuck = 0x41
kDustBinMissing = 0x42
kDustBinFull = 0x43
kWaterTankEmpty = 0x44
kWaterTankMissing = 0x45
kWaterTankLidOpen = 0x46
kMopCleaningPadMissing = 0x47
# kUnknownEnumValue intentionally not defined. This enum never goes
# through DataModel::Decode, likely because it is a part of a derived
# cluster. As a result having kUnknownEnumValue in this enum is error
# prone, and was removed. See
# src/app/common/templates/config-data.yaml.
class OperationalStateEnum(MatterIntEnum):
kSeekingCharger = 0x40
kCharging = 0x41
kDocked = 0x42
# kUnknownEnumValue intentionally not defined. This enum never goes
# through DataModel::Decode, likely because it is a part of a derived
# cluster. As a result having kUnknownEnumValue in this enum is error
# prone, and was removed. See
# src/app/common/templates/config-data.yaml.
class Structs:
@dataclass
class ErrorStateStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="errorStateID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="errorStateLabel", Tag=1, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="errorStateDetails", Tag=2, Type=typing.Optional[str]),
])
errorStateID: 'uint' = 0
errorStateLabel: 'typing.Optional[str]' = None
errorStateDetails: 'typing.Optional[str]' = None
@dataclass
class OperationalStateStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="operationalStateID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="operationalStateLabel", Tag=1, Type=typing.Optional[str]),
])
operationalStateID: 'uint' = 0
operationalStateLabel: 'typing.Optional[str]' = None
class Commands:
@dataclass
class Pause(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000061
command_id: typing.ClassVar[int] = 0x00000000
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class Stop(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000061
command_id: typing.ClassVar[int] = 0x00000001
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class Start(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000061
command_id: typing.ClassVar[int] = 0x00000002
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class Resume(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000061
command_id: typing.ClassVar[int] = 0x00000003
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class OperationalCommandResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000061
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="commandResponseState", Tag=0, Type=RvcOperationalState.Structs.ErrorStateStruct),
])
commandResponseState: 'RvcOperationalState.Structs.ErrorStateStruct' = field(default_factory=lambda: RvcOperationalState.Structs.ErrorStateStruct())
@dataclass
class GoHome(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000061
command_id: typing.ClassVar[int] = 0x00000080
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'OperationalCommandResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
class Attributes:
@dataclass
class PhaseList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000061
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, typing.List[str]])
value: 'typing.Union[Nullable, typing.List[str]]' = NullValue
@dataclass
class CurrentPhase(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000061
@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 CountdownTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000061
@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 OperationalStateList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000061
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[RvcOperationalState.Structs.OperationalStateStruct])
value: 'typing.List[RvcOperationalState.Structs.OperationalStateStruct]' = field(default_factory=lambda: [])
@dataclass
class OperationalState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000061
@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 OperationalError(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000061
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=RvcOperationalState.Structs.ErrorStateStruct)
value: 'RvcOperationalState.Structs.ErrorStateStruct' = field(default_factory=lambda: RvcOperationalState.Structs.ErrorStateStruct())
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000061
@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 0x00000061
@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 0x00000061
@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 0x00000061
@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 0x00000061
@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 0x00000061
@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 OperationalError(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000061
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="errorState", Tag=0, Type=RvcOperationalState.Structs.ErrorStateStruct),
])
errorState: 'RvcOperationalState.Structs.ErrorStateStruct' = field(default_factory=lambda: RvcOperationalState.Structs.ErrorStateStruct())
@dataclass
class OperationCompletion(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000061
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="completionErrorCode", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="totalOperationalTime", Tag=1, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="pausedTime", Tag=2, Type=typing.Union[None, Nullable, uint]),
])
completionErrorCode: 'uint' = 0
totalOperationalTime: 'typing.Union[None, Nullable, uint]' = None
pausedTime: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class ScenesManagement(Cluster):
id: typing.ClassVar[int] = 0x00000062
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="sceneCount", Tag=0x00000000, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="currentScene", Tag=0x00000001, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="currentGroup", Tag=0x00000002, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="sceneValid", Tag=0x00000003, Type=typing.Optional[bool]),
ClusterObjectFieldDescriptor(Label="nameSupport", Tag=0x00000004, Type=uint),
ClusterObjectFieldDescriptor(Label="lastConfiguredBy", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="sceneTableSize", Tag=0x00000006, Type=uint),
ClusterObjectFieldDescriptor(Label="fabricSceneInfo", Tag=0x00000007, Type=typing.List[ScenesManagement.Structs.SceneInfoStruct]),
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: 'typing.Optional[uint]' = None
currentScene: 'typing.Optional[uint]' = None
currentGroup: 'typing.Optional[uint]' = None
sceneValid: 'typing.Optional[bool]' = None
nameSupport: 'uint' = None
lastConfiguredBy: 'typing.Union[None, Nullable, uint]' = None
sceneTableSize: 'uint' = None
fabricSceneInfo: 'typing.List[ScenesManagement.Structs.SceneInfoStruct]' = 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 CopyModeBitmap(IntFlag):
kCopyAllScenes = 0x1
class Feature(IntFlag):
kSceneNames = 0x1
kExplicit = 0x2
kTableSize = 0x4
kFabricScenes = 0x8
class NameSupportBitmap(IntFlag):
kSceneNames = 0x80
class Structs:
@dataclass
class AttributeValuePair(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="attributeID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="attributeValue", Tag=1, Type=uint),
])
attributeID: 'uint' = 0
attributeValue: 'uint' = 0
@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[ScenesManagement.Structs.AttributeValuePair]),
])
clusterID: 'uint' = 0
attributeValueList: 'typing.List[ScenesManagement.Structs.AttributeValuePair]' = field(default_factory=lambda: [])
@dataclass
class SceneInfoStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="sceneCount", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="currentScene", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="currentGroup", Tag=2, Type=uint),
ClusterObjectFieldDescriptor(Label="sceneValid", Tag=3, Type=bool),
ClusterObjectFieldDescriptor(Label="remainingCapacity", Tag=4, Type=uint),
ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
])
sceneCount: 'uint' = 0
currentScene: 'uint' = 0
currentGroup: 'uint' = 0
sceneValid: 'bool' = False
remainingCapacity: 'uint' = 0
fabricIndex: 'uint' = 0
class Commands:
@dataclass
class AddScene(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000062
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[ScenesManagement.Structs.ExtensionFieldSet]),
])
groupID: 'uint' = 0
sceneID: 'uint' = 0
transitionTime: 'uint' = 0
sceneName: 'str' = ""
extensionFieldSets: 'typing.List[ScenesManagement.Structs.ExtensionFieldSet]' = field(default_factory=lambda: [])
@dataclass
class AddSceneResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000062
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] = 0x00000062
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] = 0x00000062
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[ScenesManagement.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[ScenesManagement.Structs.ExtensionFieldSet]]' = None
@dataclass
class RemoveScene(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000062
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] = 0x00000062
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] = 0x00000062
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] = 0x00000062
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] = 0x00000062
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] = 0x00000062
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] = 0x00000062
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] = 0x00000062
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] = 0x00000062
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] = 0x00000062
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[ScenesManagement.Structs.ExtensionFieldSet]),
])
groupID: 'uint' = 0
sceneID: 'uint' = 0
transitionTime: 'uint' = 0
sceneName: 'str' = ""
extensionFieldSets: 'typing.List[ScenesManagement.Structs.ExtensionFieldSet]' = field(default_factory=lambda: [])
@dataclass
class EnhancedAddSceneResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000062
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] = 0x00000062
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] = 0x00000062
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[ScenesManagement.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[ScenesManagement.Structs.ExtensionFieldSet]]' = None
@dataclass
class CopyScene(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000062
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] = 0x00000062
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 0x00000062
@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 CurrentScene(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000062
@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 CurrentGroup(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000062
@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 SceneValid(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000062
@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 NameSupport(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000062
@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 0x00000062
@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 SceneTableSize(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000062
@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 FabricSceneInfo(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000062
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[ScenesManagement.Structs.SceneInfoStruct])
value: 'typing.List[ScenesManagement.Structs.SceneInfoStruct]' = field(default_factory=lambda: [])
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000062
@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 0x00000062
@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 0x00000062
@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 0x00000062
@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 0x00000062
@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 0x00000062
@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 HepaFilterMonitoring(Cluster):
id: typing.ClassVar[int] = 0x00000071
@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="lastChangedTime", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="replacementProductList", Tag=0x00000005, Type=typing.Optional[typing.List[HepaFilterMonitoring.Structs.ReplacementProductStruct]]),
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
lastChangedTime: 'typing.Union[None, Nullable, uint]' = None
replacementProductList: 'typing.Optional[typing.List[HepaFilterMonitoring.Structs.ReplacementProductStruct]]' = 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 ProductIdentifierTypeEnum(MatterIntEnum):
kUpc = 0x00
kGtin8 = 0x01
kEan = 0x02
kGtin14 = 0x03
kOem = 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 Bitmaps:
class Feature(IntFlag):
kCondition = 0x1
kWarning = 0x2
kReplacementProductList = 0x4
class Structs:
@dataclass
class ReplacementProductStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="productIdentifierType", Tag=0, Type=HepaFilterMonitoring.Enums.ProductIdentifierTypeEnum),
ClusterObjectFieldDescriptor(Label="productIdentifierValue", Tag=1, Type=str),
])
productIdentifierType: 'HepaFilterMonitoring.Enums.ProductIdentifierTypeEnum' = 0
productIdentifierValue: 'str' = ""
class Commands:
@dataclass
class ResetCondition(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000071
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 0x00000071
@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 0x00000071
@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 0x00000071
@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 0x00000071
@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 LastChangedTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000071
@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 ReplacementProductList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000071
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[HepaFilterMonitoring.Structs.ReplacementProductStruct]])
value: 'typing.Optional[typing.List[HepaFilterMonitoring.Structs.ReplacementProductStruct]]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000071
@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 0x00000071
@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 0x00000071
@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 0x00000071
@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 0x00000071
@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 0x00000071
@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] = 0x00000072
@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="lastChangedTime", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="replacementProductList", Tag=0x00000005, Type=typing.Optional[typing.List[ActivatedCarbonFilterMonitoring.Structs.ReplacementProductStruct]]),
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
lastChangedTime: 'typing.Union[None, Nullable, uint]' = None
replacementProductList: 'typing.Optional[typing.List[ActivatedCarbonFilterMonitoring.Structs.ReplacementProductStruct]]' = 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 ProductIdentifierTypeEnum(MatterIntEnum):
kUpc = 0x00
kGtin8 = 0x01
kEan = 0x02
kGtin14 = 0x03
kOem = 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 Bitmaps:
class Feature(IntFlag):
kCondition = 0x1
kWarning = 0x2
kReplacementProductList = 0x4
class Structs:
@dataclass
class ReplacementProductStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="productIdentifierType", Tag=0, Type=ActivatedCarbonFilterMonitoring.Enums.ProductIdentifierTypeEnum),
ClusterObjectFieldDescriptor(Label="productIdentifierValue", Tag=1, Type=str),
])
productIdentifierType: 'ActivatedCarbonFilterMonitoring.Enums.ProductIdentifierTypeEnum' = 0
productIdentifierValue: 'str' = ""
class Commands:
@dataclass
class ResetCondition(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000072
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 0x00000072
@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 0x00000072
@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 0x00000072
@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 0x00000072
@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 LastChangedTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000072
@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 ReplacementProductList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000072
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[ActivatedCarbonFilterMonitoring.Structs.ReplacementProductStruct]])
value: 'typing.Optional[typing.List[ActivatedCarbonFilterMonitoring.Structs.ReplacementProductStruct]]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000072
@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 0x00000072
@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 0x00000072
@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 0x00000072
@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 0x00000072
@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 0x00000072
@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 BooleanStateConfiguration(Cluster):
id: typing.ClassVar[int] = 0x00000080
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="currentSensitivityLevel", Tag=0x00000000, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="supportedSensitivityLevels", Tag=0x00000001, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="defaultSensitivityLevel", Tag=0x00000002, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="alarmsActive", Tag=0x00000003, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="alarmsSuppressed", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="alarmsEnabled", Tag=0x00000005, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="alarmsSupported", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="sensorFault", Tag=0x00000007, 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),
])
currentSensitivityLevel: 'typing.Optional[uint]' = None
supportedSensitivityLevels: 'typing.Optional[uint]' = None
defaultSensitivityLevel: 'typing.Optional[uint]' = None
alarmsActive: 'typing.Optional[uint]' = None
alarmsSuppressed: 'typing.Optional[uint]' = None
alarmsEnabled: 'typing.Optional[uint]' = None
alarmsSupported: 'typing.Optional[uint]' = None
sensorFault: '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 AlarmModeBitmap(IntFlag):
kVisual = 0x1
kAudible = 0x2
class Feature(IntFlag):
kVisual = 0x1
kAudible = 0x2
kAlarmSuppress = 0x4
kSensitivityLevel = 0x8
class SensorFaultBitmap(IntFlag):
kGeneralFault = 0x1
class Commands:
@dataclass
class SuppressAlarm(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000080
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="alarmsToSuppress", Tag=0, Type=uint),
])
alarmsToSuppress: 'uint' = 0
@dataclass
class EnableDisableAlarm(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000080
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="alarmsToEnableDisable", Tag=0, Type=uint),
])
alarmsToEnableDisable: 'uint' = 0
class Attributes:
@dataclass
class CurrentSensitivityLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000080
@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 SupportedSensitivityLevels(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000080
@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 DefaultSensitivityLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000080
@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 AlarmsActive(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000080
@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 AlarmsSuppressed(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000080
@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 AlarmsEnabled(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000080
@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 AlarmsSupported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000080
@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 SensorFault(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000080
@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 GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000080
@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 0x00000080
@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 0x00000080
@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 0x00000080
@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 0x00000080
@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 0x00000080
@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 AlarmsStateChanged(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000080
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="alarmsActive", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="alarmsSuppressed", Tag=1, Type=typing.Optional[uint]),
])
alarmsActive: 'uint' = 0
alarmsSuppressed: 'typing.Optional[uint]' = None
@dataclass
class SensorFault(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000080
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="sensorFault", Tag=0, Type=uint),
])
sensorFault: 'uint' = 0
@dataclass
class ValveConfigurationAndControl(Cluster):
id: typing.ClassVar[int] = 0x00000081
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="openDuration", Tag=0x00000000, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="defaultOpenDuration", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="autoCloseTime", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="remainingDuration", Tag=0x00000003, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="currentState", Tag=0x00000004, Type=typing.Union[Nullable, ValveConfigurationAndControl.Enums.ValveStateEnum]),
ClusterObjectFieldDescriptor(Label="targetState", Tag=0x00000005, Type=typing.Union[Nullable, ValveConfigurationAndControl.Enums.ValveStateEnum]),
ClusterObjectFieldDescriptor(Label="currentLevel", Tag=0x00000006, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="targetLevel", Tag=0x00000007, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="defaultOpenLevel", Tag=0x00000008, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="valveFault", Tag=0x00000009, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="levelStep", 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),
])
openDuration: 'typing.Union[Nullable, uint]' = None
defaultOpenDuration: 'typing.Union[Nullable, uint]' = None
autoCloseTime: 'typing.Union[None, Nullable, uint]' = None
remainingDuration: 'typing.Union[Nullable, uint]' = None
currentState: 'typing.Union[Nullable, ValveConfigurationAndControl.Enums.ValveStateEnum]' = None
targetState: 'typing.Union[Nullable, ValveConfigurationAndControl.Enums.ValveStateEnum]' = None
currentLevel: 'typing.Union[None, Nullable, uint]' = None
targetLevel: 'typing.Union[None, Nullable, uint]' = None
defaultOpenLevel: 'typing.Optional[uint]' = None
valveFault: 'typing.Optional[uint]' = None
levelStep: '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 StatusCodeEnum(MatterIntEnum):
kFailureDueToFault = 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 ValveStateEnum(MatterIntEnum):
kClosed = 0x00
kOpen = 0x01
kTransitioning = 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):
kTimeSync = 0x1
kLevel = 0x2
class ValveFaultBitmap(IntFlag):
kGeneralFault = 0x1
kBlocked = 0x2
kLeaking = 0x4
kNotConnected = 0x8
kShortCircuit = 0x10
kCurrentExceeded = 0x20
class Commands:
@dataclass
class Open(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000081
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="openDuration", Tag=0, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="targetLevel", Tag=1, Type=typing.Optional[uint]),
])
openDuration: 'typing.Union[None, Nullable, uint]' = None
targetLevel: 'typing.Optional[uint]' = None
@dataclass
class Close(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000081
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 OpenDuration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@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 DefaultOpenDuration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@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 AutoCloseTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@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 RemainingDuration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@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 CurrentState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ValveConfigurationAndControl.Enums.ValveStateEnum])
value: 'typing.Union[Nullable, ValveConfigurationAndControl.Enums.ValveStateEnum]' = NullValue
@dataclass
class TargetState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ValveConfigurationAndControl.Enums.ValveStateEnum])
value: 'typing.Union[Nullable, ValveConfigurationAndControl.Enums.ValveStateEnum]' = NullValue
@dataclass
class CurrentLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@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 TargetLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@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 DefaultOpenLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@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 ValveFault(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@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 LevelStep(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@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 0x00000081
@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 0x00000081
@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 0x00000081
@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 0x00000081
@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 0x00000081
@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 0x00000081
@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 ValveStateChanged(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="valveState", Tag=0, Type=ValveConfigurationAndControl.Enums.ValveStateEnum),
ClusterObjectFieldDescriptor(Label="valveLevel", Tag=1, Type=typing.Optional[uint]),
])
valveState: 'ValveConfigurationAndControl.Enums.ValveStateEnum' = 0
valveLevel: 'typing.Optional[uint]' = None
@dataclass
class ValveFault(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000081
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="valveFault", Tag=0, Type=uint),
])
valveFault: 'uint' = 0
@dataclass
class ElectricalEnergyMeasurement(Cluster):
id: typing.ClassVar[int] = 0x00000091
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="accuracy", Tag=0x00000000, Type=ElectricalEnergyMeasurement.Structs.MeasurementAccuracyStruct),
ClusterObjectFieldDescriptor(Label="cumulativeEnergyImported", Tag=0x00000001, Type=typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]),
ClusterObjectFieldDescriptor(Label="cumulativeEnergyExported", Tag=0x00000002, Type=typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]),
ClusterObjectFieldDescriptor(Label="periodicEnergyImported", Tag=0x00000003, Type=typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]),
ClusterObjectFieldDescriptor(Label="periodicEnergyExported", Tag=0x00000004, Type=typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]),
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),
])
accuracy: 'ElectricalEnergyMeasurement.Structs.MeasurementAccuracyStruct' = None
cumulativeEnergyImported: 'typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = None
cumulativeEnergyExported: 'typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = None
periodicEnergyImported: 'typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = None
periodicEnergyExported: 'typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = 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 MeasurementTypeEnum(MatterIntEnum):
kUnspecified = 0x00
kVoltage = 0x01
kActiveCurrent = 0x02
kReactiveCurrent = 0x03
kApparentCurrent = 0x04
kActivePower = 0x05
kReactivePower = 0x06
kApparentPower = 0x07
kRMSVoltage = 0x08
kRMSCurrent = 0x09
kRMSPower = 0x0A
kFrequency = 0x0B
kPowerFactor = 0x0C
kNeutralCurrent = 0x0D
kElectricalEnergy = 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 Bitmaps:
class Feature(IntFlag):
kImportedEnergy = 0x1
kExportedEnergy = 0x2
kCumulativeEnergy = 0x4
kPeriodicEnergy = 0x8
class Structs:
@dataclass
class MeasurementAccuracyRangeStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="rangeMin", Tag=0, Type=int),
ClusterObjectFieldDescriptor(Label="rangeMax", Tag=1, Type=int),
ClusterObjectFieldDescriptor(Label="percentMax", Tag=2, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="percentMin", Tag=3, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="percentTypical", Tag=4, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="fixedMax", Tag=5, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="fixedMin", Tag=6, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="fixedTypical", Tag=7, Type=typing.Optional[uint]),
])
rangeMin: 'int' = 0
rangeMax: 'int' = 0
percentMax: 'typing.Optional[uint]' = None
percentMin: 'typing.Optional[uint]' = None
percentTypical: 'typing.Optional[uint]' = None
fixedMax: 'typing.Optional[uint]' = None
fixedMin: 'typing.Optional[uint]' = None
fixedTypical: 'typing.Optional[uint]' = None
@dataclass
class MeasurementAccuracyStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="measurementType", Tag=0, Type=ElectricalEnergyMeasurement.Enums.MeasurementTypeEnum),
ClusterObjectFieldDescriptor(Label="measured", Tag=1, Type=bool),
ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=2, Type=int),
ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=3, Type=int),
ClusterObjectFieldDescriptor(Label="accuracyRanges", Tag=4, Type=typing.List[ElectricalEnergyMeasurement.Structs.MeasurementAccuracyRangeStruct]),
])
measurementType: 'ElectricalEnergyMeasurement.Enums.MeasurementTypeEnum' = 0
measured: 'bool' = False
minMeasuredValue: 'int' = 0
maxMeasuredValue: 'int' = 0
accuracyRanges: 'typing.List[ElectricalEnergyMeasurement.Structs.MeasurementAccuracyRangeStruct]' = field(default_factory=lambda: [])
@dataclass
class EnergyMeasurementStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="energy", Tag=0, Type=int),
ClusterObjectFieldDescriptor(Label="startTimestamp", Tag=1, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="endTimestamp", Tag=2, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="startSystime", Tag=3, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="endSystime", Tag=4, Type=typing.Optional[uint]),
])
energy: 'int' = 0
startTimestamp: 'typing.Optional[uint]' = None
endTimestamp: 'typing.Optional[uint]' = None
startSystime: 'typing.Optional[uint]' = None
endSystime: 'typing.Optional[uint]' = None
class Attributes:
@dataclass
class Accuracy(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000091
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=ElectricalEnergyMeasurement.Structs.MeasurementAccuracyStruct)
value: 'ElectricalEnergyMeasurement.Structs.MeasurementAccuracyStruct' = field(default_factory=lambda: ElectricalEnergyMeasurement.Structs.MeasurementAccuracyStruct())
@dataclass
class CumulativeEnergyImported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000091
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct])
value: 'typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = None
@dataclass
class CumulativeEnergyExported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000091
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct])
value: 'typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = None
@dataclass
class PeriodicEnergyImported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000091
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct])
value: 'typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = None
@dataclass
class PeriodicEnergyExported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000091
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct])
value: 'typing.Union[None, Nullable, ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000091
@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 0x00000091
@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 0x00000091
@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 0x00000091
@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 0x00000091
@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 0x00000091
@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 CumulativeEnergyMeasured(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000091
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="energyImported", Tag=0, Type=typing.Optional[ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]),
ClusterObjectFieldDescriptor(Label="energyExported", Tag=1, Type=typing.Optional[ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]),
])
energyImported: 'typing.Optional[ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = None
energyExported: 'typing.Optional[ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = None
@dataclass
class PeriodicEnergyMeasured(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000091
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="energyImported", Tag=0, Type=typing.Optional[ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]),
ClusterObjectFieldDescriptor(Label="energyExported", Tag=1, Type=typing.Optional[ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]),
])
energyImported: 'typing.Optional[ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = None
energyExported: 'typing.Optional[ElectricalEnergyMeasurement.Structs.EnergyMeasurementStruct]' = None
@dataclass
class DemandResponseLoadControl(Cluster):
id: typing.ClassVar[int] = 0x00000096
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="loadControlPrograms", Tag=0x00000000, Type=typing.List[DemandResponseLoadControl.Structs.LoadControlProgramStruct]),
ClusterObjectFieldDescriptor(Label="numberOfLoadControlPrograms", Tag=0x00000001, Type=uint),
ClusterObjectFieldDescriptor(Label="events", Tag=0x00000002, Type=typing.List[DemandResponseLoadControl.Structs.LoadControlEventStruct]),
ClusterObjectFieldDescriptor(Label="activeEvents", Tag=0x00000003, Type=typing.List[DemandResponseLoadControl.Structs.LoadControlEventStruct]),
ClusterObjectFieldDescriptor(Label="numberOfEventsPerProgram", Tag=0x00000004, Type=uint),
ClusterObjectFieldDescriptor(Label="numberOfTransitions", Tag=0x00000005, Type=uint),
ClusterObjectFieldDescriptor(Label="defaultRandomStart", Tag=0x00000006, Type=uint),
ClusterObjectFieldDescriptor(Label="defaultRandomDuration", Tag=0x00000007, 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),
])
loadControlPrograms: 'typing.List[DemandResponseLoadControl.Structs.LoadControlProgramStruct]' = None
numberOfLoadControlPrograms: 'uint' = None
events: 'typing.List[DemandResponseLoadControl.Structs.LoadControlEventStruct]' = None
activeEvents: 'typing.List[DemandResponseLoadControl.Structs.LoadControlEventStruct]' = None
numberOfEventsPerProgram: 'uint' = None
numberOfTransitions: 'uint' = None
defaultRandomStart: 'uint' = None
defaultRandomDuration: '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 CriticalityLevelEnum(MatterIntEnum):
kUnknown = 0x00
kGreen = 0x01
kLevel1 = 0x02
kLevel2 = 0x03
kLevel3 = 0x04
kLevel4 = 0x05
kLevel5 = 0x06
kEmergency = 0x07
kPlannedOutage = 0x08
kServiceDisconnect = 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 HeatingSourceEnum(MatterIntEnum):
kAny = 0x00
kElectric = 0x01
kNonElectric = 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 LoadControlEventChangeSourceEnum(MatterIntEnum):
kAutomatic = 0x00
kUserAction = 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 LoadControlEventStatusEnum(MatterIntEnum):
kUnknown = 0x00
kReceived = 0x01
kInProgress = 0x02
kCompleted = 0x03
kOptedOut = 0x04
kOptedIn = 0x05
kCanceled = 0x06
kSuperseded = 0x07
kPartialOptedOut = 0x08
kPartialOptedIn = 0x09
kNoParticipation = 0x0A
kUnavailable = 0x0B
kFailed = 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 Bitmaps:
class CancelControlBitmap(IntFlag):
kRandomEnd = 0x1
class DeviceClassBitmap(IntFlag):
kHvac = 0x1
kStripHeater = 0x2
kWaterHeater = 0x4
kPoolPump = 0x8
kSmartAppliance = 0x10
kIrrigationPump = 0x20
kCommercialLoad = 0x40
kResidentialLoad = 0x80
kExteriorLighting = 0x100
kInteriorLighting = 0x200
kEv = 0x400
kGenerationSystem = 0x800
kSmartInverter = 0x1000
kEvse = 0x2000
kResu = 0x4000
kEms = 0x8000
kSem = 0x10000
class EventControlBitmap(IntFlag):
kRandomStart = 0x1
class EventTransitionControlBitmap(IntFlag):
kRandomDuration = 0x1
kIgnoreOptOut = 0x2
class Feature(IntFlag):
kEnrollmentGroups = 0x1
kTemperatureOffset = 0x2
kTemperatureSetpoint = 0x4
kLoadAdjustment = 0x8
kDutyCycle = 0x10
kPowerSavings = 0x20
kHeatingSource = 0x40
class Structs:
@dataclass
class HeatingSourceControlStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="heatingSource", Tag=0, Type=DemandResponseLoadControl.Enums.HeatingSourceEnum),
])
heatingSource: 'DemandResponseLoadControl.Enums.HeatingSourceEnum' = 0
@dataclass
class PowerSavingsControlStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="powerSavings", Tag=0, Type=uint),
])
powerSavings: 'uint' = 0
@dataclass
class DutyCycleControlStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="dutyCycle", Tag=0, Type=uint),
])
dutyCycle: 'uint' = 0
@dataclass
class AverageLoadControlStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="loadAdjustment", Tag=0, Type=int),
])
loadAdjustment: 'int' = 0
@dataclass
class TemperatureControlStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="coolingTempOffset", Tag=0, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="heatingtTempOffset", Tag=1, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="coolingTempSetpoint", Tag=2, Type=typing.Union[None, Nullable, int]),
ClusterObjectFieldDescriptor(Label="heatingTempSetpoint", Tag=3, Type=typing.Union[None, Nullable, int]),
])
coolingTempOffset: 'typing.Union[None, Nullable, uint]' = None
heatingtTempOffset: 'typing.Union[None, Nullable, uint]' = None
coolingTempSetpoint: 'typing.Union[None, Nullable, int]' = None
heatingTempSetpoint: 'typing.Union[None, Nullable, int]' = None
@dataclass
class LoadControlEventTransitionStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="duration", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="control", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="temperatureControl", Tag=2, Type=typing.Optional[DemandResponseLoadControl.Structs.TemperatureControlStruct]),
ClusterObjectFieldDescriptor(Label="averageLoadControl", Tag=3, Type=typing.Optional[DemandResponseLoadControl.Structs.AverageLoadControlStruct]),
ClusterObjectFieldDescriptor(Label="dutyCycleControl", Tag=4, Type=typing.Optional[DemandResponseLoadControl.Structs.DutyCycleControlStruct]),
ClusterObjectFieldDescriptor(Label="powerSavingsControl", Tag=5, Type=typing.Optional[DemandResponseLoadControl.Structs.PowerSavingsControlStruct]),
ClusterObjectFieldDescriptor(Label="heatingSourceControl", Tag=6, Type=typing.Optional[DemandResponseLoadControl.Structs.HeatingSourceControlStruct]),
])
duration: 'uint' = 0
control: 'uint' = 0
temperatureControl: 'typing.Optional[DemandResponseLoadControl.Structs.TemperatureControlStruct]' = None
averageLoadControl: 'typing.Optional[DemandResponseLoadControl.Structs.AverageLoadControlStruct]' = None
dutyCycleControl: 'typing.Optional[DemandResponseLoadControl.Structs.DutyCycleControlStruct]' = None
powerSavingsControl: 'typing.Optional[DemandResponseLoadControl.Structs.PowerSavingsControlStruct]' = None
heatingSourceControl: 'typing.Optional[DemandResponseLoadControl.Structs.HeatingSourceControlStruct]' = None
@dataclass
class LoadControlEventStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="eventID", Tag=0, Type=bytes),
ClusterObjectFieldDescriptor(Label="programID", Tag=1, Type=typing.Union[Nullable, bytes]),
ClusterObjectFieldDescriptor(Label="control", Tag=2, Type=uint),
ClusterObjectFieldDescriptor(Label="deviceClass", Tag=3, Type=uint),
ClusterObjectFieldDescriptor(Label="enrollmentGroup", Tag=4, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="criticality", Tag=5, Type=DemandResponseLoadControl.Enums.CriticalityLevelEnum),
ClusterObjectFieldDescriptor(Label="startTime", Tag=6, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="transitions", Tag=7, Type=typing.List[DemandResponseLoadControl.Structs.LoadControlEventTransitionStruct]),
])
eventID: 'bytes' = b""
programID: 'typing.Union[Nullable, bytes]' = NullValue
control: 'uint' = 0
deviceClass: 'uint' = 0
enrollmentGroup: 'typing.Optional[uint]' = None
criticality: 'DemandResponseLoadControl.Enums.CriticalityLevelEnum' = 0
startTime: 'typing.Union[Nullable, uint]' = NullValue
transitions: 'typing.List[DemandResponseLoadControl.Structs.LoadControlEventTransitionStruct]' = field(default_factory=lambda: [])
@dataclass
class LoadControlProgramStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="programID", Tag=0, Type=bytes),
ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str),
ClusterObjectFieldDescriptor(Label="enrollmentGroup", Tag=2, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="randomStartMinutes", Tag=3, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="randomDurationMinutes", Tag=4, Type=typing.Union[Nullable, uint]),
])
programID: 'bytes' = b""
name: 'str' = ""
enrollmentGroup: 'typing.Union[Nullable, uint]' = NullValue
randomStartMinutes: 'typing.Union[Nullable, uint]' = NullValue
randomDurationMinutes: 'typing.Union[Nullable, uint]' = NullValue
class Commands:
@dataclass
class RegisterLoadControlProgramRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000096
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="loadControlProgram", Tag=0, Type=DemandResponseLoadControl.Structs.LoadControlProgramStruct),
])
loadControlProgram: 'DemandResponseLoadControl.Structs.LoadControlProgramStruct' = field(default_factory=lambda: DemandResponseLoadControl.Structs.LoadControlProgramStruct())
@dataclass
class UnregisterLoadControlProgramRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000096
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="loadControlProgramID", Tag=0, Type=bytes),
])
loadControlProgramID: 'bytes' = b""
@dataclass
class AddLoadControlEventRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000096
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="event", Tag=0, Type=DemandResponseLoadControl.Structs.LoadControlEventStruct),
])
event: 'DemandResponseLoadControl.Structs.LoadControlEventStruct' = field(default_factory=lambda: DemandResponseLoadControl.Structs.LoadControlEventStruct())
@dataclass
class RemoveLoadControlEventRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000096
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="eventID", Tag=0, Type=bytes),
ClusterObjectFieldDescriptor(Label="cancelControl", Tag=1, Type=uint),
])
eventID: 'bytes' = b""
cancelControl: 'uint' = 0
@dataclass
class ClearLoadControlEventsRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000096
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=[
])
class Attributes:
@dataclass
class LoadControlPrograms(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000096
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[DemandResponseLoadControl.Structs.LoadControlProgramStruct])
value: 'typing.List[DemandResponseLoadControl.Structs.LoadControlProgramStruct]' = field(default_factory=lambda: [])
@dataclass
class NumberOfLoadControlPrograms(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000096
@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 Events(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000096
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[DemandResponseLoadControl.Structs.LoadControlEventStruct])
value: 'typing.List[DemandResponseLoadControl.Structs.LoadControlEventStruct]' = field(default_factory=lambda: [])
@dataclass
class ActiveEvents(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000096
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.List[DemandResponseLoadControl.Structs.LoadControlEventStruct])
value: 'typing.List[DemandResponseLoadControl.Structs.LoadControlEventStruct]' = field(default_factory=lambda: [])
@dataclass
class NumberOfEventsPerProgram(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000096
@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 NumberOfTransitions(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000096
@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 DefaultRandomStart(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000096
@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 DefaultRandomDuration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000096
@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 GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000096
@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 0x00000096
@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 0x00000096
@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 0x00000096
@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 0x00000096
@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 0x00000096
@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 LoadControlEventStatusChange(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000096
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="eventID", Tag=0, Type=bytes),
ClusterObjectFieldDescriptor(Label="transitionIndex", Tag=1, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=DemandResponseLoadControl.Enums.LoadControlEventStatusEnum),
ClusterObjectFieldDescriptor(Label="criticality", Tag=3, Type=DemandResponseLoadControl.Enums.CriticalityLevelEnum),
ClusterObjectFieldDescriptor(Label="control", Tag=4, Type=uint),
ClusterObjectFieldDescriptor(Label="temperatureControl", Tag=5, Type=typing.Union[None, Nullable, DemandResponseLoadControl.Structs.TemperatureControlStruct]),
ClusterObjectFieldDescriptor(Label="averageLoadControl", Tag=6, Type=typing.Union[None, Nullable, DemandResponseLoadControl.Structs.AverageLoadControlStruct]),
ClusterObjectFieldDescriptor(Label="dutyCycleControl", Tag=7, Type=typing.Union[None, Nullable, DemandResponseLoadControl.Structs.DutyCycleControlStruct]),
ClusterObjectFieldDescriptor(Label="powerSavingsControl", Tag=8, Type=typing.Union[None, Nullable, DemandResponseLoadControl.Structs.PowerSavingsControlStruct]),
ClusterObjectFieldDescriptor(Label="heatingSourceControl", Tag=9, Type=typing.Union[None, Nullable, DemandResponseLoadControl.Structs.HeatingSourceControlStruct]),
])
eventID: 'bytes' = b""
transitionIndex: 'typing.Union[Nullable, uint]' = NullValue
status: 'DemandResponseLoadControl.Enums.LoadControlEventStatusEnum' = 0
criticality: 'DemandResponseLoadControl.Enums.CriticalityLevelEnum' = 0
control: 'uint' = 0
temperatureControl: 'typing.Union[None, Nullable, DemandResponseLoadControl.Structs.TemperatureControlStruct]' = None
averageLoadControl: 'typing.Union[None, Nullable, DemandResponseLoadControl.Structs.AverageLoadControlStruct]' = None
dutyCycleControl: 'typing.Union[None, Nullable, DemandResponseLoadControl.Structs.DutyCycleControlStruct]' = None
powerSavingsControl: 'typing.Union[None, Nullable, DemandResponseLoadControl.Structs.PowerSavingsControlStruct]' = None
heatingSourceControl: 'typing.Union[None, Nullable, DemandResponseLoadControl.Structs.HeatingSourceControlStruct]' = None
@dataclass
class DeviceEnergyManagement(Cluster):
id: typing.ClassVar[int] = 0x00000098
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="ESAType", Tag=0x00000000, Type=DeviceEnergyManagement.Enums.ESATypeEnum),
ClusterObjectFieldDescriptor(Label="ESACanGenerate", Tag=0x00000001, Type=bool),
ClusterObjectFieldDescriptor(Label="ESAState", Tag=0x00000002, Type=DeviceEnergyManagement.Enums.ESAStateEnum),
ClusterObjectFieldDescriptor(Label="absMinPower", Tag=0x00000003, Type=int),
ClusterObjectFieldDescriptor(Label="absMaxPower", Tag=0x00000004, Type=int),
ClusterObjectFieldDescriptor(Label="powerAdjustmentCapability", Tag=0x00000005, Type=typing.Union[None, Nullable, typing.List[DeviceEnergyManagement.Structs.PowerAdjustStruct]]),
ClusterObjectFieldDescriptor(Label="forecast", Tag=0x00000006, Type=typing.Union[None, Nullable, DeviceEnergyManagement.Structs.ForecastStruct]),
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),
])
ESAType: 'DeviceEnergyManagement.Enums.ESATypeEnum' = None
ESACanGenerate: 'bool' = None
ESAState: 'DeviceEnergyManagement.Enums.ESAStateEnum' = None
absMinPower: 'int' = None
absMaxPower: 'int' = None
powerAdjustmentCapability: 'typing.Union[None, Nullable, typing.List[DeviceEnergyManagement.Structs.PowerAdjustStruct]]' = None
forecast: 'typing.Union[None, Nullable, DeviceEnergyManagement.Structs.ForecastStruct]' = 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 CauseEnum(MatterIntEnum):
kNormalCompletion = 0x00
kOffline = 0x01
kFault = 0x02
kUserOptOut = 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 CostTypeEnum(MatterIntEnum):
kFinancial = 0x00
kGHGEmissions = 0x01
kComfort = 0x02
kTemperature = 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 ESAStateEnum(MatterIntEnum):
kOffline = 0x00
kOnline = 0x01
kFault = 0x02
kUserOptOut = 0x03
kPowerAdjustActive = 0x04
kPaused = 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 ESATypeEnum(MatterIntEnum):
kEvse = 0x00
kSpaceHeating = 0x01
kWaterHeating = 0x02
kSpaceCooling = 0x03
kSpaceHeatingCooling = 0x04
kBatteryStorage = 0x05
kSolarPV = 0x06
kFridgeFreezer = 0x07
kWashingMachine = 0x08
kDishwasher = 0x09
kCooking = 0x0A
kHomeWaterPump = 0x0B
kIrrigationWaterPump = 0x0C
kPoolPump = 0x0D
kOther = 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 = 14,
class Bitmaps:
class Feature(IntFlag):
kPowerAdjustment = 0x1
kPowerForecastReporting = 0x2
kStateForecastReporting = 0x4
kForecastAdjustment = 0x8
class Structs:
@dataclass
class CostStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="costType", Tag=0, Type=DeviceEnergyManagement.Enums.CostTypeEnum),
ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=int),
ClusterObjectFieldDescriptor(Label="decimalPoints", Tag=2, Type=uint),
ClusterObjectFieldDescriptor(Label="currency", Tag=3, Type=typing.Optional[uint]),
])
costType: 'DeviceEnergyManagement.Enums.CostTypeEnum' = 0
value: 'int' = 0
decimalPoints: 'uint' = 0
currency: 'typing.Optional[uint]' = None
@dataclass
class SlotStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="minDuration", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="maxDuration", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="defaultDuration", Tag=2, Type=uint),
ClusterObjectFieldDescriptor(Label="elapsedSlotTime", Tag=3, Type=uint),
ClusterObjectFieldDescriptor(Label="remainingSlotTime", Tag=4, Type=uint),
ClusterObjectFieldDescriptor(Label="slotIsPauseable", Tag=5, Type=bool),
ClusterObjectFieldDescriptor(Label="minPauseDuration", Tag=6, Type=uint),
ClusterObjectFieldDescriptor(Label="maxPauseDuration", Tag=7, Type=uint),
ClusterObjectFieldDescriptor(Label="manufacturerESAState", Tag=8, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="nominalPower", Tag=9, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="minPower", Tag=10, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="maxPower", Tag=11, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="nominalEnergy", Tag=12, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="costs", Tag=13, Type=typing.Optional[typing.List[DeviceEnergyManagement.Structs.CostStruct]]),
ClusterObjectFieldDescriptor(Label="minPowerAdjustment", Tag=14, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="maxPowerAdjustment", Tag=15, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="minDurationAdjustment", Tag=16, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="maxDurationAdjustment", Tag=17, Type=typing.Optional[uint]),
])
minDuration: 'uint' = 0
maxDuration: 'uint' = 0
defaultDuration: 'uint' = 0
elapsedSlotTime: 'uint' = 0
remainingSlotTime: 'uint' = 0
slotIsPauseable: 'bool' = False
minPauseDuration: 'uint' = 0
maxPauseDuration: 'uint' = 0
manufacturerESAState: 'typing.Optional[uint]' = None
nominalPower: 'typing.Optional[int]' = None
minPower: 'typing.Optional[int]' = None
maxPower: 'typing.Optional[int]' = None
nominalEnergy: 'typing.Optional[int]' = None
costs: 'typing.Optional[typing.List[DeviceEnergyManagement.Structs.CostStruct]]' = None
minPowerAdjustment: 'typing.Optional[int]' = None
maxPowerAdjustment: 'typing.Optional[int]' = None
minDurationAdjustment: 'typing.Optional[uint]' = None
maxDurationAdjustment: 'typing.Optional[uint]' = None
@dataclass
class ForecastStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="forecastId", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="activeSlotNumber", Tag=1, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="startTime", Tag=2, Type=uint),
ClusterObjectFieldDescriptor(Label="endTime", Tag=3, Type=uint),
ClusterObjectFieldDescriptor(Label="earliestStartTime", Tag=4, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="latestEndTime", Tag=5, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="isPauseable", Tag=6, Type=bool),
ClusterObjectFieldDescriptor(Label="slots", Tag=7, Type=typing.List[DeviceEnergyManagement.Structs.SlotStruct]),
])
forecastId: 'uint' = 0
activeSlotNumber: 'typing.Union[Nullable, uint]' = NullValue
startTime: 'uint' = 0
endTime: 'uint' = 0
earliestStartTime: 'typing.Union[None, Nullable, uint]' = None
latestEndTime: 'typing.Optional[uint]' = None
isPauseable: 'bool' = False
slots: 'typing.List[DeviceEnergyManagement.Structs.SlotStruct]' = field(default_factory=lambda: [])
@dataclass
class ConstraintsStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="startTime", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="duration", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="nominalPower", Tag=2, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="maximumEnergy", Tag=3, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="loadControl", Tag=4, Type=typing.Optional[int]),
])
startTime: 'uint' = 0
duration: 'uint' = 0
nominalPower: 'typing.Optional[int]' = None
maximumEnergy: 'typing.Optional[int]' = None
loadControl: 'typing.Optional[int]' = None
@dataclass
class PowerAdjustStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="minPower", Tag=0, Type=int),
ClusterObjectFieldDescriptor(Label="maxPower", Tag=1, Type=int),
ClusterObjectFieldDescriptor(Label="minDuration", Tag=2, Type=uint),
ClusterObjectFieldDescriptor(Label="maxDuration", Tag=3, Type=uint),
])
minPower: 'int' = 0
maxPower: 'int' = 0
minDuration: 'uint' = 0
maxDuration: 'uint' = 0
@dataclass
class SlotAdjustmentStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="slotIndex", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="nominalPower", Tag=1, Type=int),
ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint),
])
slotIndex: 'uint' = 0
nominalPower: 'int' = 0
duration: 'uint' = 0
class Commands:
@dataclass
class PowerAdjustRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000098
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="power", Tag=0, Type=int),
ClusterObjectFieldDescriptor(Label="duration", Tag=1, Type=uint),
])
power: 'int' = 0
duration: 'uint' = 0
@dataclass
class CancelPowerAdjustRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000098
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 StartTimeAdjustRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000098
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="requestedStartTime", Tag=0, Type=uint),
])
requestedStartTime: 'uint' = 0
@dataclass
class PauseRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000098
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="duration", Tag=0, Type=uint),
])
duration: 'uint' = 0
@dataclass
class ResumeRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000098
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 ModifyForecastRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000098
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="forecastId", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="slotAdjustments", Tag=1, Type=typing.List[DeviceEnergyManagement.Structs.SlotAdjustmentStruct]),
])
forecastId: 'uint' = 0
slotAdjustments: 'typing.List[DeviceEnergyManagement.Structs.SlotAdjustmentStruct]' = field(default_factory=lambda: [])
@dataclass
class RequestConstraintBasedForecast(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000098
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="constraints", Tag=0, Type=typing.List[DeviceEnergyManagement.Structs.ConstraintsStruct]),
])
constraints: 'typing.List[DeviceEnergyManagement.Structs.ConstraintsStruct]' = field(default_factory=lambda: [])
class Attributes:
@dataclass
class ESAType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=DeviceEnergyManagement.Enums.ESATypeEnum)
value: 'DeviceEnergyManagement.Enums.ESATypeEnum' = 0
@dataclass
class ESACanGenerate(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@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 ESAState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=DeviceEnergyManagement.Enums.ESAStateEnum)
value: 'DeviceEnergyManagement.Enums.ESAStateEnum' = 0
@dataclass
class AbsMinPower(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=int)
value: 'int' = 0
@dataclass
class AbsMaxPower(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=int)
value: 'int' = 0
@dataclass
class PowerAdjustmentCapability(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, typing.List[DeviceEnergyManagement.Structs.PowerAdjustStruct]])
value: 'typing.Union[None, Nullable, typing.List[DeviceEnergyManagement.Structs.PowerAdjustStruct]]' = None
@dataclass
class Forecast(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, DeviceEnergyManagement.Structs.ForecastStruct])
value: 'typing.Union[None, Nullable, DeviceEnergyManagement.Structs.ForecastStruct]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@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 0x00000098
@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 0x00000098
@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 0x00000098
@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 0x00000098
@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 0x00000098
@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 PowerAdjustStart(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class PowerAdjustEnd(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="cause", Tag=0, Type=DeviceEnergyManagement.Enums.CauseEnum),
ClusterObjectFieldDescriptor(Label="duration", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="energyUse", Tag=2, Type=int),
])
cause: 'DeviceEnergyManagement.Enums.CauseEnum' = 0
duration: 'uint' = 0
energyUse: 'int' = 0
@dataclass
class Paused(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class Resumed(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000098
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class EnergyEvse(Cluster):
id: typing.ClassVar[int] = 0x00000099
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="state", Tag=0x00000000, Type=typing.Union[Nullable, EnergyEvse.Enums.StateEnum]),
ClusterObjectFieldDescriptor(Label="supplyState", Tag=0x00000001, Type=EnergyEvse.Enums.SupplyStateEnum),
ClusterObjectFieldDescriptor(Label="faultState", Tag=0x00000002, Type=EnergyEvse.Enums.FaultStateEnum),
ClusterObjectFieldDescriptor(Label="chargingEnabledUntil", Tag=0x00000003, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="dischargingEnabledUntil", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="circuitCapacity", Tag=0x00000005, Type=int),
ClusterObjectFieldDescriptor(Label="minimumChargeCurrent", Tag=0x00000006, Type=int),
ClusterObjectFieldDescriptor(Label="maximumChargeCurrent", Tag=0x00000007, Type=int),
ClusterObjectFieldDescriptor(Label="maximumDischargeCurrent", Tag=0x00000008, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="userMaximumChargeCurrent", Tag=0x00000009, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="randomizationDelayWindow", Tag=0x0000000A, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="nextChargeStartTime", Tag=0x00000023, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="nextChargeTargetTime", Tag=0x00000024, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="nextChargeRequiredEnergy", Tag=0x00000025, Type=typing.Union[None, Nullable, int]),
ClusterObjectFieldDescriptor(Label="nextChargeTargetSoC", Tag=0x00000026, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="approximateEVEfficiency", Tag=0x00000027, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="stateOfCharge", Tag=0x00000030, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="batteryCapacity", Tag=0x00000031, Type=typing.Union[None, Nullable, int]),
ClusterObjectFieldDescriptor(Label="vehicleID", Tag=0x00000032, Type=typing.Union[None, Nullable, str]),
ClusterObjectFieldDescriptor(Label="sessionID", Tag=0x00000040, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="sessionDuration", Tag=0x00000041, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="sessionEnergyCharged", Tag=0x00000042, Type=typing.Union[Nullable, int]),
ClusterObjectFieldDescriptor(Label="sessionEnergyDischarged", Tag=0x00000043, Type=typing.Union[None, 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),
])
state: 'typing.Union[Nullable, EnergyEvse.Enums.StateEnum]' = None
supplyState: 'EnergyEvse.Enums.SupplyStateEnum' = None
faultState: 'EnergyEvse.Enums.FaultStateEnum' = None
chargingEnabledUntil: 'typing.Union[Nullable, uint]' = None
dischargingEnabledUntil: 'typing.Union[None, Nullable, uint]' = None
circuitCapacity: 'int' = None
minimumChargeCurrent: 'int' = None
maximumChargeCurrent: 'int' = None
maximumDischargeCurrent: 'typing.Optional[int]' = None
userMaximumChargeCurrent: 'typing.Optional[int]' = None
randomizationDelayWindow: 'typing.Optional[uint]' = None
nextChargeStartTime: 'typing.Union[None, Nullable, uint]' = None
nextChargeTargetTime: 'typing.Union[None, Nullable, uint]' = None
nextChargeRequiredEnergy: 'typing.Union[None, Nullable, int]' = None
nextChargeTargetSoC: 'typing.Union[None, Nullable, uint]' = None
approximateEVEfficiency: 'typing.Union[None, Nullable, uint]' = None
stateOfCharge: 'typing.Union[None, Nullable, uint]' = None
batteryCapacity: 'typing.Union[None, Nullable, int]' = None
vehicleID: 'typing.Union[None, Nullable, str]' = None
sessionID: 'typing.Union[Nullable, uint]' = None
sessionDuration: 'typing.Union[Nullable, uint]' = None
sessionEnergyCharged: 'typing.Union[Nullable, int]' = None
sessionEnergyDischarged: 'typing.Union[None, 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 EnergyTransferStoppedReasonEnum(MatterIntEnum):
kEVStopped = 0x00
kEVSEStopped = 0x01
kOther = 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 FaultStateEnum(MatterIntEnum):
kNoError = 0x00
kMeterFailure = 0x01
kOverVoltage = 0x02
kUnderVoltage = 0x03
kOverCurrent = 0x04
kContactWetFailure = 0x05
kContactDryFailure = 0x06
kGroundFault = 0x07
kPowerLoss = 0x08
kPowerQuality = 0x09
kPilotShortCircuit = 0x0A
kEmergencyStop = 0x0B
kEVDisconnected = 0x0C
kWrongPowerSupply = 0x0D
kLiveNeutralSwap = 0x0E
kOverTemperature = 0x0F
kOther = 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 = 16,
class StateEnum(MatterIntEnum):
kNotPluggedIn = 0x00
kPluggedInNoDemand = 0x01
kPluggedInDemand = 0x02
kPluggedInCharging = 0x03
kPluggedInDischarging = 0x04
kSessionEnding = 0x05
kFault = 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 SupplyStateEnum(MatterIntEnum):
kDisabled = 0x00
kChargingEnabled = 0x01
kDischargingEnabled = 0x02
kDisabledError = 0x03
kDisabledDiagnostics = 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 Bitmaps:
class Feature(IntFlag):
kChargingPreferences = 0x1
kSoCReporting = 0x2
kPlugAndCharge = 0x4
kRfid = 0x8
kV2x = 0x10
class TargetDayOfWeekBitmap(IntFlag):
kSunday = 0x1
kMonday = 0x2
kTuesday = 0x4
kWednesday = 0x8
kThursday = 0x10
kFriday = 0x20
kSaturday = 0x40
class Structs:
@dataclass
class ChargingTargetStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="targetTimeMinutesPastMidnight", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="targetSoC", Tag=1, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="addedEnergy", Tag=2, Type=typing.Optional[int]),
])
targetTimeMinutesPastMidnight: 'uint' = 0
targetSoC: 'typing.Optional[uint]' = None
addedEnergy: 'typing.Optional[int]' = None
@dataclass
class ChargingTargetScheduleStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="chargingTargets", Tag=1, Type=typing.List[EnergyEvse.Structs.ChargingTargetStruct]),
])
dayOfWeekForSequence: 'uint' = 0
chargingTargets: 'typing.List[EnergyEvse.Structs.ChargingTargetStruct]' = field(default_factory=lambda: [])
class Commands:
@dataclass
class GetTargetsResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000099
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="chargingTargetSchedules", Tag=0, Type=typing.List[EnergyEvse.Structs.ChargingTargetScheduleStruct]),
])
chargingTargetSchedules: 'typing.List[EnergyEvse.Structs.ChargingTargetScheduleStruct]' = field(default_factory=lambda: [])
@dataclass
class Disable(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000099
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=[
])
@ChipUtility.classproperty
def must_use_timed_invoke(cls) -> bool:
return True
@dataclass
class EnableCharging(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000099
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="chargingEnabledUntil", Tag=0, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="minimumChargeCurrent", Tag=1, Type=int),
ClusterObjectFieldDescriptor(Label="maximumChargeCurrent", Tag=2, Type=int),
])
@ChipUtility.classproperty
def must_use_timed_invoke(cls) -> bool:
return True
chargingEnabledUntil: 'typing.Union[Nullable, uint]' = NullValue
minimumChargeCurrent: 'int' = 0
maximumChargeCurrent: 'int' = 0
@dataclass
class EnableDischarging(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000099
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="dischargingEnabledUntil", Tag=0, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="maximumDischargeCurrent", Tag=1, Type=int),
])
@ChipUtility.classproperty
def must_use_timed_invoke(cls) -> bool:
return True
dischargingEnabledUntil: 'typing.Union[Nullable, uint]' = NullValue
maximumDischargeCurrent: 'int' = 0
@dataclass
class StartDiagnostics(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000099
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=[
])
@ChipUtility.classproperty
def must_use_timed_invoke(cls) -> bool:
return True
@dataclass
class SetTargets(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000099
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="chargingTargetSchedules", Tag=0, Type=typing.List[EnergyEvse.Structs.ChargingTargetScheduleStruct]),
])
@ChipUtility.classproperty
def must_use_timed_invoke(cls) -> bool:
return True
chargingTargetSchedules: 'typing.List[EnergyEvse.Structs.ChargingTargetScheduleStruct]' = field(default_factory=lambda: [])
@dataclass
class GetTargets(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000099
command_id: typing.ClassVar[int] = 0x00000006
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'GetTargetsResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@ChipUtility.classproperty
def must_use_timed_invoke(cls) -> bool:
return True
@dataclass
class ClearTargets(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000099
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=[
])
@ChipUtility.classproperty
def must_use_timed_invoke(cls) -> bool:
return True
class Attributes:
@dataclass
class State(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, EnergyEvse.Enums.StateEnum])
value: 'typing.Union[Nullable, EnergyEvse.Enums.StateEnum]' = NullValue
@dataclass
class SupplyState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=EnergyEvse.Enums.SupplyStateEnum)
value: 'EnergyEvse.Enums.SupplyStateEnum' = 0
@dataclass
class FaultState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=EnergyEvse.Enums.FaultStateEnum)
value: 'EnergyEvse.Enums.FaultStateEnum' = 0
@dataclass
class ChargingEnabledUntil(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@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 DischargingEnabledUntil(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@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 CircuitCapacity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=int)
value: 'int' = 0
@dataclass
class MinimumChargeCurrent(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=int)
value: 'int' = 0
@dataclass
class MaximumChargeCurrent(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=int)
value: 'int' = 0
@dataclass
class MaximumDischargeCurrent(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
value: 'typing.Optional[int]' = None
@dataclass
class UserMaximumChargeCurrent(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
value: 'typing.Optional[int]' = None
@dataclass
class RandomizationDelayWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@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 NextChargeStartTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000023
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class NextChargeTargetTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@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 NextChargeRequiredEnergy(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000025
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
value: 'typing.Union[None, Nullable, int]' = None
@dataclass
class NextChargeTargetSoC(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@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 ApproximateEVEfficiency(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000027
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class StateOfCharge(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000030
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class BatteryCapacity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@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 VehicleID(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000032
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, str])
value: 'typing.Union[None, Nullable, str]' = None
@dataclass
class SessionID(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000040
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
class SessionDuration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000041
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
class SessionEnergyCharged(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000042
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
class SessionEnergyDischarged(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000043
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
value: 'typing.Union[None, Nullable, int]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@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 0x00000099
@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 0x00000099
@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 0x00000099
@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 0x00000099
@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 0x00000099
@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 EVConnected(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="sessionID", Tag=0, Type=uint),
])
sessionID: 'uint' = 0
@dataclass
class EVNotDetected(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="sessionID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="state", Tag=1, Type=EnergyEvse.Enums.StateEnum),
ClusterObjectFieldDescriptor(Label="sessionDuration", Tag=2, Type=uint),
ClusterObjectFieldDescriptor(Label="sessionEnergyCharged", Tag=3, Type=int),
ClusterObjectFieldDescriptor(Label="sessionEnergyDischarged", Tag=4, Type=typing.Optional[int]),
])
sessionID: 'uint' = 0
state: 'EnergyEvse.Enums.StateEnum' = 0
sessionDuration: 'uint' = 0
sessionEnergyCharged: 'int' = 0
sessionEnergyDischarged: 'typing.Optional[int]' = None
@dataclass
class EnergyTransferStarted(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="sessionID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="state", Tag=1, Type=EnergyEvse.Enums.StateEnum),
ClusterObjectFieldDescriptor(Label="maximumCurrent", Tag=2, Type=int),
])
sessionID: 'uint' = 0
state: 'EnergyEvse.Enums.StateEnum' = 0
maximumCurrent: 'int' = 0
@dataclass
class EnergyTransferStopped(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="sessionID", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="state", Tag=1, Type=EnergyEvse.Enums.StateEnum),
ClusterObjectFieldDescriptor(Label="reason", Tag=2, Type=EnergyEvse.Enums.EnergyTransferStoppedReasonEnum),
ClusterObjectFieldDescriptor(Label="energyTransferred", Tag=4, Type=int),
])
sessionID: 'uint' = 0
state: 'EnergyEvse.Enums.StateEnum' = 0
reason: 'EnergyEvse.Enums.EnergyTransferStoppedReasonEnum' = 0
energyTransferred: 'int' = 0
@dataclass
class Fault(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000004
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="sessionID", Tag=0, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="state", Tag=1, Type=EnergyEvse.Enums.StateEnum),
ClusterObjectFieldDescriptor(Label="faultStatePreviousState", Tag=2, Type=EnergyEvse.Enums.FaultStateEnum),
ClusterObjectFieldDescriptor(Label="faultStateCurrentState", Tag=4, Type=EnergyEvse.Enums.FaultStateEnum),
])
sessionID: 'typing.Union[Nullable, uint]' = NullValue
state: 'EnergyEvse.Enums.StateEnum' = 0
faultStatePreviousState: 'EnergyEvse.Enums.FaultStateEnum' = 0
faultStateCurrentState: 'EnergyEvse.Enums.FaultStateEnum' = 0
@dataclass
class Rfid(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000099
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="uid", Tag=0, Type=bytes),
])
uid: 'bytes' = b""
@dataclass
class EnergyPreference(Cluster):
id: typing.ClassVar[int] = 0x0000009B
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="energyBalances", Tag=0x00000000, Type=typing.Optional[typing.List[EnergyPreference.Structs.BalanceStruct]]),
ClusterObjectFieldDescriptor(Label="currentEnergyBalance", Tag=0x00000001, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="energyPriorities", Tag=0x00000002, Type=typing.Optional[typing.List[EnergyPreference.Enums.EnergyPriorityEnum]]),
ClusterObjectFieldDescriptor(Label="lowPowerModeSensitivities", Tag=0x00000003, Type=typing.Optional[typing.List[EnergyPreference.Structs.BalanceStruct]]),
ClusterObjectFieldDescriptor(Label="currentLowPowerModeSensitivity", Tag=0x00000004, 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),
])
energyBalances: 'typing.Optional[typing.List[EnergyPreference.Structs.BalanceStruct]]' = None
currentEnergyBalance: 'typing.Optional[uint]' = None
energyPriorities: 'typing.Optional[typing.List[EnergyPreference.Enums.EnergyPriorityEnum]]' = None
lowPowerModeSensitivities: 'typing.Optional[typing.List[EnergyPreference.Structs.BalanceStruct]]' = None
currentLowPowerModeSensitivity: '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 EnergyPriorityEnum(MatterIntEnum):
kComfort = 0x00
kSpeed = 0x01
kEfficiency = 0x02
kWaterConsumption = 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):
kEnergyBalance = 0x1
kLowPowerModeSensitivity = 0x2
class Structs:
@dataclass
class BalanceStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="step", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="label", Tag=1, Type=typing.Optional[str]),
])
step: 'uint' = 0
label: 'typing.Optional[str]' = None
class Attributes:
@dataclass
class EnergyBalances(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000009B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[EnergyPreference.Structs.BalanceStruct]])
value: 'typing.Optional[typing.List[EnergyPreference.Structs.BalanceStruct]]' = None
@dataclass
class CurrentEnergyBalance(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000009B
@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 EnergyPriorities(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000009B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[EnergyPreference.Enums.EnergyPriorityEnum]])
value: 'typing.Optional[typing.List[EnergyPreference.Enums.EnergyPriorityEnum]]' = None
@dataclass
class LowPowerModeSensitivities(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000009B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[EnergyPreference.Structs.BalanceStruct]])
value: 'typing.Optional[typing.List[EnergyPreference.Structs.BalanceStruct]]' = None
@dataclass
class CurrentLowPowerModeSensitivity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000009B
@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 GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000009B
@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 0x0000009B
@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 0x0000009B
@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 0x0000009B
@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 0x0000009B
@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 0x0000009B
@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] = 0x00000101
@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="aliroReaderVerificationKey", Tag=0x00000080, Type=typing.Union[None, Nullable, bytes]),
ClusterObjectFieldDescriptor(Label="aliroReaderGroupIdentifier", Tag=0x00000081, Type=typing.Union[None, Nullable, bytes]),
ClusterObjectFieldDescriptor(Label="aliroReaderGroupSubIdentifier", Tag=0x00000082, Type=typing.Optional[bytes]),
ClusterObjectFieldDescriptor(Label="aliroExpeditedTransactionSupportedProtocolVersions", Tag=0x00000083, Type=typing.Optional[typing.List[bytes]]),
ClusterObjectFieldDescriptor(Label="aliroGroupResolvingKey", Tag=0x00000084, Type=typing.Union[None, Nullable, bytes]),
ClusterObjectFieldDescriptor(Label="aliroSupportedBLEUWBProtocolVersions", Tag=0x00000085, Type=typing.Optional[typing.List[bytes]]),
ClusterObjectFieldDescriptor(Label="aliroBLEAdvertisingVersion", Tag=0x00000086, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="numberOfAliroCredentialIssuerKeysSupported", Tag=0x00000087, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="numberOfAliroEndpointKeysSupported", Tag=0x00000088, 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
aliroReaderVerificationKey: 'typing.Union[None, Nullable, bytes]' = None
aliroReaderGroupIdentifier: 'typing.Union[None, Nullable, bytes]' = None
aliroReaderGroupSubIdentifier: 'typing.Optional[bytes]' = None
aliroExpeditedTransactionSupportedProtocolVersions: 'typing.Optional[typing.List[bytes]]' = None
aliroGroupResolvingKey: 'typing.Union[None, Nullable, bytes]' = None
aliroSupportedBLEUWBProtocolVersions: 'typing.Optional[typing.List[bytes]]' = None
aliroBLEAdvertisingVersion: 'typing.Optional[uint]' = None
numberOfAliroCredentialIssuerKeysSupported: 'typing.Optional[uint]' = None
numberOfAliroEndpointKeysSupported: '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
kAliroCredentialIssuerKey = 0x06
kAliroEvictableEndpointKey = 0x07
kAliroNonEvictableEndpointKey = 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 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
kAliroCredentialIssuerKey = 0x0B
kAliroEvictableEndpointKey = 0x0C
kAliroNonEvictableEndpointKey = 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 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
kAliro = 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 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
kAliroProvisioning = 0x2000
kAliroBLEUWB = 0x4000
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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] = 0x00000101
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
@dataclass
class SetAliroReaderConfig(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000101
command_id: typing.ClassVar[int] = 0x00000028
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = None
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="signingKey", Tag=0, Type=bytes),
ClusterObjectFieldDescriptor(Label="verificationKey", Tag=1, Type=bytes),
ClusterObjectFieldDescriptor(Label="groupIdentifier", Tag=2, Type=bytes),
ClusterObjectFieldDescriptor(Label="groupResolvingKey", Tag=3, Type=typing.Optional[bytes]),
])
@ChipUtility.classproperty
def must_use_timed_invoke(cls) -> bool:
return True
signingKey: 'bytes' = b""
verificationKey: 'bytes' = b""
groupIdentifier: 'bytes' = b""
groupResolvingKey: 'typing.Optional[bytes]' = None
@dataclass
class ClearAliroReaderConfig(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000101
command_id: typing.ClassVar[int] = 0x00000029
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 LockState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 AliroReaderVerificationKey(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000080
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, bytes])
value: 'typing.Union[None, Nullable, bytes]' = None
@dataclass
class AliroReaderGroupIdentifier(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000081
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, bytes])
value: 'typing.Union[None, Nullable, bytes]' = None
@dataclass
class AliroReaderGroupSubIdentifier(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000082
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes])
value: 'typing.Optional[bytes]' = None
@dataclass
class AliroExpeditedTransactionSupportedProtocolVersions(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000083
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[bytes]])
value: 'typing.Optional[typing.List[bytes]]' = None
@dataclass
class AliroGroupResolvingKey(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000084
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, bytes])
value: 'typing.Union[None, Nullable, bytes]' = None
@dataclass
class AliroSupportedBLEUWBProtocolVersions(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000085
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[bytes]])
value: 'typing.Optional[typing.List[bytes]]' = None
@dataclass
class AliroBLEAdvertisingVersion(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000086
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
value: 'typing.Optional[uint]' = None
@dataclass
class NumberOfAliroCredentialIssuerKeysSupported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000087
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
value: 'typing.Optional[uint]' = None
@dataclass
class NumberOfAliroEndpointKeysSupported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000088
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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 0x00000101
@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] = 0x00000102
@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] = 0x00000102
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] = 0x00000102
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] = 0x00000102
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] = 0x00000102
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] = 0x00000102
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] = 0x00000102
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] = 0x00000102
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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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 0x00000102
@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] = 0x00000103
@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 Bitmaps:
class BarrierControlCapabilities(IntFlag):
kPartialBarrier = 0x1
class BarrierControlSafetyStatus(IntFlag):
kRemoteLockout = 0x1
kTemperDetected = 0x2
kFailedCommunication = 0x4
kPositionFailure = 0x8
class Commands:
@dataclass
class BarrierControlGoToPercent(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000103
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] = 0x00000103
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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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 0x00000103
@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] = 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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 0x00000200
@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] = 0x00000201
@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.ControlSequenceOfOperationEnum),
ClusterObjectFieldDescriptor(Label="systemMode", Tag=0x0000001C, Type=Thermostat.Enums.SystemModeEnum),
ClusterObjectFieldDescriptor(Label="thermostatRunningMode", Tag=0x0000001E, Type=typing.Optional[Thermostat.Enums.ThermostatRunningModeEnum]),
ClusterObjectFieldDescriptor(Label="startOfWeek", Tag=0x00000020, Type=typing.Optional[Thermostat.Enums.StartOfWeekEnum]),
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[Thermostat.Enums.TemperatureSetpointHoldEnum]),
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[Thermostat.Enums.SetpointChangeSourceEnum]),
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[Thermostat.Enums.ACTypeEnum]),
ClusterObjectFieldDescriptor(Label="ACCapacity", Tag=0x00000041, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="ACRefrigerantType", Tag=0x00000042, Type=typing.Optional[Thermostat.Enums.ACRefrigerantTypeEnum]),
ClusterObjectFieldDescriptor(Label="ACCompressorType", Tag=0x00000043, Type=typing.Optional[Thermostat.Enums.ACCompressorTypeEnum]),
ClusterObjectFieldDescriptor(Label="ACErrorCode", Tag=0x00000044, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="ACLouverPosition", Tag=0x00000045, Type=typing.Optional[Thermostat.Enums.ACLouverPositionEnum]),
ClusterObjectFieldDescriptor(Label="ACCoilTemperature", Tag=0x00000046, Type=typing.Union[None, Nullable, int]),
ClusterObjectFieldDescriptor(Label="ACCapacityformat", Tag=0x00000047, Type=typing.Optional[Thermostat.Enums.ACCapacityFormatEnum]),
ClusterObjectFieldDescriptor(Label="presetTypes", Tag=0x00000048, Type=typing.Optional[typing.List[Thermostat.Structs.PresetTypeStruct]]),
ClusterObjectFieldDescriptor(Label="scheduleTypes", Tag=0x00000049, Type=typing.Optional[typing.List[Thermostat.Structs.ScheduleTypeStruct]]),
ClusterObjectFieldDescriptor(Label="numberOfPresets", Tag=0x0000004A, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="numberOfSchedules", Tag=0x0000004B, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="numberOfScheduleTransitions", Tag=0x0000004C, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="numberOfScheduleTransitionPerDay", Tag=0x0000004D, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="activePresetHandle", Tag=0x0000004E, Type=typing.Union[None, Nullable, bytes]),
ClusterObjectFieldDescriptor(Label="activeScheduleHandle", Tag=0x0000004F, Type=typing.Union[None, Nullable, bytes]),
ClusterObjectFieldDescriptor(Label="presets", Tag=0x00000050, Type=typing.Optional[typing.List[Thermostat.Structs.PresetStruct]]),
ClusterObjectFieldDescriptor(Label="schedules", Tag=0x00000051, Type=typing.Optional[typing.List[Thermostat.Structs.ScheduleStruct]]),
ClusterObjectFieldDescriptor(Label="presetsSchedulesEditable", Tag=0x00000052, Type=typing.Optional[bool]),
ClusterObjectFieldDescriptor(Label="temperatureSetpointHoldPolicy", Tag=0x00000053, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="setpointHoldExpiryTimestamp", Tag=0x00000054, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="queuedPreset", Tag=0x00000055, Type=typing.Union[None, Nullable, Thermostat.Structs.QueuedPresetStruct]),
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.ControlSequenceOfOperationEnum' = None
systemMode: 'Thermostat.Enums.SystemModeEnum' = None
thermostatRunningMode: 'typing.Optional[Thermostat.Enums.ThermostatRunningModeEnum]' = None
startOfWeek: 'typing.Optional[Thermostat.Enums.StartOfWeekEnum]' = None
numberOfWeeklyTransitions: 'typing.Optional[uint]' = None
numberOfDailyTransitions: 'typing.Optional[uint]' = None
temperatureSetpointHold: 'typing.Optional[Thermostat.Enums.TemperatureSetpointHoldEnum]' = None
temperatureSetpointHoldDuration: 'typing.Union[None, Nullable, uint]' = None
thermostatProgrammingOperationMode: 'typing.Optional[uint]' = None
thermostatRunningState: 'typing.Optional[uint]' = None
setpointChangeSource: 'typing.Optional[Thermostat.Enums.SetpointChangeSourceEnum]' = 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[Thermostat.Enums.ACTypeEnum]' = None
ACCapacity: 'typing.Optional[uint]' = None
ACRefrigerantType: 'typing.Optional[Thermostat.Enums.ACRefrigerantTypeEnum]' = None
ACCompressorType: 'typing.Optional[Thermostat.Enums.ACCompressorTypeEnum]' = None
ACErrorCode: 'typing.Optional[uint]' = None
ACLouverPosition: 'typing.Optional[Thermostat.Enums.ACLouverPositionEnum]' = None
ACCoilTemperature: 'typing.Union[None, Nullable, int]' = None
ACCapacityformat: 'typing.Optional[Thermostat.Enums.ACCapacityFormatEnum]' = None
presetTypes: 'typing.Optional[typing.List[Thermostat.Structs.PresetTypeStruct]]' = None
scheduleTypes: 'typing.Optional[typing.List[Thermostat.Structs.ScheduleTypeStruct]]' = None
numberOfPresets: 'typing.Optional[uint]' = None
numberOfSchedules: 'typing.Optional[uint]' = None
numberOfScheduleTransitions: 'typing.Optional[uint]' = None
numberOfScheduleTransitionPerDay: 'typing.Union[None, Nullable, uint]' = None
activePresetHandle: 'typing.Union[None, Nullable, bytes]' = None
activeScheduleHandle: 'typing.Union[None, Nullable, bytes]' = None
presets: 'typing.Optional[typing.List[Thermostat.Structs.PresetStruct]]' = None
schedules: 'typing.Optional[typing.List[Thermostat.Structs.ScheduleStruct]]' = None
presetsSchedulesEditable: 'typing.Optional[bool]' = None
temperatureSetpointHoldPolicy: 'typing.Optional[uint]' = None
setpointHoldExpiryTimestamp: 'typing.Union[None, Nullable, uint]' = None
queuedPreset: 'typing.Union[None, Nullable, Thermostat.Structs.QueuedPresetStruct]' = 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 ACCapacityFormatEnum(MatterIntEnum):
kBTUh = 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 ACCompressorTypeEnum(MatterIntEnum):
kUnknown = 0x00
kT1 = 0x01
kT2 = 0x02
kT3 = 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 ACLouverPositionEnum(MatterIntEnum):
kClosed = 0x01
kOpen = 0x02
kQuarter = 0x03
kHalf = 0x04
kThreeQuarters = 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 ACRefrigerantTypeEnum(MatterIntEnum):
kUnknown = 0x00
kR22 = 0x01
kR410a = 0x02
kR407c = 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 ACTypeEnum(MatterIntEnum):
kUnknown = 0x00
kCoolingFixed = 0x01
kHeatPumpFixed = 0x02
kCoolingInverter = 0x03
kHeatPumpInverter = 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 ControlSequenceOfOperationEnum(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 PresetScenarioEnum(MatterIntEnum):
kUnspecified = 0x00
kOccupied = 0x01
kUnoccupied = 0x02
kSleep = 0x03
kWake = 0x04
kVacation = 0x05
kUserDefined = 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 SetpointChangeSourceEnum(MatterIntEnum):
kManual = 0x00
kSchedule = 0x01
kExternal = 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 SetpointRaiseLowerModeEnum(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 StartOfWeekEnum(MatterIntEnum):
kSunday = 0x00
kMonday = 0x01
kTuesday = 0x02
kWednesday = 0x03
kThursday = 0x04
kFriday = 0x05
kSaturday = 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 SystemModeEnum(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 TemperatureSetpointHoldEnum(MatterIntEnum):
kSetpointHoldOff = 0x00
kSetpointHoldOn = 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 ThermostatRunningModeEnum(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 Bitmaps:
class ACErrorCodeBitmap(IntFlag):
kCompressorFail = 0x1
kRoomSensorFail = 0x2
kOutdoorSensorFail = 0x4
kCoilSensorFail = 0x8
kFanFail = 0x10
class Feature(IntFlag):
kHeating = 0x1
kCooling = 0x2
kOccupancy = 0x4
kScheduleConfiguration = 0x8
kSetback = 0x10
kAutoMode = 0x20
kLocalTemperatureNotExposed = 0x40
kMatterScheduleConfiguration = 0x80
kPresets = 0x100
kSetpoints = 0x200
kQueuedPresetsSupported = 0x400
class HVACSystemTypeBitmap(IntFlag):
kCoolingStage = 0x3
kHeatingStage = 0xC
kHeatingIsHeatPump = 0x10
kHeatingUsesFuel = 0x20
class PresetTypeFeaturesBitmap(IntFlag):
kAutomatic = 0x1
kSupportsNames = 0x2
class ProgrammingOperationModeBitmap(IntFlag):
kScheduleActive = 0x1
kAutoRecovery = 0x2
kEconomy = 0x4
class RelayStateBitmap(IntFlag):
kHeat = 0x1
kCool = 0x2
kFan = 0x4
kHeatStage2 = 0x8
kCoolStage2 = 0x10
kFanStage2 = 0x20
kFanStage3 = 0x40
class RemoteSensingBitmap(IntFlag):
kLocalTemperature = 0x1
kOutdoorTemperature = 0x2
kOccupancy = 0x4
class ScheduleDayOfWeekBitmap(IntFlag):
kSunday = 0x1
kMonday = 0x2
kTuesday = 0x4
kWednesday = 0x8
kThursday = 0x10
kFriday = 0x20
kSaturday = 0x40
kAway = 0x80
class ScheduleModeBitmap(IntFlag):
kHeatSetpointPresent = 0x1
kCoolSetpointPresent = 0x2
class ScheduleTypeFeaturesBitmap(IntFlag):
kSupportsPresets = 0x1
kSupportsSetpoints = 0x2
kSupportsNames = 0x4
kSupportsOff = 0x8
class TemperatureSetpointHoldPolicyBitmap(IntFlag):
kHoldDurationElapsed = 0x1
kHoldDurationElapsedOrPresetChanged = 0x2
class Structs:
@dataclass
class ScheduleTransitionStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="dayOfWeek", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="presetHandle", Tag=2, Type=typing.Optional[bytes]),
ClusterObjectFieldDescriptor(Label="systemMode", Tag=3, Type=typing.Optional[Thermostat.Enums.SystemModeEnum]),
ClusterObjectFieldDescriptor(Label="coolingSetpoint", Tag=4, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="heatingSetpoint", Tag=5, Type=typing.Optional[int]),
])
dayOfWeek: 'uint' = 0
transitionTime: 'uint' = 0
presetHandle: 'typing.Optional[bytes]' = None
systemMode: 'typing.Optional[Thermostat.Enums.SystemModeEnum]' = None
coolingSetpoint: 'typing.Optional[int]' = None
heatingSetpoint: 'typing.Optional[int]' = None
@dataclass
class ScheduleStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="scheduleHandle", Tag=0, Type=typing.Union[Nullable, bytes]),
ClusterObjectFieldDescriptor(Label="systemMode", Tag=1, Type=Thermostat.Enums.SystemModeEnum),
ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="presetHandle", Tag=3, Type=typing.Optional[bytes]),
ClusterObjectFieldDescriptor(Label="transitions", Tag=4, Type=typing.List[Thermostat.Structs.ScheduleTransitionStruct]),
ClusterObjectFieldDescriptor(Label="builtIn", Tag=5, Type=typing.Union[None, Nullable, bool]),
])
scheduleHandle: 'typing.Union[Nullable, bytes]' = NullValue
systemMode: 'Thermostat.Enums.SystemModeEnum' = 0
name: 'typing.Optional[str]' = None
presetHandle: 'typing.Optional[bytes]' = None
transitions: 'typing.List[Thermostat.Structs.ScheduleTransitionStruct]' = field(default_factory=lambda: [])
builtIn: 'typing.Union[None, Nullable, bool]' = None
@dataclass
class PresetStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="presetHandle", Tag=0, Type=typing.Union[Nullable, bytes]),
ClusterObjectFieldDescriptor(Label="presetScenario", Tag=1, Type=Thermostat.Enums.PresetScenarioEnum),
ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=typing.Union[None, Nullable, str]),
ClusterObjectFieldDescriptor(Label="coolingSetpoint", Tag=3, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="heatingSetpoint", Tag=4, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="builtIn", Tag=5, Type=typing.Union[Nullable, bool]),
])
presetHandle: 'typing.Union[Nullable, bytes]' = NullValue
presetScenario: 'Thermostat.Enums.PresetScenarioEnum' = 0
name: 'typing.Union[None, Nullable, str]' = None
coolingSetpoint: 'typing.Optional[int]' = None
heatingSetpoint: 'typing.Optional[int]' = None
builtIn: 'typing.Union[Nullable, bool]' = NullValue
@dataclass
class PresetTypeStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="presetScenario", Tag=0, Type=Thermostat.Enums.PresetScenarioEnum),
ClusterObjectFieldDescriptor(Label="numberOfPresets", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="presetTypeFeatures", Tag=2, Type=uint),
])
presetScenario: 'Thermostat.Enums.PresetScenarioEnum' = 0
numberOfPresets: 'uint' = 0
presetTypeFeatures: 'uint' = 0
@dataclass
class QueuedPresetStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="presetHandle", Tag=0, Type=typing.Union[Nullable, bytes]),
ClusterObjectFieldDescriptor(Label="transitionTimestamp", Tag=1, Type=typing.Union[Nullable, uint]),
])
presetHandle: 'typing.Union[Nullable, bytes]' = NullValue
transitionTimestamp: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
class ScheduleTypeStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="systemMode", Tag=0, Type=Thermostat.Enums.SystemModeEnum),
ClusterObjectFieldDescriptor(Label="numberOfSchedules", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="scheduleTypeFeatures", Tag=2, Type=uint),
])
systemMode: 'Thermostat.Enums.SystemModeEnum' = 0
numberOfSchedules: 'uint' = 0
scheduleTypeFeatures: 'uint' = 0
@dataclass
class WeeklyScheduleTransitionStruct(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] = 0x00000201
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.SetpointRaiseLowerModeEnum),
ClusterObjectFieldDescriptor(Label="amount", Tag=1, Type=int),
])
mode: 'Thermostat.Enums.SetpointRaiseLowerModeEnum' = 0
amount: 'int' = 0
@dataclass
class GetWeeklyScheduleResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000201
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.WeeklyScheduleTransitionStruct]),
])
numberOfTransitionsForSequence: 'uint' = 0
dayOfWeekForSequence: 'uint' = 0
modeForSequence: 'uint' = 0
transitions: 'typing.List[Thermostat.Structs.WeeklyScheduleTransitionStruct]' = field(default_factory=lambda: [])
@dataclass
class SetWeeklySchedule(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000201
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.WeeklyScheduleTransitionStruct]),
])
numberOfTransitionsForSequence: 'uint' = 0
dayOfWeekForSequence: 'uint' = 0
modeForSequence: 'uint' = 0
transitions: 'typing.List[Thermostat.Structs.WeeklyScheduleTransitionStruct]' = field(default_factory=lambda: [])
@dataclass
class GetWeeklySchedule(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000201
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] = 0x00000201
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 SetActiveScheduleRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000201
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="scheduleHandle", Tag=0, Type=bytes),
])
scheduleHandle: 'bytes' = b""
@dataclass
class SetActivePresetRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000201
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="presetHandle", Tag=0, Type=bytes),
ClusterObjectFieldDescriptor(Label="delayMinutes", Tag=1, Type=typing.Optional[uint]),
])
presetHandle: 'bytes' = b""
delayMinutes: 'typing.Optional[uint]' = None
@dataclass
class StartPresetsSchedulesEditRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000201
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="timeoutSeconds", Tag=0, Type=uint),
])
timeoutSeconds: 'uint' = 0
@dataclass
class CancelPresetsSchedulesEditRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000201
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=[
])
@dataclass
class CommitPresetsSchedulesRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000201
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=[
])
@dataclass
class CancelSetActivePresetRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000201
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=[
])
@dataclass
class SetTemperatureSetpointHoldPolicy(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000201
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="temperatureSetpointHoldPolicy", Tag=0, Type=uint),
])
temperatureSetpointHoldPolicy: 'uint' = 0
class Attributes:
@dataclass
class LocalTemperature(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000001B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=Thermostat.Enums.ControlSequenceOfOperationEnum)
value: 'Thermostat.Enums.ControlSequenceOfOperationEnum' = 0
@dataclass
class SystemMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000001C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=Thermostat.Enums.SystemModeEnum)
value: 'Thermostat.Enums.SystemModeEnum' = 0
@dataclass
class ThermostatRunningMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000001E
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Thermostat.Enums.ThermostatRunningModeEnum])
value: 'typing.Optional[Thermostat.Enums.ThermostatRunningModeEnum]' = None
@dataclass
class StartOfWeek(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000020
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Thermostat.Enums.StartOfWeekEnum])
value: 'typing.Optional[Thermostat.Enums.StartOfWeekEnum]' = None
@dataclass
class NumberOfWeeklyTransitions(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@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 0x00000201
@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 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000023
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Thermostat.Enums.TemperatureSetpointHoldEnum])
value: 'typing.Optional[Thermostat.Enums.TemperatureSetpointHoldEnum]' = None
@dataclass
class TemperatureSetpointHoldDuration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000030
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Thermostat.Enums.SetpointChangeSourceEnum])
value: 'typing.Optional[Thermostat.Enums.SetpointChangeSourceEnum]' = None
@dataclass
class SetpointChangeAmount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000040
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Thermostat.Enums.ACTypeEnum])
value: 'typing.Optional[Thermostat.Enums.ACTypeEnum]' = None
@dataclass
class ACCapacity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@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 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000042
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Thermostat.Enums.ACRefrigerantTypeEnum])
value: 'typing.Optional[Thermostat.Enums.ACRefrigerantTypeEnum]' = None
@dataclass
class ACCompressorType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000043
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Thermostat.Enums.ACCompressorTypeEnum])
value: 'typing.Optional[Thermostat.Enums.ACCompressorTypeEnum]' = None
@dataclass
class ACErrorCode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@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 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000045
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Thermostat.Enums.ACLouverPositionEnum])
value: 'typing.Optional[Thermostat.Enums.ACLouverPositionEnum]' = None
@dataclass
class ACCoilTemperature(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@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 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000047
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Thermostat.Enums.ACCapacityFormatEnum])
value: 'typing.Optional[Thermostat.Enums.ACCapacityFormatEnum]' = None
@dataclass
class PresetTypes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000048
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[Thermostat.Structs.PresetTypeStruct]])
value: 'typing.Optional[typing.List[Thermostat.Structs.PresetTypeStruct]]' = None
@dataclass
class ScheduleTypes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000049
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[Thermostat.Structs.ScheduleTypeStruct]])
value: 'typing.Optional[typing.List[Thermostat.Structs.ScheduleTypeStruct]]' = None
@dataclass
class NumberOfPresets(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000004A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
value: 'typing.Optional[uint]' = None
@dataclass
class NumberOfSchedules(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000004B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
value: 'typing.Optional[uint]' = None
@dataclass
class NumberOfScheduleTransitions(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000004C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
value: 'typing.Optional[uint]' = None
@dataclass
class NumberOfScheduleTransitionPerDay(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000004D
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class ActivePresetHandle(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000004E
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, bytes])
value: 'typing.Union[None, Nullable, bytes]' = None
@dataclass
class ActiveScheduleHandle(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000004F
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, bytes])
value: 'typing.Union[None, Nullable, bytes]' = None
@dataclass
class Presets(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000050
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[Thermostat.Structs.PresetStruct]])
value: 'typing.Optional[typing.List[Thermostat.Structs.PresetStruct]]' = None
@dataclass
class Schedules(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000051
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[Thermostat.Structs.ScheduleStruct]])
value: 'typing.Optional[typing.List[Thermostat.Structs.ScheduleStruct]]' = None
@dataclass
class PresetsSchedulesEditable(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000052
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
value: 'typing.Optional[bool]' = None
@dataclass
class TemperatureSetpointHoldPolicy(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000053
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
value: 'typing.Optional[uint]' = None
@dataclass
class SetpointHoldExpiryTimestamp(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000054
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class QueuedPreset(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000055
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, Thermostat.Structs.QueuedPresetStruct])
value: 'typing.Union[None, Nullable, Thermostat.Structs.QueuedPresetStruct]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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 0x00000201
@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] = 0x00000202
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="fanMode", Tag=0x00000000, Type=FanControl.Enums.FanModeEnum),
ClusterObjectFieldDescriptor(Label="fanModeSequence", Tag=0x00000001, Type=FanControl.Enums.FanModeSequenceEnum),
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="airflowDirection", Tag=0x0000000B, Type=typing.Optional[FanControl.Enums.AirflowDirectionEnum]),
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.FanModeEnum' = None
fanModeSequence: 'FanControl.Enums.FanModeSequenceEnum' = 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
airflowDirection: 'typing.Optional[FanControl.Enums.AirflowDirectionEnum]' = 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 AirflowDirectionEnum(MatterIntEnum):
kForward = 0x00
kReverse = 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 FanModeEnum(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 FanModeSequenceEnum(MatterIntEnum):
kOffLowMedHigh = 0x00
kOffLowHigh = 0x01
kOffLowMedHighAuto = 0x02
kOffLowHighAuto = 0x03
kOffHighAuto = 0x04
kOffHigh = 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 StepDirectionEnum(MatterIntEnum):
kIncrease = 0x00
kDecrease = 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):
kMultiSpeed = 0x1
kAuto = 0x2
kRocking = 0x4
kWind = 0x8
kStep = 0x10
kAirflowDirection = 0x20
class RockBitmap(IntFlag):
kRockLeftRight = 0x1
kRockUpDown = 0x2
kRockRound = 0x4
class WindBitmap(IntFlag):
kSleepWind = 0x1
kNaturalWind = 0x2
class Commands:
@dataclass
class Step(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000202
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="direction", Tag=0, Type=FanControl.Enums.StepDirectionEnum),
ClusterObjectFieldDescriptor(Label="wrap", Tag=1, Type=typing.Optional[bool]),
ClusterObjectFieldDescriptor(Label="lowestOff", Tag=2, Type=typing.Optional[bool]),
])
direction: 'FanControl.Enums.StepDirectionEnum' = 0
wrap: 'typing.Optional[bool]' = None
lowestOff: 'typing.Optional[bool]' = None
class Attributes:
@dataclass
class FanMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=FanControl.Enums.FanModeEnum)
value: 'FanControl.Enums.FanModeEnum' = 0
@dataclass
class FanModeSequence(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=FanControl.Enums.FanModeSequenceEnum)
value: 'FanControl.Enums.FanModeSequenceEnum' = 0
@dataclass
class PercentSetting(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000202
@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 0x00000202
@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 0x00000202
@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 0x00000202
@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 0x00000202
@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 0x00000202
@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 0x00000202
@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 0x00000202
@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 0x00000202
@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 AirflowDirection(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[FanControl.Enums.AirflowDirectionEnum])
value: 'typing.Optional[FanControl.Enums.AirflowDirectionEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000202
@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 0x00000202
@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 0x00000202
@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 0x00000202
@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 0x00000202
@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 0x00000202
@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] = 0x00000204
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="temperatureDisplayMode", Tag=0x00000000, Type=ThermostatUserInterfaceConfiguration.Enums.TemperatureDisplayModeEnum),
ClusterObjectFieldDescriptor(Label="keypadLockout", Tag=0x00000001, Type=ThermostatUserInterfaceConfiguration.Enums.KeypadLockoutEnum),
ClusterObjectFieldDescriptor(Label="scheduleProgrammingVisibility", Tag=0x00000002, Type=typing.Optional[ThermostatUserInterfaceConfiguration.Enums.ScheduleProgrammingVisibilityEnum]),
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: 'ThermostatUserInterfaceConfiguration.Enums.TemperatureDisplayModeEnum' = None
keypadLockout: 'ThermostatUserInterfaceConfiguration.Enums.KeypadLockoutEnum' = None
scheduleProgrammingVisibility: 'typing.Optional[ThermostatUserInterfaceConfiguration.Enums.ScheduleProgrammingVisibilityEnum]' = 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 KeypadLockoutEnum(MatterIntEnum):
kNoLockout = 0x00
kLockout1 = 0x01
kLockout2 = 0x02
kLockout3 = 0x03
kLockout4 = 0x04
kLockout5 = 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 ScheduleProgrammingVisibilityEnum(MatterIntEnum):
kScheduleProgrammingPermitted = 0x00
kScheduleProgrammingDenied = 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 TemperatureDisplayModeEnum(MatterIntEnum):
kCelsius = 0x00
kFahrenheit = 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 TemperatureDisplayMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000204
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=ThermostatUserInterfaceConfiguration.Enums.TemperatureDisplayModeEnum)
value: 'ThermostatUserInterfaceConfiguration.Enums.TemperatureDisplayModeEnum' = 0
@dataclass
class KeypadLockout(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000204
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=ThermostatUserInterfaceConfiguration.Enums.KeypadLockoutEnum)
value: 'ThermostatUserInterfaceConfiguration.Enums.KeypadLockoutEnum' = 0
@dataclass
class ScheduleProgrammingVisibility(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000204
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[ThermostatUserInterfaceConfiguration.Enums.ScheduleProgrammingVisibilityEnum])
value: 'typing.Optional[ThermostatUserInterfaceConfiguration.Enums.ScheduleProgrammingVisibilityEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000204
@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 0x00000204
@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 0x00000204
@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 0x00000204
@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 0x00000204
@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 0x00000204
@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] = 0x00000300
@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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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] = 0x00000300
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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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 0x00000300
@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] = 0x00000301
@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 Bitmaps:
class BallastStatusBitmap(IntFlag):
kBallastNonOperational = 0x1
kLampFailure = 0x2
class LampAlarmModeBitmap(IntFlag):
kLampBurnHours = 0x1
class Attributes:
@dataclass
class PhysicalMinLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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 0x00000301
@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] = 0x00000400
@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, IlluminanceMeasurement.Enums.LightSensorTypeEnum]),
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, IlluminanceMeasurement.Enums.LightSensorTypeEnum]' = 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 LightSensorTypeEnum(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 0x00000400
@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 0x00000400
@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 0x00000400
@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 0x00000400
@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 0x00000400
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, IlluminanceMeasurement.Enums.LightSensorTypeEnum])
value: 'typing.Union[None, Nullable, IlluminanceMeasurement.Enums.LightSensorTypeEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000400
@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 0x00000400
@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 0x00000400
@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 0x00000400
@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 0x00000400
@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 0x00000400
@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] = 0x00000402
@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 0x00000402
@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 0x00000402
@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 0x00000402
@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 0x00000402
@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 0x00000402
@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 0x00000402
@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 0x00000402
@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 0x00000402
@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 0x00000402
@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 0x00000402
@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] = 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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 0x00000403
@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] = 0x00000404
@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 0x00000404
@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 0x00000404
@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 0x00000404
@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 0x00000404
@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 0x00000404
@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 0x00000404
@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 0x00000404
@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 0x00000404
@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 0x00000404
@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 0x00000404
@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] = 0x00000405
@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 0x00000405
@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 0x00000405
@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 0x00000405
@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 0x00000405
@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 0x00000405
@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 0x00000405
@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 0x00000405
@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 0x00000405
@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 0x00000405
@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 0x00000405
@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] = 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 0x00000406
@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 CarbonMonoxideConcentrationMeasurement(Cluster):
id: typing.ClassVar[int] = 0x0000040C
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValue", Tag=0x00000003, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValueWindow", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValue", Tag=0x00000005, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValueWindow", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="uncertainty", Tag=0x00000007, Type=typing.Optional[float32]),
ClusterObjectFieldDescriptor(Label="measurementUnit", Tag=0x00000008, Type=typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.MeasurementUnitEnum]),
ClusterObjectFieldDescriptor(Label="measurementMedium", Tag=0x00000009, Type=typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.MeasurementMediumEnum]),
ClusterObjectFieldDescriptor(Label="levelValue", Tag=0x0000000A, Type=typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.LevelValueEnum]),
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[None, Nullable, float32]' = None
minMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
maxMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValueWindow: 'typing.Optional[uint]' = None
averageMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
averageMeasuredValueWindow: 'typing.Optional[uint]' = None
uncertainty: 'typing.Optional[float32]' = None
measurementUnit: 'typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
measurementMedium: 'typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
levelValue: 'typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.LevelValueEnum]' = 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 LevelValueEnum(MatterIntEnum):
kUnknown = 0x00
kLow = 0x01
kMedium = 0x02
kHigh = 0x03
kCritical = 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 MeasurementMediumEnum(MatterIntEnum):
kAir = 0x00
kWater = 0x01
kSoil = 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 MeasurementUnitEnum(MatterIntEnum):
kPpm = 0x00
kPpb = 0x01
kPpt = 0x02
kMgm3 = 0x03
kUgm3 = 0x04
kNgm3 = 0x05
kPm3 = 0x06
kBqm3 = 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 = 8,
class Bitmaps:
class Feature(IntFlag):
kNumericMeasurement = 0x1
kLevelIndication = 0x2
kMediumLevel = 0x4
kCriticalLevel = 0x8
kPeakMeasurement = 0x10
kAverageMeasurement = 0x20
class Attributes:
@dataclass
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@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 AverageMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class AverageMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@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 Uncertainty(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
value: 'typing.Optional[float32]' = None
@dataclass
class MeasurementUnit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.MeasurementUnitEnum])
value: 'typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
@dataclass
class MeasurementMedium(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.MeasurementMediumEnum])
value: 'typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
@dataclass
class LevelValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.LevelValueEnum])
value: 'typing.Optional[CarbonMonoxideConcentrationMeasurement.Enums.LevelValueEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040C
@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 0x0000040C
@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 0x0000040C
@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 0x0000040C
@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 0x0000040C
@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 0x0000040C
@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 CarbonDioxideConcentrationMeasurement(Cluster):
id: typing.ClassVar[int] = 0x0000040D
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValue", Tag=0x00000003, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValueWindow", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValue", Tag=0x00000005, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValueWindow", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="uncertainty", Tag=0x00000007, Type=typing.Optional[float32]),
ClusterObjectFieldDescriptor(Label="measurementUnit", Tag=0x00000008, Type=typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.MeasurementUnitEnum]),
ClusterObjectFieldDescriptor(Label="measurementMedium", Tag=0x00000009, Type=typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.MeasurementMediumEnum]),
ClusterObjectFieldDescriptor(Label="levelValue", Tag=0x0000000A, Type=typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.LevelValueEnum]),
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[None, Nullable, float32]' = None
minMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
maxMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValueWindow: 'typing.Optional[uint]' = None
averageMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
averageMeasuredValueWindow: 'typing.Optional[uint]' = None
uncertainty: 'typing.Optional[float32]' = None
measurementUnit: 'typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
measurementMedium: 'typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
levelValue: 'typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.LevelValueEnum]' = 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 LevelValueEnum(MatterIntEnum):
kUnknown = 0x00
kLow = 0x01
kMedium = 0x02
kHigh = 0x03
kCritical = 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 MeasurementMediumEnum(MatterIntEnum):
kAir = 0x00
kWater = 0x01
kSoil = 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 MeasurementUnitEnum(MatterIntEnum):
kPpm = 0x00
kPpb = 0x01
kPpt = 0x02
kMgm3 = 0x03
kUgm3 = 0x04
kNgm3 = 0x05
kPm3 = 0x06
kBqm3 = 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 = 8,
class Bitmaps:
class Feature(IntFlag):
kNumericMeasurement = 0x1
kLevelIndication = 0x2
kMediumLevel = 0x4
kCriticalLevel = 0x8
kPeakMeasurement = 0x10
kAverageMeasurement = 0x20
class Attributes:
@dataclass
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@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 AverageMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class AverageMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@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 Uncertainty(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
value: 'typing.Optional[float32]' = None
@dataclass
class MeasurementUnit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.MeasurementUnitEnum])
value: 'typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
@dataclass
class MeasurementMedium(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.MeasurementMediumEnum])
value: 'typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
@dataclass
class LevelValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.LevelValueEnum])
value: 'typing.Optional[CarbonDioxideConcentrationMeasurement.Enums.LevelValueEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000040D
@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 0x0000040D
@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 0x0000040D
@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 0x0000040D
@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 0x0000040D
@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 0x0000040D
@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 NitrogenDioxideConcentrationMeasurement(Cluster):
id: typing.ClassVar[int] = 0x00000413
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValue", Tag=0x00000003, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValueWindow", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValue", Tag=0x00000005, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValueWindow", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="uncertainty", Tag=0x00000007, Type=typing.Optional[float32]),
ClusterObjectFieldDescriptor(Label="measurementUnit", Tag=0x00000008, Type=typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.MeasurementUnitEnum]),
ClusterObjectFieldDescriptor(Label="measurementMedium", Tag=0x00000009, Type=typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.MeasurementMediumEnum]),
ClusterObjectFieldDescriptor(Label="levelValue", Tag=0x0000000A, Type=typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.LevelValueEnum]),
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[None, Nullable, float32]' = None
minMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
maxMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValueWindow: 'typing.Optional[uint]' = None
averageMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
averageMeasuredValueWindow: 'typing.Optional[uint]' = None
uncertainty: 'typing.Optional[float32]' = None
measurementUnit: 'typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
measurementMedium: 'typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
levelValue: 'typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.LevelValueEnum]' = 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 LevelValueEnum(MatterIntEnum):
kUnknown = 0x00
kLow = 0x01
kMedium = 0x02
kHigh = 0x03
kCritical = 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 MeasurementMediumEnum(MatterIntEnum):
kAir = 0x00
kWater = 0x01
kSoil = 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 MeasurementUnitEnum(MatterIntEnum):
kPpm = 0x00
kPpb = 0x01
kPpt = 0x02
kMgm3 = 0x03
kUgm3 = 0x04
kNgm3 = 0x05
kPm3 = 0x06
kBqm3 = 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 = 8,
class Bitmaps:
class Feature(IntFlag):
kNumericMeasurement = 0x1
kLevelIndication = 0x2
kMediumLevel = 0x4
kCriticalLevel = 0x8
kPeakMeasurement = 0x10
kAverageMeasurement = 0x20
class Attributes:
@dataclass
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@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 AverageMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class AverageMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@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 Uncertainty(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
value: 'typing.Optional[float32]' = None
@dataclass
class MeasurementUnit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.MeasurementUnitEnum])
value: 'typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
@dataclass
class MeasurementMedium(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.MeasurementMediumEnum])
value: 'typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
@dataclass
class LevelValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.LevelValueEnum])
value: 'typing.Optional[NitrogenDioxideConcentrationMeasurement.Enums.LevelValueEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000413
@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 0x00000413
@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 0x00000413
@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 0x00000413
@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 0x00000413
@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 0x00000413
@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 OzoneConcentrationMeasurement(Cluster):
id: typing.ClassVar[int] = 0x00000415
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValue", Tag=0x00000003, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValueWindow", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValue", Tag=0x00000005, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValueWindow", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="uncertainty", Tag=0x00000007, Type=typing.Optional[float32]),
ClusterObjectFieldDescriptor(Label="measurementUnit", Tag=0x00000008, Type=typing.Optional[OzoneConcentrationMeasurement.Enums.MeasurementUnitEnum]),
ClusterObjectFieldDescriptor(Label="measurementMedium", Tag=0x00000009, Type=typing.Optional[OzoneConcentrationMeasurement.Enums.MeasurementMediumEnum]),
ClusterObjectFieldDescriptor(Label="levelValue", Tag=0x0000000A, Type=typing.Optional[OzoneConcentrationMeasurement.Enums.LevelValueEnum]),
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[None, Nullable, float32]' = None
minMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
maxMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValueWindow: 'typing.Optional[uint]' = None
averageMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
averageMeasuredValueWindow: 'typing.Optional[uint]' = None
uncertainty: 'typing.Optional[float32]' = None
measurementUnit: 'typing.Optional[OzoneConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
measurementMedium: 'typing.Optional[OzoneConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
levelValue: 'typing.Optional[OzoneConcentrationMeasurement.Enums.LevelValueEnum]' = 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 LevelValueEnum(MatterIntEnum):
kUnknown = 0x00
kLow = 0x01
kMedium = 0x02
kHigh = 0x03
kCritical = 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 MeasurementMediumEnum(MatterIntEnum):
kAir = 0x00
kWater = 0x01
kSoil = 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 MeasurementUnitEnum(MatterIntEnum):
kPpm = 0x00
kPpb = 0x01
kPpt = 0x02
kMgm3 = 0x03
kUgm3 = 0x04
kNgm3 = 0x05
kPm3 = 0x06
kBqm3 = 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 = 8,
class Bitmaps:
class Feature(IntFlag):
kNumericMeasurement = 0x1
kLevelIndication = 0x2
kMediumLevel = 0x4
kCriticalLevel = 0x8
kPeakMeasurement = 0x10
kAverageMeasurement = 0x20
class Attributes:
@dataclass
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@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 AverageMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class AverageMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@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 Uncertainty(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
value: 'typing.Optional[float32]' = None
@dataclass
class MeasurementUnit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[OzoneConcentrationMeasurement.Enums.MeasurementUnitEnum])
value: 'typing.Optional[OzoneConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
@dataclass
class MeasurementMedium(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[OzoneConcentrationMeasurement.Enums.MeasurementMediumEnum])
value: 'typing.Optional[OzoneConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
@dataclass
class LevelValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[OzoneConcentrationMeasurement.Enums.LevelValueEnum])
value: 'typing.Optional[OzoneConcentrationMeasurement.Enums.LevelValueEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000415
@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 0x00000415
@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 0x00000415
@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 0x00000415
@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 0x00000415
@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 0x00000415
@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 Pm25ConcentrationMeasurement(Cluster):
id: typing.ClassVar[int] = 0x0000042A
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValue", Tag=0x00000003, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValueWindow", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValue", Tag=0x00000005, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValueWindow", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="uncertainty", Tag=0x00000007, Type=typing.Optional[float32]),
ClusterObjectFieldDescriptor(Label="measurementUnit", Tag=0x00000008, Type=typing.Optional[Pm25ConcentrationMeasurement.Enums.MeasurementUnitEnum]),
ClusterObjectFieldDescriptor(Label="measurementMedium", Tag=0x00000009, Type=typing.Optional[Pm25ConcentrationMeasurement.Enums.MeasurementMediumEnum]),
ClusterObjectFieldDescriptor(Label="levelValue", Tag=0x0000000A, Type=typing.Optional[Pm25ConcentrationMeasurement.Enums.LevelValueEnum]),
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[None, Nullable, float32]' = None
minMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
maxMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValueWindow: 'typing.Optional[uint]' = None
averageMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
averageMeasuredValueWindow: 'typing.Optional[uint]' = None
uncertainty: 'typing.Optional[float32]' = None
measurementUnit: 'typing.Optional[Pm25ConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
measurementMedium: 'typing.Optional[Pm25ConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
levelValue: 'typing.Optional[Pm25ConcentrationMeasurement.Enums.LevelValueEnum]' = 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 LevelValueEnum(MatterIntEnum):
kUnknown = 0x00
kLow = 0x01
kMedium = 0x02
kHigh = 0x03
kCritical = 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 MeasurementMediumEnum(MatterIntEnum):
kAir = 0x00
kWater = 0x01
kSoil = 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 MeasurementUnitEnum(MatterIntEnum):
kPpm = 0x00
kPpb = 0x01
kPpt = 0x02
kMgm3 = 0x03
kUgm3 = 0x04
kNgm3 = 0x05
kPm3 = 0x06
kBqm3 = 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 = 8,
class Bitmaps:
class Feature(IntFlag):
kNumericMeasurement = 0x1
kLevelIndication = 0x2
kMediumLevel = 0x4
kCriticalLevel = 0x8
kPeakMeasurement = 0x10
kAverageMeasurement = 0x20
class Attributes:
@dataclass
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@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 AverageMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class AverageMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@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 Uncertainty(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
value: 'typing.Optional[float32]' = None
@dataclass
class MeasurementUnit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Pm25ConcentrationMeasurement.Enums.MeasurementUnitEnum])
value: 'typing.Optional[Pm25ConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
@dataclass
class MeasurementMedium(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Pm25ConcentrationMeasurement.Enums.MeasurementMediumEnum])
value: 'typing.Optional[Pm25ConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
@dataclass
class LevelValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Pm25ConcentrationMeasurement.Enums.LevelValueEnum])
value: 'typing.Optional[Pm25ConcentrationMeasurement.Enums.LevelValueEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042A
@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 0x0000042A
@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 0x0000042A
@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 0x0000042A
@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 0x0000042A
@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 0x0000042A
@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 FormaldehydeConcentrationMeasurement(Cluster):
id: typing.ClassVar[int] = 0x0000042B
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValue", Tag=0x00000003, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValueWindow", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValue", Tag=0x00000005, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValueWindow", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="uncertainty", Tag=0x00000007, Type=typing.Optional[float32]),
ClusterObjectFieldDescriptor(Label="measurementUnit", Tag=0x00000008, Type=typing.Optional[FormaldehydeConcentrationMeasurement.Enums.MeasurementUnitEnum]),
ClusterObjectFieldDescriptor(Label="measurementMedium", Tag=0x00000009, Type=typing.Optional[FormaldehydeConcentrationMeasurement.Enums.MeasurementMediumEnum]),
ClusterObjectFieldDescriptor(Label="levelValue", Tag=0x0000000A, Type=typing.Optional[FormaldehydeConcentrationMeasurement.Enums.LevelValueEnum]),
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[None, Nullable, float32]' = None
minMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
maxMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValueWindow: 'typing.Optional[uint]' = None
averageMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
averageMeasuredValueWindow: 'typing.Optional[uint]' = None
uncertainty: 'typing.Optional[float32]' = None
measurementUnit: 'typing.Optional[FormaldehydeConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
measurementMedium: 'typing.Optional[FormaldehydeConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
levelValue: 'typing.Optional[FormaldehydeConcentrationMeasurement.Enums.LevelValueEnum]' = 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 LevelValueEnum(MatterIntEnum):
kUnknown = 0x00
kLow = 0x01
kMedium = 0x02
kHigh = 0x03
kCritical = 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 MeasurementMediumEnum(MatterIntEnum):
kAir = 0x00
kWater = 0x01
kSoil = 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 MeasurementUnitEnum(MatterIntEnum):
kPpm = 0x00
kPpb = 0x01
kPpt = 0x02
kMgm3 = 0x03
kUgm3 = 0x04
kNgm3 = 0x05
kPm3 = 0x06
kBqm3 = 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 = 8,
class Bitmaps:
class Feature(IntFlag):
kNumericMeasurement = 0x1
kLevelIndication = 0x2
kMediumLevel = 0x4
kCriticalLevel = 0x8
kPeakMeasurement = 0x10
kAverageMeasurement = 0x20
class Attributes:
@dataclass
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@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 AverageMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class AverageMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@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 Uncertainty(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
value: 'typing.Optional[float32]' = None
@dataclass
class MeasurementUnit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[FormaldehydeConcentrationMeasurement.Enums.MeasurementUnitEnum])
value: 'typing.Optional[FormaldehydeConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
@dataclass
class MeasurementMedium(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[FormaldehydeConcentrationMeasurement.Enums.MeasurementMediumEnum])
value: 'typing.Optional[FormaldehydeConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
@dataclass
class LevelValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[FormaldehydeConcentrationMeasurement.Enums.LevelValueEnum])
value: 'typing.Optional[FormaldehydeConcentrationMeasurement.Enums.LevelValueEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042B
@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 0x0000042B
@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 0x0000042B
@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 0x0000042B
@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 0x0000042B
@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 0x0000042B
@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 Pm1ConcentrationMeasurement(Cluster):
id: typing.ClassVar[int] = 0x0000042C
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValue", Tag=0x00000003, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValueWindow", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValue", Tag=0x00000005, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValueWindow", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="uncertainty", Tag=0x00000007, Type=typing.Optional[float32]),
ClusterObjectFieldDescriptor(Label="measurementUnit", Tag=0x00000008, Type=typing.Optional[Pm1ConcentrationMeasurement.Enums.MeasurementUnitEnum]),
ClusterObjectFieldDescriptor(Label="measurementMedium", Tag=0x00000009, Type=typing.Optional[Pm1ConcentrationMeasurement.Enums.MeasurementMediumEnum]),
ClusterObjectFieldDescriptor(Label="levelValue", Tag=0x0000000A, Type=typing.Optional[Pm1ConcentrationMeasurement.Enums.LevelValueEnum]),
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[None, Nullable, float32]' = None
minMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
maxMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValueWindow: 'typing.Optional[uint]' = None
averageMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
averageMeasuredValueWindow: 'typing.Optional[uint]' = None
uncertainty: 'typing.Optional[float32]' = None
measurementUnit: 'typing.Optional[Pm1ConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
measurementMedium: 'typing.Optional[Pm1ConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
levelValue: 'typing.Optional[Pm1ConcentrationMeasurement.Enums.LevelValueEnum]' = 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 LevelValueEnum(MatterIntEnum):
kUnknown = 0x00
kLow = 0x01
kMedium = 0x02
kHigh = 0x03
kCritical = 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 MeasurementMediumEnum(MatterIntEnum):
kAir = 0x00
kWater = 0x01
kSoil = 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 MeasurementUnitEnum(MatterIntEnum):
kPpm = 0x00
kPpb = 0x01
kPpt = 0x02
kMgm3 = 0x03
kUgm3 = 0x04
kNgm3 = 0x05
kPm3 = 0x06
kBqm3 = 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 = 8,
class Bitmaps:
class Feature(IntFlag):
kNumericMeasurement = 0x1
kLevelIndication = 0x2
kMediumLevel = 0x4
kCriticalLevel = 0x8
kPeakMeasurement = 0x10
kAverageMeasurement = 0x20
class Attributes:
@dataclass
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@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 AverageMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class AverageMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@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 Uncertainty(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
value: 'typing.Optional[float32]' = None
@dataclass
class MeasurementUnit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Pm1ConcentrationMeasurement.Enums.MeasurementUnitEnum])
value: 'typing.Optional[Pm1ConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
@dataclass
class MeasurementMedium(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Pm1ConcentrationMeasurement.Enums.MeasurementMediumEnum])
value: 'typing.Optional[Pm1ConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
@dataclass
class LevelValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Pm1ConcentrationMeasurement.Enums.LevelValueEnum])
value: 'typing.Optional[Pm1ConcentrationMeasurement.Enums.LevelValueEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042C
@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 0x0000042C
@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 0x0000042C
@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 0x0000042C
@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 0x0000042C
@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 0x0000042C
@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 Pm10ConcentrationMeasurement(Cluster):
id: typing.ClassVar[int] = 0x0000042D
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValue", Tag=0x00000003, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValueWindow", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValue", Tag=0x00000005, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValueWindow", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="uncertainty", Tag=0x00000007, Type=typing.Optional[float32]),
ClusterObjectFieldDescriptor(Label="measurementUnit", Tag=0x00000008, Type=typing.Optional[Pm10ConcentrationMeasurement.Enums.MeasurementUnitEnum]),
ClusterObjectFieldDescriptor(Label="measurementMedium", Tag=0x00000009, Type=typing.Optional[Pm10ConcentrationMeasurement.Enums.MeasurementMediumEnum]),
ClusterObjectFieldDescriptor(Label="levelValue", Tag=0x0000000A, Type=typing.Optional[Pm10ConcentrationMeasurement.Enums.LevelValueEnum]),
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[None, Nullable, float32]' = None
minMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
maxMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValueWindow: 'typing.Optional[uint]' = None
averageMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
averageMeasuredValueWindow: 'typing.Optional[uint]' = None
uncertainty: 'typing.Optional[float32]' = None
measurementUnit: 'typing.Optional[Pm10ConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
measurementMedium: 'typing.Optional[Pm10ConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
levelValue: 'typing.Optional[Pm10ConcentrationMeasurement.Enums.LevelValueEnum]' = 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 LevelValueEnum(MatterIntEnum):
kUnknown = 0x00
kLow = 0x01
kMedium = 0x02
kHigh = 0x03
kCritical = 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 MeasurementMediumEnum(MatterIntEnum):
kAir = 0x00
kWater = 0x01
kSoil = 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 MeasurementUnitEnum(MatterIntEnum):
kPpm = 0x00
kPpb = 0x01
kPpt = 0x02
kMgm3 = 0x03
kUgm3 = 0x04
kNgm3 = 0x05
kPm3 = 0x06
kBqm3 = 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 = 8,
class Bitmaps:
class Feature(IntFlag):
kNumericMeasurement = 0x1
kLevelIndication = 0x2
kMediumLevel = 0x4
kCriticalLevel = 0x8
kPeakMeasurement = 0x10
kAverageMeasurement = 0x20
class Attributes:
@dataclass
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@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 AverageMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class AverageMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@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 Uncertainty(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
value: 'typing.Optional[float32]' = None
@dataclass
class MeasurementUnit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Pm10ConcentrationMeasurement.Enums.MeasurementUnitEnum])
value: 'typing.Optional[Pm10ConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
@dataclass
class MeasurementMedium(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Pm10ConcentrationMeasurement.Enums.MeasurementMediumEnum])
value: 'typing.Optional[Pm10ConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
@dataclass
class LevelValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[Pm10ConcentrationMeasurement.Enums.LevelValueEnum])
value: 'typing.Optional[Pm10ConcentrationMeasurement.Enums.LevelValueEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042D
@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 0x0000042D
@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 0x0000042D
@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 0x0000042D
@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 0x0000042D
@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 0x0000042D
@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 TotalVolatileOrganicCompoundsConcentrationMeasurement(Cluster):
id: typing.ClassVar[int] = 0x0000042E
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValue", Tag=0x00000003, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValueWindow", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValue", Tag=0x00000005, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValueWindow", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="uncertainty", Tag=0x00000007, Type=typing.Optional[float32]),
ClusterObjectFieldDescriptor(Label="measurementUnit", Tag=0x00000008, Type=typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.MeasurementUnitEnum]),
ClusterObjectFieldDescriptor(Label="measurementMedium", Tag=0x00000009, Type=typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.MeasurementMediumEnum]),
ClusterObjectFieldDescriptor(Label="levelValue", Tag=0x0000000A, Type=typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.LevelValueEnum]),
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[None, Nullable, float32]' = None
minMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
maxMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValueWindow: 'typing.Optional[uint]' = None
averageMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
averageMeasuredValueWindow: 'typing.Optional[uint]' = None
uncertainty: 'typing.Optional[float32]' = None
measurementUnit: 'typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
measurementMedium: 'typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
levelValue: 'typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.LevelValueEnum]' = 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 LevelValueEnum(MatterIntEnum):
kUnknown = 0x00
kLow = 0x01
kMedium = 0x02
kHigh = 0x03
kCritical = 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 MeasurementMediumEnum(MatterIntEnum):
kAir = 0x00
kWater = 0x01
kSoil = 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 MeasurementUnitEnum(MatterIntEnum):
kPpm = 0x00
kPpb = 0x01
kPpt = 0x02
kMgm3 = 0x03
kUgm3 = 0x04
kNgm3 = 0x05
kPm3 = 0x06
kBqm3 = 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 = 8,
class Bitmaps:
class Feature(IntFlag):
kNumericMeasurement = 0x1
kLevelIndication = 0x2
kMediumLevel = 0x4
kCriticalLevel = 0x8
kPeakMeasurement = 0x10
kAverageMeasurement = 0x20
class Attributes:
@dataclass
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@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 AverageMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class AverageMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@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 Uncertainty(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
value: 'typing.Optional[float32]' = None
@dataclass
class MeasurementUnit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.MeasurementUnitEnum])
value: 'typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
@dataclass
class MeasurementMedium(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.MeasurementMediumEnum])
value: 'typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
@dataclass
class LevelValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.LevelValueEnum])
value: 'typing.Optional[TotalVolatileOrganicCompoundsConcentrationMeasurement.Enums.LevelValueEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042E
@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 0x0000042E
@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 0x0000042E
@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 0x0000042E
@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 0x0000042E
@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 0x0000042E
@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 RadonConcentrationMeasurement(Cluster):
id: typing.ClassVar[int] = 0x0000042F
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValue", Tag=0x00000003, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="peakMeasuredValueWindow", Tag=0x00000004, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValue", Tag=0x00000005, Type=typing.Union[None, Nullable, float32]),
ClusterObjectFieldDescriptor(Label="averageMeasuredValueWindow", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="uncertainty", Tag=0x00000007, Type=typing.Optional[float32]),
ClusterObjectFieldDescriptor(Label="measurementUnit", Tag=0x00000008, Type=typing.Optional[RadonConcentrationMeasurement.Enums.MeasurementUnitEnum]),
ClusterObjectFieldDescriptor(Label="measurementMedium", Tag=0x00000009, Type=typing.Optional[RadonConcentrationMeasurement.Enums.MeasurementMediumEnum]),
ClusterObjectFieldDescriptor(Label="levelValue", Tag=0x0000000A, Type=typing.Optional[RadonConcentrationMeasurement.Enums.LevelValueEnum]),
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[None, Nullable, float32]' = None
minMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
maxMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
peakMeasuredValueWindow: 'typing.Optional[uint]' = None
averageMeasuredValue: 'typing.Union[None, Nullable, float32]' = None
averageMeasuredValueWindow: 'typing.Optional[uint]' = None
uncertainty: 'typing.Optional[float32]' = None
measurementUnit: 'typing.Optional[RadonConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
measurementMedium: 'typing.Optional[RadonConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
levelValue: 'typing.Optional[RadonConcentrationMeasurement.Enums.LevelValueEnum]' = 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 LevelValueEnum(MatterIntEnum):
kUnknown = 0x00
kLow = 0x01
kMedium = 0x02
kHigh = 0x03
kCritical = 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 MeasurementMediumEnum(MatterIntEnum):
kAir = 0x00
kWater = 0x01
kSoil = 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 MeasurementUnitEnum(MatterIntEnum):
kPpm = 0x00
kPpb = 0x01
kPpt = 0x02
kMgm3 = 0x03
kUgm3 = 0x04
kNgm3 = 0x05
kPm3 = 0x06
kBqm3 = 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 = 8,
class Bitmaps:
class Feature(IntFlag):
kNumericMeasurement = 0x1
kLevelIndication = 0x2
kMediumLevel = 0x4
kCriticalLevel = 0x8
kPeakMeasurement = 0x10
kAverageMeasurement = 0x20
class Attributes:
@dataclass
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class PeakMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@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 AverageMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, float32])
value: 'typing.Union[None, Nullable, float32]' = None
@dataclass
class AverageMeasuredValueWindow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@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 Uncertainty(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
value: 'typing.Optional[float32]' = None
@dataclass
class MeasurementUnit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[RadonConcentrationMeasurement.Enums.MeasurementUnitEnum])
value: 'typing.Optional[RadonConcentrationMeasurement.Enums.MeasurementUnitEnum]' = None
@dataclass
class MeasurementMedium(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[RadonConcentrationMeasurement.Enums.MeasurementMediumEnum])
value: 'typing.Optional[RadonConcentrationMeasurement.Enums.MeasurementMediumEnum]' = None
@dataclass
class LevelValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[RadonConcentrationMeasurement.Enums.LevelValueEnum])
value: 'typing.Optional[RadonConcentrationMeasurement.Enums.LevelValueEnum]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000042F
@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 0x0000042F
@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 0x0000042F
@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 0x0000042F
@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 0x0000042F
@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 0x0000042F
@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] = 0x00000503
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="MACAddress", Tag=0x00000000, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="linkLocalAddress", Tag=0x00000001, Type=typing.Optional[bytes]),
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
linkLocalAddress: 'typing.Optional[bytes]' = 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 0x00000503
@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 LinkLocalAddress(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000503
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes])
value: 'typing.Optional[bytes]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000503
@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 0x00000503
@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 0x00000503
@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 0x00000503
@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 0x00000503
@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 0x00000503
@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] = 0x00000504
@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 ChannelTypeEnum(MatterIntEnum):
kSatellite = 0x00
kCable = 0x01
kTerrestrial = 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 StatusEnum(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 Bitmaps:
class Feature(IntFlag):
kChannelList = 0x1
kLineupInfo = 0x2
kElectronicGuide = 0x3
kRecordProgram = 0x4
class RecordingFlagBitmap(IntFlag):
kScheduled = 0x1
kRecordSeries = 0x2
kRecorded = 0x3
class Structs:
@dataclass
class ProgramCastStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str),
ClusterObjectFieldDescriptor(Label="role", Tag=1, Type=str),
])
name: 'str' = ""
role: 'str' = ""
@dataclass
class ProgramCategoryStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="category", Tag=0, Type=str),
ClusterObjectFieldDescriptor(Label="subCategory", Tag=1, Type=typing.Optional[str]),
])
category: 'str' = ""
subCategory: 'typing.Optional[str]' = None
@dataclass
class SeriesInfoStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="season", Tag=0, Type=str),
ClusterObjectFieldDescriptor(Label="episode", Tag=1, Type=str),
])
season: 'str' = ""
episode: 'str' = ""
@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]),
ClusterObjectFieldDescriptor(Label="identifier", Tag=5, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="type", Tag=6, Type=typing.Optional[Channel.Enums.ChannelTypeEnum]),
])
majorNumber: 'uint' = 0
minorNumber: 'uint' = 0
name: 'typing.Optional[str]' = None
callSign: 'typing.Optional[str]' = None
affiliateCallSign: 'typing.Optional[str]' = None
identifier: 'typing.Optional[str]' = None
type: 'typing.Optional[Channel.Enums.ChannelTypeEnum]' = None
@dataclass
class ProgramStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="identifier", Tag=0, Type=str),
ClusterObjectFieldDescriptor(Label="channel", Tag=1, Type=Channel.Structs.ChannelInfoStruct),
ClusterObjectFieldDescriptor(Label="startTime", Tag=2, Type=uint),
ClusterObjectFieldDescriptor(Label="endTime", Tag=3, Type=uint),
ClusterObjectFieldDescriptor(Label="title", Tag=4, Type=str),
ClusterObjectFieldDescriptor(Label="subtitle", Tag=5, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="description", Tag=6, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="audioLanguages", Tag=7, Type=typing.Optional[typing.List[str]]),
ClusterObjectFieldDescriptor(Label="ratings", Tag=8, Type=typing.Optional[typing.List[str]]),
ClusterObjectFieldDescriptor(Label="thumbnailUrl", Tag=9, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="posterArtUrl", Tag=10, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="dvbiUrl", Tag=11, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="releaseDate", Tag=12, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="parentalGuidanceText", Tag=13, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="recordingFlag", Tag=14, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="seriesInfo", Tag=15, Type=typing.Union[None, Nullable, Channel.Structs.SeriesInfoStruct]),
ClusterObjectFieldDescriptor(Label="categoryList", Tag=16, Type=typing.Optional[typing.List[Channel.Structs.ProgramCategoryStruct]]),
ClusterObjectFieldDescriptor(Label="castList", Tag=17, Type=typing.Optional[typing.List[Channel.Structs.ProgramCastStruct]]),
ClusterObjectFieldDescriptor(Label="externalIDList", Tag=18, Type=typing.Optional[typing.List[Channel.Structs.ProgramCastStruct]]),
])
identifier: 'str' = ""
channel: 'Channel.Structs.ChannelInfoStruct' = field(default_factory=lambda: Channel.Structs.ChannelInfoStruct())
startTime: 'uint' = 0
endTime: 'uint' = 0
title: 'str' = ""
subtitle: 'typing.Optional[str]' = None
description: 'typing.Optional[str]' = None
audioLanguages: 'typing.Optional[typing.List[str]]' = None
ratings: 'typing.Optional[typing.List[str]]' = None
thumbnailUrl: 'typing.Optional[str]' = None
posterArtUrl: 'typing.Optional[str]' = None
dvbiUrl: 'typing.Optional[str]' = None
releaseDate: 'typing.Optional[str]' = None
parentalGuidanceText: 'typing.Optional[str]' = None
recordingFlag: 'typing.Optional[uint]' = None
seriesInfo: 'typing.Union[None, Nullable, Channel.Structs.SeriesInfoStruct]' = None
categoryList: 'typing.Optional[typing.List[Channel.Structs.ProgramCategoryStruct]]' = None
castList: 'typing.Optional[typing.List[Channel.Structs.ProgramCastStruct]]' = None
externalIDList: 'typing.Optional[typing.List[Channel.Structs.ProgramCastStruct]]' = None
@dataclass
class PageTokenStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="limit", Tag=0, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="after", Tag=1, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="before", Tag=2, Type=typing.Optional[str]),
])
limit: 'typing.Optional[uint]' = None
after: 'typing.Optional[str]' = None
before: 'typing.Optional[str]' = None
@dataclass
class ChannelPagingStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="previousToken", Tag=0, Type=typing.Union[None, Nullable, Channel.Structs.PageTokenStruct]),
ClusterObjectFieldDescriptor(Label="nextToken", Tag=1, Type=typing.Union[None, Nullable, Channel.Structs.PageTokenStruct]),
])
previousToken: 'typing.Union[None, Nullable, Channel.Structs.PageTokenStruct]' = None
nextToken: 'typing.Union[None, Nullable, Channel.Structs.PageTokenStruct]' = None
@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 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] = 0x00000504
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] = 0x00000504
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.StatusEnum),
ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
])
status: 'Channel.Enums.StatusEnum' = 0
data: 'typing.Optional[str]' = None
@dataclass
class ChangeChannelByNumber(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000504
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] = 0x00000504
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
@dataclass
class GetProgramGuide(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000504
command_id: typing.ClassVar[int] = 0x00000004
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'ProgramGuideResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="startTime", Tag=0, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="endTime", Tag=1, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="channelList", Tag=2, Type=typing.Optional[typing.List[Channel.Structs.ChannelInfoStruct]]),
ClusterObjectFieldDescriptor(Label="pageToken", Tag=3, Type=typing.Optional[Channel.Structs.PageTokenStruct]),
ClusterObjectFieldDescriptor(Label="recordingFlag", Tag=4, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="externalIDList", Tag=5, Type=typing.Optional[typing.List[Channel.Structs.AdditionalInfoStruct]]),
ClusterObjectFieldDescriptor(Label="data", Tag=6, Type=typing.Optional[bytes]),
])
startTime: 'typing.Optional[uint]' = None
endTime: 'typing.Optional[uint]' = None
channelList: 'typing.Optional[typing.List[Channel.Structs.ChannelInfoStruct]]' = None
pageToken: 'typing.Optional[Channel.Structs.PageTokenStruct]' = None
recordingFlag: 'typing.Optional[uint]' = None
externalIDList: 'typing.Optional[typing.List[Channel.Structs.AdditionalInfoStruct]]' = None
data: 'typing.Optional[bytes]' = None
@dataclass
class ProgramGuideResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000504
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="paging", Tag=0, Type=Channel.Structs.ChannelPagingStruct),
ClusterObjectFieldDescriptor(Label="programList", Tag=1, Type=typing.List[Channel.Structs.ProgramStruct]),
])
paging: 'Channel.Structs.ChannelPagingStruct' = field(default_factory=lambda: Channel.Structs.ChannelPagingStruct())
programList: 'typing.List[Channel.Structs.ProgramStruct]' = field(default_factory=lambda: [])
@dataclass
class RecordProgram(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000504
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="programIdentifier", Tag=0, Type=str),
ClusterObjectFieldDescriptor(Label="shouldRecordSeries", Tag=1, Type=bool),
ClusterObjectFieldDescriptor(Label="externalIDList", Tag=2, Type=typing.List[Channel.Structs.AdditionalInfoStruct]),
ClusterObjectFieldDescriptor(Label="data", Tag=3, Type=bytes),
])
programIdentifier: 'str' = ""
shouldRecordSeries: 'bool' = False
externalIDList: 'typing.List[Channel.Structs.AdditionalInfoStruct]' = field(default_factory=lambda: [])
data: 'bytes' = b""
@dataclass
class CancelRecordProgram(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000504
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="programIdentifier", Tag=0, Type=str),
ClusterObjectFieldDescriptor(Label="shouldRecordSeries", Tag=1, Type=bool),
ClusterObjectFieldDescriptor(Label="externalIDList", Tag=2, Type=typing.List[Channel.Structs.AdditionalInfoStruct]),
ClusterObjectFieldDescriptor(Label="data", Tag=3, Type=bytes),
])
programIdentifier: 'str' = ""
shouldRecordSeries: 'bool' = False
externalIDList: 'typing.List[Channel.Structs.AdditionalInfoStruct]' = field(default_factory=lambda: [])
data: 'bytes' = b""
class Attributes:
@dataclass
class ChannelList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000504
@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 0x00000504
@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 0x00000504
@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 0x00000504
@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 0x00000504
@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 0x00000504
@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 0x00000504
@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 0x00000504
@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 0x00000504
@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] = 0x00000505
@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 StatusEnum(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] = 0x00000505
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] = 0x00000505
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.StatusEnum),
ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
])
status: 'TargetNavigator.Enums.StatusEnum' = 0
data: 'typing.Optional[str]' = None
class Attributes:
@dataclass
class TargetList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000505
@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 0x00000505
@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 0x00000505
@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 0x00000505
@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 0x00000505
@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 0x00000505
@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 0x00000505
@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 0x00000505
@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 TargetUpdated(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000505
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="targetList", Tag=0, Type=typing.List[TargetNavigator.Structs.TargetInfoStruct]),
ClusterObjectFieldDescriptor(Label="currentTarget", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="data", Tag=2, Type=bytes),
])
targetList: 'typing.List[TargetNavigator.Structs.TargetInfoStruct]' = field(default_factory=lambda: [])
currentTarget: 'uint' = 0
data: 'bytes' = b""
@dataclass
class MediaPlayback(Cluster):
id: typing.ClassVar[int] = 0x00000506
@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="activeAudioTrack", Tag=0x00000007, Type=typing.Union[None, Nullable, MediaPlayback.Structs.TrackStruct]),
ClusterObjectFieldDescriptor(Label="availableAudioTracks", Tag=0x00000008, Type=typing.Union[None, Nullable, typing.List[MediaPlayback.Structs.TrackStruct]]),
ClusterObjectFieldDescriptor(Label="activeTextTrack", Tag=0x00000009, Type=typing.Union[None, Nullable, MediaPlayback.Structs.TrackStruct]),
ClusterObjectFieldDescriptor(Label="availableTextTracks", Tag=0x0000000A, Type=typing.Union[None, Nullable, typing.List[MediaPlayback.Structs.TrackStruct]]),
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
activeAudioTrack: 'typing.Union[None, Nullable, MediaPlayback.Structs.TrackStruct]' = None
availableAudioTracks: 'typing.Union[None, Nullable, typing.List[MediaPlayback.Structs.TrackStruct]]' = None
activeTextTrack: 'typing.Union[None, Nullable, MediaPlayback.Structs.TrackStruct]' = None
availableTextTracks: 'typing.Union[None, Nullable, typing.List[MediaPlayback.Structs.TrackStruct]]' = 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 CharacteristicEnum(MatterIntEnum):
kForcedSubtitles = 0x00
kDescribesVideo = 0x01
kEasyToRead = 0x02
kFrameBased = 0x03
kMainProgram = 0x04
kOriginalContent = 0x05
kVoiceOverTranslation = 0x06
kCaption = 0x07
kSubtitle = 0x08
kAlternate = 0x09
kSupplementary = 0x0A
kCommentary = 0x0B
kDubbedTranslation = 0x0C
kDescription = 0x0D
kMetadata = 0x0E
kEnhancedAudioIntelligibility = 0x0F
kEmergency = 0x10
kKaraoke = 0x11
# 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 = 18,
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 StatusEnum(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 Bitmaps:
class Feature(IntFlag):
kAdvancedSeek = 0x1
kVariableSpeed = 0x2
kTextTracks = 0x3
kAudioTracks = 0x4
kAudioAdvance = 0x5
class Structs:
@dataclass
class TrackAttributesStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="languageCode", Tag=0, Type=str),
ClusterObjectFieldDescriptor(Label="displayName", Tag=1, Type=typing.Union[None, Nullable, str]),
])
languageCode: 'str' = ""
displayName: 'typing.Union[None, Nullable, str]' = None
@dataclass
class TrackStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="id", Tag=0, Type=str),
ClusterObjectFieldDescriptor(Label="trackAttributes", Tag=1, Type=typing.Union[Nullable, MediaPlayback.Structs.TrackAttributesStruct]),
])
id: 'str' = ""
trackAttributes: 'typing.Union[Nullable, MediaPlayback.Structs.TrackAttributesStruct]' = NullValue
@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] = 0x00000506
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] = 0x00000506
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] = 0x00000506
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] = 0x00000506
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] = 0x00000506
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] = 0x00000506
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] = 0x00000506
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=[
ClusterObjectFieldDescriptor(Label="audioAdvanceUnmuted", Tag=0, Type=typing.Optional[bool]),
])
audioAdvanceUnmuted: 'typing.Optional[bool]' = None
@dataclass
class FastForward(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000506
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=[
ClusterObjectFieldDescriptor(Label="audioAdvanceUnmuted", Tag=0, Type=typing.Optional[bool]),
])
audioAdvanceUnmuted: 'typing.Optional[bool]' = None
@dataclass
class SkipForward(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000506
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] = 0x00000506
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] = 0x00000506
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.StatusEnum),
ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
])
status: 'MediaPlayback.Enums.StatusEnum' = 0
data: 'typing.Optional[str]' = None
@dataclass
class Seek(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000506
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
@dataclass
class ActivateAudioTrack(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000506
command_id: typing.ClassVar[int] = 0x0000000C
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = None
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="trackID", Tag=0, Type=str),
ClusterObjectFieldDescriptor(Label="audioOutputIndex", Tag=1, Type=uint),
])
trackID: 'str' = ""
audioOutputIndex: 'uint' = 0
@dataclass
class ActivateTextTrack(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000506
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="trackID", Tag=0, Type=str),
])
trackID: 'str' = ""
@dataclass
class DeactivateTextTrack(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000506
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=[
])
class Attributes:
@dataclass
class CurrentState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000506
@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 0x00000506
@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 0x00000506
@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 0x00000506
@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 0x00000506
@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 0x00000506
@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 0x00000506
@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 ActiveAudioTrack(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, MediaPlayback.Structs.TrackStruct])
value: 'typing.Union[None, Nullable, MediaPlayback.Structs.TrackStruct]' = None
@dataclass
class AvailableAudioTracks(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, typing.List[MediaPlayback.Structs.TrackStruct]])
value: 'typing.Union[None, Nullable, typing.List[MediaPlayback.Structs.TrackStruct]]' = None
@dataclass
class ActiveTextTrack(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, MediaPlayback.Structs.TrackStruct])
value: 'typing.Union[None, Nullable, MediaPlayback.Structs.TrackStruct]' = None
@dataclass
class AvailableTextTracks(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, typing.List[MediaPlayback.Structs.TrackStruct]])
value: 'typing.Union[None, Nullable, typing.List[MediaPlayback.Structs.TrackStruct]]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000506
@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 0x00000506
@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 0x00000506
@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 0x00000506
@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 0x00000506
@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 0x00000506
@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 0x00000506
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="currentState", Tag=0, Type=MediaPlayback.Enums.PlaybackStateEnum),
ClusterObjectFieldDescriptor(Label="startTime", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint),
ClusterObjectFieldDescriptor(Label="sampledPosition", Tag=3, Type=MediaPlayback.Structs.PlaybackPositionStruct),
ClusterObjectFieldDescriptor(Label="playbackSpeed", Tag=4, Type=float32),
ClusterObjectFieldDescriptor(Label="seekRangeEnd", Tag=5, Type=uint),
ClusterObjectFieldDescriptor(Label="seekRangeStart", Tag=6, Type=uint),
ClusterObjectFieldDescriptor(Label="data", Tag=7, Type=typing.Optional[bytes]),
ClusterObjectFieldDescriptor(Label="audioAdvanceUnmuted", Tag=8, Type=bool),
])
currentState: 'MediaPlayback.Enums.PlaybackStateEnum' = 0
startTime: 'uint' = 0
duration: 'uint' = 0
sampledPosition: 'MediaPlayback.Structs.PlaybackPositionStruct' = field(default_factory=lambda: MediaPlayback.Structs.PlaybackPositionStruct())
playbackSpeed: 'float32' = 0.0
seekRangeEnd: 'uint' = 0
seekRangeStart: 'uint' = 0
data: 'typing.Optional[bytes]' = None
audioAdvanceUnmuted: 'bool' = False
@dataclass
class MediaInput(Cluster):
id: typing.ClassVar[int] = 0x00000507
@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] = 0x00000507
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] = 0x00000507
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] = 0x00000507
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] = 0x00000507
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 0x00000507
@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 0x00000507
@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 0x00000507
@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 0x00000507
@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 0x00000507
@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 0x00000507
@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 0x00000507
@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 0x00000507
@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] = 0x00000508
@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] = 0x00000508
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 0x00000508
@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 0x00000508
@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 0x00000508
@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 0x00000508
@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 0x00000508
@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 0x00000508
@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] = 0x00000509
@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 CECKeyCodeEnum(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 StatusEnum(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] = 0x00000509
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.CECKeyCodeEnum),
])
keyCode: 'KeypadInput.Enums.CECKeyCodeEnum' = 0
@dataclass
class SendKeyResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000509
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.StatusEnum),
])
status: 'KeypadInput.Enums.StatusEnum' = 0
class Attributes:
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000509
@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 0x00000509
@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 0x00000509
@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 0x00000509
@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 0x00000509
@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 0x00000509
@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] = 0x0000050A
@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 CharacteristicEnum(MatterIntEnum):
kForcedSubtitles = 0x00
kDescribesVideo = 0x01
kEasyToRead = 0x02
kFrameBased = 0x03
kMainProgram = 0x04
kOriginalContent = 0x05
kVoiceOverTranslation = 0x06
kCaption = 0x07
kSubtitle = 0x08
kAlternate = 0x09
kSupplementary = 0x0A
kCommentary = 0x0B
kDubbedTranslation = 0x0C
kDescription = 0x0D
kMetadata = 0x0E
kEnhancedAudioIntelligibility = 0x0F
kEmergency = 0x10
kKaraoke = 0x11
# 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 = 18,
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
kSeason = 0x0E
kEpisode = 0x0F
kAny = 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 StatusEnum(MatterIntEnum):
kSuccess = 0x00
kURLNotAvailable = 0x01
kAuthFailed = 0x02
kTextTrackNotAvailable = 0x03
kAudioTrackNotAvailable = 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 Bitmaps:
class Feature(IntFlag):
kContentSearch = 0x1
kURLPlayback = 0x2
kAdvancedSeek = 0x3
kTextTracks = 0x4
kAudioTracks = 0x5
class SupportedProtocolsBitmap(IntFlag):
kDash = 0x1
kHls = 0x2
kWebRTC = 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 TrackPreferenceStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="languageCode", Tag=0, Type=str),
ClusterObjectFieldDescriptor(Label="characteristics", Tag=1, Type=typing.Optional[typing.List[ContentLauncher.Enums.CharacteristicEnum]]),
ClusterObjectFieldDescriptor(Label="audioOutputIndex", Tag=2, Type=uint),
])
languageCode: 'str' = ""
characteristics: 'typing.Optional[typing.List[ContentLauncher.Enums.CharacteristicEnum]]' = None
audioOutputIndex: 'uint' = 0
@dataclass
class PlaybackPreferencesStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="playbackPosition", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="textTrack", Tag=1, Type=ContentLauncher.Structs.TrackPreferenceStruct),
ClusterObjectFieldDescriptor(Label="audioTracks", Tag=2, Type=typing.Optional[typing.List[ContentLauncher.Structs.TrackPreferenceStruct]]),
])
playbackPosition: 'uint' = 0
textTrack: 'ContentLauncher.Structs.TrackPreferenceStruct' = field(default_factory=lambda: ContentLauncher.Structs.TrackPreferenceStruct())
audioTracks: 'typing.Optional[typing.List[ContentLauncher.Structs.TrackPreferenceStruct]]' = None
@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] = 0x0000050A
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]),
ClusterObjectFieldDescriptor(Label="playbackPreferences", Tag=3, Type=typing.Optional[ContentLauncher.Structs.PlaybackPreferencesStruct]),
ClusterObjectFieldDescriptor(Label="useCurrentContext", Tag=4, Type=typing.Optional[bool]),
])
search: 'ContentLauncher.Structs.ContentSearchStruct' = field(default_factory=lambda: ContentLauncher.Structs.ContentSearchStruct())
autoPlay: 'bool' = False
data: 'typing.Optional[str]' = None
playbackPreferences: 'typing.Optional[ContentLauncher.Structs.PlaybackPreferencesStruct]' = None
useCurrentContext: 'typing.Optional[bool]' = None
@dataclass
class LaunchURL(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050A
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] = 0x0000050A
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.StatusEnum),
ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
])
status: 'ContentLauncher.Enums.StatusEnum' = 0
data: 'typing.Optional[str]' = None
class Attributes:
@dataclass
class AcceptHeader(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050A
@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 0x0000050A
@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 0x0000050A
@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 0x0000050A
@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 0x0000050A
@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 0x0000050A
@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 0x0000050A
@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 0x0000050A
@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] = 0x0000050B
@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=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: '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] = 0x0000050B
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] = 0x0000050B
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 0x0000050B
@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 0x0000050B
@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 0x0000050B
@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 0x0000050B
@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 0x0000050B
@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 0x0000050B
@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 0x0000050B
@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 0x0000050B
@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] = 0x0000050C
@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 StatusEnum(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] = 0x0000050C
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] = 0x0000050C
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] = 0x0000050C
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] = 0x0000050C
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.StatusEnum),
ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[bytes]),
])
status: 'ApplicationLauncher.Enums.StatusEnum' = 0
data: 'typing.Optional[bytes]' = None
class Attributes:
@dataclass
class CatalogList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050C
@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 0x0000050C
@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 0x0000050C
@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 0x0000050C
@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 0x0000050C
@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 0x0000050C
@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 0x0000050C
@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 0x0000050C
@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] = 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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 0x0000050D
@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] = 0x0000050E
@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] = 0x0000050E
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] = 0x0000050E
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] = 0x0000050E
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),
ClusterObjectFieldDescriptor(Label="node", Tag=2, Type=typing.Optional[uint]),
])
@ChipUtility.classproperty
def must_use_timed_invoke(cls) -> bool:
return True
tempAccountIdentifier: 'str' = ""
setupPIN: 'str' = ""
node: 'typing.Optional[uint]' = None
@dataclass
class Logout(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050E
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="node", Tag=0, Type=typing.Optional[uint]),
])
@ChipUtility.classproperty
def must_use_timed_invoke(cls) -> bool:
return True
node: 'typing.Optional[uint]' = None
class Attributes:
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050E
@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 0x0000050E
@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 0x0000050E
@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 0x0000050E
@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 0x0000050E
@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 0x0000050E
@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 LoggedOut(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050E
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="node", Tag=0, Type=typing.Optional[uint]),
])
node: 'typing.Optional[uint]' = None
@dataclass
class ContentControl(Cluster):
id: typing.ClassVar[int] = 0x0000050F
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="enabled", Tag=0x00000000, Type=bool),
ClusterObjectFieldDescriptor(Label="onDemandRatings", Tag=0x00000001, Type=typing.Optional[typing.List[ContentControl.Structs.RatingNameStruct]]),
ClusterObjectFieldDescriptor(Label="onDemandRatingThreshold", Tag=0x00000002, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="scheduledContentRatings", Tag=0x00000003, Type=typing.Optional[typing.List[ContentControl.Structs.RatingNameStruct]]),
ClusterObjectFieldDescriptor(Label="scheduledContentRatingThreshold", Tag=0x00000004, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="screenDailyTime", Tag=0x00000005, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="remainingScreenTime", Tag=0x00000006, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="blockUnrated", Tag=0x00000007, 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),
])
enabled: 'bool' = None
onDemandRatings: 'typing.Optional[typing.List[ContentControl.Structs.RatingNameStruct]]' = None
onDemandRatingThreshold: 'typing.Optional[str]' = None
scheduledContentRatings: 'typing.Optional[typing.List[ContentControl.Structs.RatingNameStruct]]' = None
scheduledContentRatingThreshold: 'typing.Optional[str]' = None
screenDailyTime: 'typing.Optional[uint]' = None
remainingScreenTime: 'typing.Optional[uint]' = None
blockUnrated: '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 Bitmaps:
class Feature(IntFlag):
kScreenTime = 0x1
kPINManagement = 0x2
kBlockUnrated = 0x3
kOnDemandContentRating = 0x4
kScheduledContentRating = 0x5
class Structs:
@dataclass
class RatingNameStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="ratingName", Tag=0, Type=str),
ClusterObjectFieldDescriptor(Label="ratingNameDesc", Tag=1, Type=typing.Optional[str]),
])
ratingName: 'str' = ""
ratingNameDesc: 'typing.Optional[str]' = None
class Commands:
@dataclass
class UpdatePIN(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050F
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="oldPIN", Tag=0, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="newPIN", Tag=1, Type=str),
])
oldPIN: 'typing.Optional[str]' = None
newPIN: 'str' = ""
@dataclass
class ResetPIN(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050F
command_id: typing.ClassVar[int] = 0x00000001
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'ResetPINResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class ResetPINResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050F
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="PINCode", Tag=0, Type=str),
])
PINCode: 'str' = ""
@dataclass
class Enable(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050F
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 Disable(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050F
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 AddBonusTime(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050F
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="PINCode", Tag=0, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="bonusTime", Tag=1, Type=typing.Optional[uint]),
])
PINCode: 'typing.Optional[str]' = None
bonusTime: 'typing.Optional[uint]' = None
@dataclass
class SetScreenDailyTime(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050F
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="screenTime", Tag=0, Type=uint),
])
screenTime: 'uint' = 0
@dataclass
class BlockUnratedContent(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050F
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=[
])
@dataclass
class UnblockUnratedContent(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050F
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=[
])
@dataclass
class SetOnDemandRatingThreshold(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050F
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="rating", Tag=0, Type=str),
])
rating: 'str' = ""
@dataclass
class SetScheduledContentRatingThreshold(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x0000050F
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="rating", Tag=0, Type=str),
])
rating: 'str' = ""
class Attributes:
@dataclass
class Enabled(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050F
@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 OnDemandRatings(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[ContentControl.Structs.RatingNameStruct]])
value: 'typing.Optional[typing.List[ContentControl.Structs.RatingNameStruct]]' = None
@dataclass
class OnDemandRatingThreshold(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050F
@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 ScheduledContentRatings(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[ContentControl.Structs.RatingNameStruct]])
value: 'typing.Optional[typing.List[ContentControl.Structs.RatingNameStruct]]' = None
@dataclass
class ScheduledContentRatingThreshold(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050F
@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 ScreenDailyTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050F
@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 RemainingScreenTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050F
@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 BlockUnrated(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000007
@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 0x0000050F
@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 0x0000050F
@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 0x0000050F
@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 0x0000050F
@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 0x0000050F
@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 0x0000050F
@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 RemainingScreenTimeExpired(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x0000050F
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
])
@dataclass
class ContentAppObserver(Cluster):
id: typing.ClassVar[int] = 0x00000510
@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 StatusEnum(MatterIntEnum):
kSuccess = 0x00
kUnexpectedData = 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 ContentAppMessage(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000510
command_id: typing.ClassVar[int] = 0x00000000
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'ContentAppMessageResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="data", Tag=0, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="encodingHint", Tag=1, Type=str),
])
data: 'typing.Optional[str]' = None
encodingHint: 'str' = ""
@dataclass
class ContentAppMessageResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0x00000510
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=ContentAppObserver.Enums.StatusEnum),
ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="encodingHint", Tag=2, Type=typing.Optional[str]),
])
status: 'ContentAppObserver.Enums.StatusEnum' = 0
data: 'typing.Optional[str]' = None
encodingHint: 'typing.Optional[str]' = None
class Attributes:
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0x00000510
@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 0x00000510
@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 0x00000510
@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 0x00000510
@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 0x00000510
@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 0x00000510
@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] = 0x00000B04
@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] = 0x00000B04
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] = 0x00000B04
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] = 0x00000B04
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] = 0x00000B04
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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 0x00000B04
@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 TestBatchHelperResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0xFFF1FC05
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="buffer", Tag=0, Type=bytes),
])
buffer: 'bytes' = b""
@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
@dataclass
class TestBatchHelperRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0xFFF1FC05
command_id: typing.ClassVar[int] = 0x00000016
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'TestBatchHelperResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="sleepBeforeResponseTimeMs", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="sizeOfResponseBuffer", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="fillCharacter", Tag=2, Type=uint),
])
sleepBeforeResponseTimeMs: 'uint' = 0
sizeOfResponseBuffer: 'uint' = 0
fillCharacter: 'uint' = 0
@dataclass
class TestSecondBatchHelperRequest(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0xFFF1FC05
command_id: typing.ClassVar[int] = 0x00000017
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'TestBatchHelperResponse'
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="sleepBeforeResponseTimeMs", Tag=0, Type=uint),
ClusterObjectFieldDescriptor(Label="sizeOfResponseBuffer", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="fillCharacter", Tag=2, Type=uint),
])
sleepBeforeResponseTimeMs: 'uint' = 0
sizeOfResponseBuffer: 'uint' = 0
fillCharacter: '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
@dataclass
class SampleMei(Cluster):
id: typing.ClassVar[int] = 0xFFF1FC20
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="flipFlop", 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),
])
flipFlop: '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 Commands:
@dataclass
class Ping(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0xFFF1FC20
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 AddArgumentsResponse(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0xFFF1FC20
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 AddArguments(ClusterCommand):
cluster_id: typing.ClassVar[int] = 0xFFF1FC20
command_id: typing.ClassVar[int] = 0x00000002
is_client: typing.ClassVar[bool] = True
response_type: typing.ClassVar[str] = 'AddArgumentsResponse'
@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
class Attributes:
@dataclass
class FlipFlop(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0xFFF1FC20
@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 0xFFF1FC20
@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 0xFFF1FC20
@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 0xFFF1FC20
@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 0xFFF1FC20
@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 0xFFF1FC20
@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 0xFFF1FC20
@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 PingCountEvent(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
return 0xFFF1FC20
@ChipUtility.classproperty
def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields=[
ClusterObjectFieldDescriptor(Label="count", Tag=1, Type=uint),
ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
])
count: 'uint' = 0
fabricIndex: 'uint' = 0