| ''' |
| /* |
| * |
| * Copyright (c) 2021 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 |
| |
| from dataclasses import dataclass, field |
| import typing |
| from enum import IntEnum |
| from chip import ChipUtility |
| |
| from chip.tlv import uint |
| |
| from .ClusterObjects import ClusterObject, ClusterObjectDescriptor, ClusterObjectFieldDescriptor, ClusterCommand, ClusterAttributeDescriptor, Cluster, ClusterEvent |
| from .Types import Nullable, NullValue |
| |
| @dataclass |
| class PowerConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mainsVoltage", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="mainsFrequency", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="mainsAlarmMask", Tag=0x00000010, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="mainsVoltageMinThreshold", Tag=0x00000011, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="mainsVoltageMaxThreshold", Tag=0x00000012, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="mainsVoltageDwellTrip", Tag=0x00000013, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryVoltage", Tag=0x00000020, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryPercentageRemaining", Tag=0x00000021, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryManufacturer", Tag=0x00000030, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="batterySize", Tag=0x00000031, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryAhrRating", Tag=0x00000032, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryQuantity", Tag=0x00000033, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryRatedVoltage", Tag=0x00000034, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryAlarmMask", Tag=0x00000035, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryVoltageMinThreshold", Tag=0x00000036, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryVoltageThreshold1", Tag=0x00000037, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryVoltageThreshold2", Tag=0x00000038, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryVoltageThreshold3", Tag=0x00000039, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryPercentageMinThreshold", Tag=0x0000003A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryPercentageThreshold1", Tag=0x0000003B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryPercentageThreshold2", Tag=0x0000003C, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryPercentageThreshold3", Tag=0x0000003D, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryAlarmState", Tag=0x0000003E, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2Voltage", Tag=0x00000040, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2PercentageRemaining", Tag=0x00000041, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2Manufacturer", Tag=0x00000050, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="battery2Size", Tag=0x00000051, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2AhrRating", Tag=0x00000052, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2Quantity", Tag=0x00000053, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2RatedVoltage", Tag=0x00000054, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2AlarmMask", Tag=0x00000055, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2VoltageMinThreshold", Tag=0x00000056, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2VoltageThreshold1", Tag=0x00000057, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2VoltageThreshold2", Tag=0x00000058, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2VoltageThreshold3", Tag=0x00000059, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2PercentageMinThreshold", Tag=0x0000005A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2PercentageThreshold1", Tag=0x0000005B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2PercentageThreshold2", Tag=0x0000005C, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2PercentageThreshold3", Tag=0x0000005D, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery2AlarmState", Tag=0x0000005E, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3Voltage", Tag=0x00000060, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3PercentageRemaining", Tag=0x00000061, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3Manufacturer", Tag=0x00000070, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="battery3Size", Tag=0x00000071, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3AhrRating", Tag=0x00000072, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3Quantity", Tag=0x00000073, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3RatedVoltage", Tag=0x00000074, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3AlarmMask", Tag=0x00000075, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3VoltageMinThreshold", Tag=0x00000076, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3VoltageThreshold1", Tag=0x00000077, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3VoltageThreshold2", Tag=0x00000078, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3VoltageThreshold3", Tag=0x00000079, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3PercentageMinThreshold", Tag=0x0000007A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3PercentageThreshold1", Tag=0x0000007B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3PercentageThreshold2", Tag=0x0000007C, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3PercentageThreshold3", Tag=0x0000007D, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="battery3AlarmState", Tag=0x0000007E, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| mainsVoltage: 'typing.Optional[uint]' = None |
| mainsFrequency: 'typing.Optional[uint]' = None |
| mainsAlarmMask: 'typing.Optional[uint]' = None |
| mainsVoltageMinThreshold: 'typing.Optional[uint]' = None |
| mainsVoltageMaxThreshold: 'typing.Optional[uint]' = None |
| mainsVoltageDwellTrip: 'typing.Optional[uint]' = None |
| batteryVoltage: 'typing.Optional[uint]' = None |
| batteryPercentageRemaining: 'typing.Optional[uint]' = None |
| batteryManufacturer: 'typing.Optional[str]' = None |
| batterySize: 'typing.Optional[uint]' = None |
| batteryAhrRating: 'typing.Optional[uint]' = None |
| batteryQuantity: 'typing.Optional[uint]' = None |
| batteryRatedVoltage: 'typing.Optional[uint]' = None |
| batteryAlarmMask: 'typing.Optional[uint]' = None |
| batteryVoltageMinThreshold: 'typing.Optional[uint]' = None |
| batteryVoltageThreshold1: 'typing.Optional[uint]' = None |
| batteryVoltageThreshold2: 'typing.Optional[uint]' = None |
| batteryVoltageThreshold3: 'typing.Optional[uint]' = None |
| batteryPercentageMinThreshold: 'typing.Optional[uint]' = None |
| batteryPercentageThreshold1: 'typing.Optional[uint]' = None |
| batteryPercentageThreshold2: 'typing.Optional[uint]' = None |
| batteryPercentageThreshold3: 'typing.Optional[uint]' = None |
| batteryAlarmState: 'typing.Optional[uint]' = None |
| battery2Voltage: 'typing.Optional[uint]' = None |
| battery2PercentageRemaining: 'typing.Optional[uint]' = None |
| battery2Manufacturer: 'typing.Optional[str]' = None |
| battery2Size: 'typing.Optional[uint]' = None |
| battery2AhrRating: 'typing.Optional[uint]' = None |
| battery2Quantity: 'typing.Optional[uint]' = None |
| battery2RatedVoltage: 'typing.Optional[uint]' = None |
| battery2AlarmMask: 'typing.Optional[uint]' = None |
| battery2VoltageMinThreshold: 'typing.Optional[uint]' = None |
| battery2VoltageThreshold1: 'typing.Optional[uint]' = None |
| battery2VoltageThreshold2: 'typing.Optional[uint]' = None |
| battery2VoltageThreshold3: 'typing.Optional[uint]' = None |
| battery2PercentageMinThreshold: 'typing.Optional[uint]' = None |
| battery2PercentageThreshold1: 'typing.Optional[uint]' = None |
| battery2PercentageThreshold2: 'typing.Optional[uint]' = None |
| battery2PercentageThreshold3: 'typing.Optional[uint]' = None |
| battery2AlarmState: 'typing.Optional[uint]' = None |
| battery3Voltage: 'typing.Optional[uint]' = None |
| battery3PercentageRemaining: 'typing.Optional[uint]' = None |
| battery3Manufacturer: 'typing.Optional[str]' = None |
| battery3Size: 'typing.Optional[uint]' = None |
| battery3AhrRating: 'typing.Optional[uint]' = None |
| battery3Quantity: 'typing.Optional[uint]' = None |
| battery3RatedVoltage: 'typing.Optional[uint]' = None |
| battery3AlarmMask: 'typing.Optional[uint]' = None |
| battery3VoltageMinThreshold: 'typing.Optional[uint]' = None |
| battery3VoltageThreshold1: 'typing.Optional[uint]' = None |
| battery3VoltageThreshold2: 'typing.Optional[uint]' = None |
| battery3VoltageThreshold3: 'typing.Optional[uint]' = None |
| battery3PercentageMinThreshold: 'typing.Optional[uint]' = None |
| battery3PercentageThreshold1: 'typing.Optional[uint]' = None |
| battery3PercentageThreshold2: 'typing.Optional[uint]' = None |
| battery3PercentageThreshold3: 'typing.Optional[uint]' = None |
| battery3AlarmState: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MainsVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 MainsFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 MainsAlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 MainsVoltageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 MainsVoltageMaxThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 MainsVoltageDwellTrip(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryPercentageRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryManufacturer(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatterySize(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryAhrRating(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryQuantity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryRatedVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryAlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryVoltageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryVoltageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryVoltageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000038 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryVoltageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000039 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryPercentageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryPercentageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 BatteryPercentageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryPercentageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryAlarmState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2Voltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000040 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2PercentageRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 Battery2Manufacturer(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000050 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class Battery2Size(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000051 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2AhrRating(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000052 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2Quantity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 Battery2RatedVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 Battery2AlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000055 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2VoltageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000056 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2VoltageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000057 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2VoltageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000058 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2VoltageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000059 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2PercentageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000005A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2PercentageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000005B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2PercentageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000005C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2PercentageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000005D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery2AlarmState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000005E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3Voltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000060 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3PercentageRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000061 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3Manufacturer(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000070 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class Battery3Size(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000071 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3AhrRating(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000072 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3Quantity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000073 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3RatedVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000074 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3AlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000075 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3VoltageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000076 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3VoltageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000077 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3VoltageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000078 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3VoltageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000079 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3PercentageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000007A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3PercentageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000007B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3PercentageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000007C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3PercentageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000007D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Battery3AlarmState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000007E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @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 DeviceTemperatureConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="currentTemperature", Tag=0x00000000, Type=int), |
| ClusterObjectFieldDescriptor(Label="minTempExperienced", Tag=0x00000001, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="maxTempExperienced", Tag=0x00000002, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="overTempTotalDwell", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="deviceTempAlarmMask", Tag=0x00000010, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lowTempThreshold", Tag=0x00000011, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="highTempThreshold", Tag=0x00000012, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="lowTempDwellTripPoint", Tag=0x00000013, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="highTempDwellTripPoint", Tag=0x00000014, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| currentTemperature: 'int' = None |
| minTempExperienced: 'typing.Optional[int]' = None |
| maxTempExperienced: 'typing.Optional[int]' = None |
| overTempTotalDwell: 'typing.Optional[uint]' = None |
| deviceTempAlarmMask: 'typing.Optional[uint]' = None |
| lowTempThreshold: 'typing.Optional[int]' = None |
| highTempThreshold: 'typing.Optional[int]' = None |
| lowTempDwellTripPoint: 'typing.Optional[uint]' = None |
| highTempDwellTripPoint: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class CurrentTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class MinTempExperienced(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @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 MaxTempExperienced(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @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 OverTempTotalDwell(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @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 DeviceTempAlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @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 LowTempThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @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 HighTempThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @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 LowTempDwellTripPoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @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 HighTempDwellTripPoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @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 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @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 Identify(Cluster): |
| id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="identifyType", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| identifyTime: 'uint' = None |
| identifyType: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class IdentifyEffectIdentifier(IntEnum): |
| kBlink = 0x00 |
| kBreathe = 0x01 |
| kOkay = 0x02 |
| kChannelChange = 0x0B |
| kFinishEffect = 0xFE |
| kStopEffect = 0xFF |
| |
| class IdentifyEffectVariant(IntEnum): |
| kDefault = 0x00 |
| |
| class IdentifyIdentifyType(IntEnum): |
| kNone = 0x00 |
| kVisibleLight = 0x01 |
| kVisibleLED = 0x02 |
| kAudibleBeep = 0x03 |
| kDisplay = 0x04 |
| kActuator = 0x05 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class Identify(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0003 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0, Type=uint), |
| ]) |
| |
| identifyTime: 'uint' = 0 |
| |
| @dataclass |
| class IdentifyQueryResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0003 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="timeout", Tag=0, Type=uint), |
| ]) |
| |
| timeout: 'uint' = 0 |
| |
| @dataclass |
| class IdentifyQuery(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0003 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class TriggerEffect(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0003 |
| command_id: typing.ClassVar[int] = 0x0040 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="effectIdentifier", Tag=0, Type=Identify.Enums.IdentifyEffectIdentifier), |
| ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=Identify.Enums.IdentifyEffectVariant), |
| ]) |
| |
| effectIdentifier: 'Identify.Enums.IdentifyEffectIdentifier' = 0 |
| effectVariant: 'Identify.Enums.IdentifyEffectVariant' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class IdentifyTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class IdentifyType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class Groups(Cluster): |
| id: typing.ClassVar[int] = 0x0004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="nameSupport", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| nameSupport: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class AddGroup(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupName", Tag=1, Type=str), |
| ]) |
| |
| groupId: 'uint' = 0 |
| groupName: 'str' = "" |
| |
| @dataclass |
| class AddGroupResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupId: 'uint' = 0 |
| |
| @dataclass |
| class ViewGroup(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ]) |
| |
| groupId: 'uint' = 0 |
| |
| @dataclass |
| class ViewGroupResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupName", Tag=2, Type=str), |
| ]) |
| |
| status: 'uint' = 0 |
| groupId: 'uint' = 0 |
| groupName: 'str' = "" |
| |
| @dataclass |
| class GetGroupMembership(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupList", Tag=0, Type=typing.List[uint]), |
| ]) |
| |
| groupList: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetGroupMembershipResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="capacity", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupList", Tag=1, Type=typing.List[uint]), |
| ]) |
| |
| capacity: 'uint' = 0 |
| groupList: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class RemoveGroup(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ]) |
| |
| groupId: 'uint' = 0 |
| |
| @dataclass |
| class RemoveGroupResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupId: 'uint' = 0 |
| |
| @dataclass |
| class RemoveAllGroups(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class AddGroupIfIdentifying(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupName", Tag=1, Type=str), |
| ]) |
| |
| groupId: 'uint' = 0 |
| groupName: 'str' = "" |
| |
| |
| class Attributes: |
| @dataclass |
| class NameSupport(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class Scenes(Cluster): |
| id: typing.ClassVar[int] = 0x0005 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="sceneCount", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentScene", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentGroup", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneValid", Tag=0x00000003, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nameSupport", Tag=0x00000004, Type=uint), |
| ClusterObjectFieldDescriptor(Label="lastConfiguredBy", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| sceneCount: 'uint' = None |
| currentScene: 'uint' = None |
| currentGroup: 'uint' = None |
| sceneValid: 'bool' = None |
| nameSupport: 'uint' = None |
| lastConfiguredBy: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| class Structs: |
| @dataclass |
| class SceneExtensionFieldSet(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="clusterId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="length", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="value", Tag=3, Type=uint), |
| ]) |
| |
| clusterId: 'uint' = 0 |
| length: 'uint' = 0 |
| value: 'uint' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class AddScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.SceneExtensionFieldSet]), |
| ]) |
| |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| sceneName: 'str' = "" |
| extensionFieldSets: 'typing.List[Scenes.Structs.SceneExtensionFieldSet]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AddSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneId", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| |
| @dataclass |
| class ViewScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint), |
| ]) |
| |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| |
| @dataclass |
| class ViewSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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=uint), |
| ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.List[Scenes.Structs.SceneExtensionFieldSet]), |
| ]) |
| |
| status: 'uint' = 0 |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| sceneName: 'str' = "" |
| extensionFieldSets: 'typing.List[Scenes.Structs.SceneExtensionFieldSet]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class RemoveScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint), |
| ]) |
| |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| |
| @dataclass |
| class RemoveSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneId", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| |
| @dataclass |
| class RemoveAllScenes(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ]) |
| |
| groupId: 'uint' = 0 |
| |
| @dataclass |
| class RemoveAllScenesResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupId: 'uint' = 0 |
| |
| @dataclass |
| class StoreScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint), |
| ]) |
| |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| |
| @dataclass |
| class StoreSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneId", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| |
| @dataclass |
| class RecallScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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), |
| ]) |
| |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| |
| @dataclass |
| class GetSceneMembership(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ]) |
| |
| groupId: 'uint' = 0 |
| |
| @dataclass |
| class GetSceneMembershipResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="capacity", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneCount", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneList", Tag=4, Type=typing.List[uint]), |
| ]) |
| |
| status: 'uint' = 0 |
| capacity: 'uint' = 0 |
| groupId: 'uint' = 0 |
| sceneCount: 'uint' = 0 |
| sceneList: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EnhancedAddScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0040 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.SceneExtensionFieldSet]), |
| ]) |
| |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| sceneName: 'str' = "" |
| extensionFieldSets: 'typing.List[Scenes.Structs.SceneExtensionFieldSet]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EnhancedAddSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0040 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneId", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedViewScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0041 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint), |
| ]) |
| |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedViewSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0041 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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=uint), |
| ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.List[Scenes.Structs.SceneExtensionFieldSet]), |
| ]) |
| |
| status: 'uint' = 0 |
| groupId: 'uint' = 0 |
| sceneId: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| sceneName: 'str' = "" |
| extensionFieldSets: 'typing.List[Scenes.Structs.SceneExtensionFieldSet]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class CopyScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0042 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupIdFrom", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneIdFrom", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupIdTo", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneIdTo", Tag=4, Type=uint), |
| ]) |
| |
| mode: 'uint' = 0 |
| groupIdFrom: 'uint' = 0 |
| sceneIdFrom: 'uint' = 0 |
| groupIdTo: 'uint' = 0 |
| sceneIdTo: 'uint' = 0 |
| |
| @dataclass |
| class CopySceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0042 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupIdFrom", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="sceneIdFrom", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| groupIdFrom: 'uint' = 0 |
| sceneIdFrom: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class SceneCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentScene(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentGroup(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SceneValid(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class NameSupport(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class LastConfiguredBy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class OnOff(Cluster): |
| id: typing.ClassVar[int] = 0x0006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="onOff", Tag=0x00000000, Type=bool), |
| ClusterObjectFieldDescriptor(Label="globalSceneControl", Tag=0x00004000, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="onTime", Tag=0x00004001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="offWaitTime", Tag=0x00004002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="startUpOnOff", Tag=0x00004003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[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.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class OnOffDelayedAllOffEffectVariant(IntEnum): |
| kFadeToOffIn0p8Seconds = 0x00 |
| kNoFade = 0x01 |
| k50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 0x02 |
| |
| class OnOffDyingLightEffectVariant(IntEnum): |
| k20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0x00 |
| |
| class OnOffEffectIdentifier(IntEnum): |
| kDelayedAllOff = 0x00 |
| kDyingLight = 0x01 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class Off(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class On(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class Toggle(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class OffWithEffect(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0040 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="effectId", Tag=0, Type=OnOff.Enums.OnOffEffectIdentifier), |
| ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=OnOff.Enums.OnOffDelayedAllOffEffectVariant), |
| ]) |
| |
| effectId: 'OnOff.Enums.OnOffEffectIdentifier' = 0 |
| effectVariant: 'OnOff.Enums.OnOffDelayedAllOffEffectVariant' = 0 |
| |
| @dataclass |
| class OnWithRecallGlobalScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0041 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class OnWithTimedOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0042 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="onOffControl", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="onTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="offWaitTime", Tag=2, Type=uint), |
| ]) |
| |
| onOffControl: 'uint' = 0 |
| onTime: 'uint' = 0 |
| offWaitTime: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class OnOff(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class GlobalSceneControl(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class OnTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OffWaitTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class StartUpOnOff(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class OnOffSwitchConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x0007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="switchType", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="switchActions", Tag=0x00000010, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| switchType: 'uint' = None |
| switchActions: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class SwitchType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SwitchActions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class LevelControl(Cluster): |
| id: typing.ClassVar[int] = 0x0008 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="currentLevel", Tag=0x00000000, Type=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=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="onOffTransitionTime", Tag=0x00000010, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="onLevel", Tag=0x00000011, Type=typing.Union[None, 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.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| currentLevel: '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: 'typing.Optional[uint]' = None |
| onOffTransitionTime: 'typing.Optional[uint]' = None |
| onLevel: 'typing.Union[None, 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.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class MoveMode(IntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| |
| class StepMode(IntEnum): |
| kUp = 0x00 |
| kDown = 0x01 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class MoveToLevel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionOverride", Tag=3, Type=uint), |
| ]) |
| |
| level: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionMask: 'uint' = 0 |
| optionOverride: 'uint' = 0 |
| |
| @dataclass |
| class Move(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), |
| ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'LevelControl.Enums.MoveMode' = 0 |
| rate: 'uint' = 0 |
| optionMask: 'uint' = 0 |
| optionOverride: 'uint' = 0 |
| |
| @dataclass |
| class Step(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode), |
| ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'LevelControl.Enums.StepMode' = 0 |
| stepSize: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionMask: 'uint' = 0 |
| optionOverride: 'uint' = 0 |
| |
| @dataclass |
| class Stop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="optionMask", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionOverride", Tag=1, Type=uint), |
| ]) |
| |
| optionMask: 'uint' = 0 |
| optionOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveToLevelWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint), |
| ]) |
| |
| level: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| |
| @dataclass |
| class MoveWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), |
| ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), |
| ]) |
| |
| moveMode: 'LevelControl.Enums.MoveMode' = 0 |
| rate: 'uint' = 0 |
| |
| @dataclass |
| class StepWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode), |
| ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ]) |
| |
| stepMode: 'LevelControl.Enums.StepMode' = 0 |
| stepSize: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| |
| @dataclass |
| class StopWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class CurrentLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RemainingTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MinLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MaxLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MinFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MaxFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Options(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OnOffTransitionTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OnLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class OnTransitionTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class OffTransitionTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class DefaultMoveRate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class StartUpCurrentLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class Alarms(Cluster): |
| id: typing.ClassVar[int] = 0x0009 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="alarmCount", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| alarmCount: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ResetAlarm(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="alarmCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterId", Tag=1, Type=uint), |
| ]) |
| |
| alarmCode: 'uint' = 0 |
| clusterId: 'uint' = 0 |
| |
| @dataclass |
| class Alarm(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="alarmCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterId", Tag=1, Type=uint), |
| ]) |
| |
| alarmCode: 'uint' = 0 |
| clusterId: 'uint' = 0 |
| |
| @dataclass |
| class ResetAllAlarms(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class GetAlarmResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="alarmCode", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="timeStamp", Tag=3, Type=uint), |
| ]) |
| |
| status: 'uint' = 0 |
| alarmCode: 'uint' = 0 |
| clusterId: 'uint' = 0 |
| timeStamp: 'uint' = 0 |
| |
| @dataclass |
| class GetAlarm(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class ResetAlarmLog(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class AlarmCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0009 |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0009 |
| |
| @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 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0009 |
| |
| @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 Time(Cluster): |
| id: typing.ClassVar[int] = 0x000A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="time", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="timeStatus", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="timeZone", Tag=0x00000002, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dstStart", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dstEnd", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dstShift", Tag=0x00000005, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="standardTime", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="localTime", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lastSetTime", Tag=0x00000008, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="validUntilTime", Tag=0x00000009, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| time: 'uint' = None |
| timeStatus: 'uint' = None |
| timeZone: 'typing.Optional[int]' = None |
| dstStart: 'typing.Optional[uint]' = None |
| dstEnd: 'typing.Optional[uint]' = None |
| dstShift: 'typing.Optional[int]' = None |
| standardTime: 'typing.Optional[uint]' = None |
| localTime: 'typing.Optional[uint]' = None |
| lastSetTime: 'typing.Optional[uint]' = None |
| validUntilTime: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class Time(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @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 TimeStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @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 TimeZone(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @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 DstStart(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @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 DstEnd(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @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 DstShift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @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 StandardTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @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 LocalTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @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 LastSetTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @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 ValidUntilTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @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 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class BinaryInputBasic(Cluster): |
| id: typing.ClassVar[int] = 0x000F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="activeText", Tag=0x00000004, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="description", Tag=0x0000001C, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="inactiveText", Tag=0x0000002E, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="outOfService", Tag=0x00000051, Type=bool), |
| ClusterObjectFieldDescriptor(Label="polarity", Tag=0x00000054, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="presentValue", Tag=0x00000055, Type=bool), |
| ClusterObjectFieldDescriptor(Label="reliability", Tag=0x00000067, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="statusFlags", Tag=0x0000006F, Type=uint), |
| ClusterObjectFieldDescriptor(Label="applicationType", Tag=0x00000100, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[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 |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class ActiveText(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class Description(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class InactiveText(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class OutOfService(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000051 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class Polarity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000054 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PresentValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000055 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class Reliability(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000067 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class StatusFlags(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000006F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ApplicationType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000100 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class PowerProfile(Cluster): |
| id: typing.ClassVar[int] = 0x001A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="totalProfileNum", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="multipleScheduling", Tag=0x00000001, Type=bool), |
| ClusterObjectFieldDescriptor(Label="energyFormatting", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="energyRemote", Tag=0x00000003, Type=bool), |
| ClusterObjectFieldDescriptor(Label="scheduleMode", Tag=0x00000004, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| totalProfileNum: 'uint' = None |
| multipleScheduling: 'bool' = None |
| energyFormatting: 'uint' = None |
| energyRemote: 'bool' = None |
| scheduleMode: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| class Structs: |
| @dataclass |
| class PowerProfileRecord(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="energyPhaseId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="powerProfileRemoteControl", Tag=3, Type=bool), |
| ClusterObjectFieldDescriptor(Label="powerProfileState", Tag=4, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| energyPhaseId: 'uint' = 0 |
| powerProfileRemoteControl: 'bool' = False |
| powerProfileState: 'uint' = 0 |
| |
| @dataclass |
| class ScheduledPhase(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="energyPhaseId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="scheduledTime", Tag=2, Type=uint), |
| ]) |
| |
| energyPhaseId: 'uint' = 0 |
| scheduledTime: 'uint' = 0 |
| |
| @dataclass |
| class TransferredPhase(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="energyPhaseId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="macroPhaseId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="expectedDuration", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="peakPower", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="energy", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="maxActivationDelay", Tag=6, Type=uint), |
| ]) |
| |
| energyPhaseId: 'uint' = 0 |
| macroPhaseId: 'uint' = 0 |
| expectedDuration: 'uint' = 0 |
| peakPower: 'uint' = 0 |
| energy: 'uint' = 0 |
| maxActivationDelay: 'uint' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class PowerProfileRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| |
| @dataclass |
| class PowerProfileNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="totalProfileNum", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numOfTransferredPhases", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transferredPhases", Tag=3, Type=typing.List[PowerProfile.Structs.TransferredPhase]), |
| ]) |
| |
| totalProfileNum: 'uint' = 0 |
| powerProfileId: 'uint' = 0 |
| numOfTransferredPhases: 'uint' = 0 |
| transferredPhases: 'typing.List[PowerProfile.Structs.TransferredPhase]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class PowerProfileStateRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class PowerProfileResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="totalProfileNum", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numOfTransferredPhases", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transferredPhases", Tag=3, Type=typing.List[PowerProfile.Structs.TransferredPhase]), |
| ]) |
| |
| totalProfileNum: 'uint' = 0 |
| powerProfileId: 'uint' = 0 |
| numOfTransferredPhases: 'uint' = 0 |
| transferredPhases: 'typing.List[PowerProfile.Structs.TransferredPhase]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetPowerProfilePriceResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currency", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="price", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="priceTrailingDigit", Tag=3, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| currency: 'uint' = 0 |
| price: 'uint' = 0 |
| priceTrailingDigit: 'uint' = 0 |
| |
| @dataclass |
| class PowerProfileStateResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="powerProfileRecords", Tag=1, Type=typing.List[PowerProfile.Structs.PowerProfileRecord]), |
| ]) |
| |
| powerProfileCount: 'uint' = 0 |
| powerProfileRecords: 'typing.List[PowerProfile.Structs.PowerProfileRecord]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetOverallSchedulePriceResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="currency", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="price", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="priceTrailingDigit", Tag=2, Type=uint), |
| ]) |
| |
| currency: 'uint' = 0 |
| price: 'uint' = 0 |
| priceTrailingDigit: 'uint' = 0 |
| |
| @dataclass |
| class GetPowerProfilePrice(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| |
| @dataclass |
| class EnergyPhasesScheduleNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=typing.List[PowerProfile.Structs.ScheduledPhase]), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| numOfScheduledPhases: 'uint' = 0 |
| scheduledPhases: 'typing.List[PowerProfile.Structs.ScheduledPhase]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class PowerProfilesStateNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="powerProfileRecords", Tag=1, Type=typing.List[PowerProfile.Structs.PowerProfileRecord]), |
| ]) |
| |
| powerProfileCount: 'uint' = 0 |
| powerProfileRecords: 'typing.List[PowerProfile.Structs.PowerProfileRecord]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EnergyPhasesScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=typing.List[PowerProfile.Structs.ScheduledPhase]), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| numOfScheduledPhases: 'uint' = 0 |
| scheduledPhases: 'typing.List[PowerProfile.Structs.ScheduledPhase]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetOverallSchedulePrice(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class PowerProfileScheduleConstraintsRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| |
| @dataclass |
| class EnergyPhasesScheduleRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| |
| @dataclass |
| class EnergyPhasesScheduleStateRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| |
| @dataclass |
| class EnergyPhasesScheduleStateResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=typing.List[PowerProfile.Structs.ScheduledPhase]), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| numOfScheduledPhases: 'uint' = 0 |
| scheduledPhases: 'typing.List[PowerProfile.Structs.ScheduledPhase]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetPowerProfilePriceExtendedResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currency", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="price", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="priceTrailingDigit", Tag=3, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| currency: 'uint' = 0 |
| price: 'uint' = 0 |
| priceTrailingDigit: 'uint' = 0 |
| |
| @dataclass |
| class EnergyPhasesScheduleStateNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=typing.List[PowerProfile.Structs.ScheduledPhase]), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| numOfScheduledPhases: 'uint' = 0 |
| scheduledPhases: 'typing.List[PowerProfile.Structs.ScheduledPhase]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class PowerProfileScheduleConstraintsNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startAfter", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="stopBefore", Tag=2, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| startAfter: 'uint' = 0 |
| stopBefore: 'uint' = 0 |
| |
| @dataclass |
| class PowerProfileScheduleConstraintsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startAfter", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="stopBefore", Tag=2, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 0 |
| startAfter: 'uint' = 0 |
| stopBefore: 'uint' = 0 |
| |
| @dataclass |
| class GetPowerProfilePriceExtended(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x000B |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="options", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="powerProfileStartTime", Tag=2, Type=uint), |
| ]) |
| |
| options: 'uint' = 0 |
| powerProfileId: 'uint' = 0 |
| powerProfileStartTime: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class TotalProfileNum(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @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 MultipleScheduling(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @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 EnergyFormatting(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @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 EnergyRemote(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class ScheduleMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @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 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @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 ApplianceControl(Cluster): |
| id: typing.ClassVar[int] = 0x001B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="startTime", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="finishTime", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="remainingTime", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| startTime: 'uint' = None |
| finishTime: 'uint' = None |
| remainingTime: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ApplianceStatus(IntEnum): |
| kOff = 0x01 |
| kStandBy = 0x02 |
| kProgrammed = 0x03 |
| kProgrammedWaitingToStart = 0x04 |
| kRunning = 0x05 |
| kPause = 0x06 |
| kEndProgrammed = 0x07 |
| kFailure = 0x08 |
| kProgrammeInterrupted = 0x09 |
| kIdle = 0x0A |
| kRinseHold = 0x0B |
| kService = 0x0C |
| kSuperfreezing = 0x0D |
| kSupercooling = 0x0E |
| kSuperheating = 0x0F |
| |
| class CommandIdentification(IntEnum): |
| kStart = 0x01 |
| kStop = 0x02 |
| kPause = 0x03 |
| kStartSuperfreezing = 0x04 |
| kStopSuperfreezing = 0x05 |
| kStartSupercooling = 0x06 |
| kStopSupercooling = 0x07 |
| kDisableGas = 0x08 |
| kEnableGas = 0x09 |
| kEnableEnergyControl = 0x0A |
| kDisableEnergyControl = 0x0B |
| |
| class WarningEvent(IntEnum): |
| kWarning1OverallPowerAboveAvailablePowerLevel = 0x00 |
| kWarning2OverallPowerAbovePowerThresholdLevel = 0x01 |
| kWarning3OverallPowerBackBelowTheAvailablePowerLevel = 0x02 |
| kWarning4OverallPowerBackBelowThePowerThresholdLevel = 0x03 |
| kWarning5OverallPowerWillBePotentiallyAboveAvailablePowerLevelIfTheApplianceStarts = 0x04 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ExecutionOfACommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="commandId", Tag=0, Type=ApplianceControl.Enums.CommandIdentification), |
| ]) |
| |
| commandId: 'ApplianceControl.Enums.CommandIdentification' = 0 |
| |
| @dataclass |
| class SignalStateResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="applianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus), |
| ClusterObjectFieldDescriptor(Label="remoteEnableFlagsAndDeviceStatus2", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="applianceStatus2", Tag=2, Type=ApplianceControl.Enums.ApplianceStatus), |
| ]) |
| |
| applianceStatus: 'ApplianceControl.Enums.ApplianceStatus' = 0 |
| remoteEnableFlagsAndDeviceStatus2: 'uint' = 0 |
| applianceStatus2: 'ApplianceControl.Enums.ApplianceStatus' = 0 |
| |
| @dataclass |
| class SignalState(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class SignalStateNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="applianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus), |
| ClusterObjectFieldDescriptor(Label="remoteEnableFlagsAndDeviceStatus2", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="applianceStatus2", Tag=2, Type=ApplianceControl.Enums.ApplianceStatus), |
| ]) |
| |
| applianceStatus: 'ApplianceControl.Enums.ApplianceStatus' = 0 |
| remoteEnableFlagsAndDeviceStatus2: 'uint' = 0 |
| applianceStatus2: 'ApplianceControl.Enums.ApplianceStatus' = 0 |
| |
| @dataclass |
| class WriteFunctions(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="functionId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="functionDataType", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="functionData", Tag=2, Type=typing.List[uint]), |
| ]) |
| |
| functionId: 'uint' = 0 |
| functionDataType: 'uint' = 0 |
| functionData: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class OverloadPauseResume(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class OverloadPause(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class OverloadWarning(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="warningEvent", Tag=0, Type=ApplianceControl.Enums.WarningEvent), |
| ]) |
| |
| warningEvent: 'ApplianceControl.Enums.WarningEvent' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class StartTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001B |
| |
| @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 FinishTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001B |
| |
| @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 RemainingTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001B |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001B |
| |
| @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 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class PulseWidthModulation(Cluster): |
| id: typing.ClassVar[int] = 0x001C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class Descriptor(Cluster): |
| id: typing.ClassVar[int] = 0x001D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="deviceList", Tag=0x00000000, Type=typing.List[Descriptor.Structs.DeviceType]), |
| 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="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| deviceList: 'typing.List[Descriptor.Structs.DeviceType]' = None |
| serverList: 'typing.List[uint]' = None |
| clientList: 'typing.List[uint]' = None |
| partsList: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| class Structs: |
| @dataclass |
| class DeviceType(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="type", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="revision", Tag=2, Type=uint), |
| ]) |
| |
| type: 'uint' = 0 |
| revision: 'uint' = 0 |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class DeviceList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[Descriptor.Structs.DeviceType]) |
| |
| value: 'typing.List[Descriptor.Structs.DeviceType]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ServerList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ClientList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class PartsList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class Binding(Cluster): |
| id: typing.ClassVar[int] = 0x001E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class Bind(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001E |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="nodeId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endpointId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterId", Tag=3, Type=uint), |
| ]) |
| |
| nodeId: 'uint' = 0 |
| groupId: 'uint' = 0 |
| endpointId: 'uint' = 0 |
| clusterId: 'uint' = 0 |
| |
| @dataclass |
| class Unbind(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001E |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="nodeId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endpointId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="clusterId", Tag=3, Type=uint), |
| ]) |
| |
| nodeId: 'uint' = 0 |
| groupId: 'uint' = 0 |
| endpointId: 'uint' = 0 |
| clusterId: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class AccessControl(Cluster): |
| id: typing.ClassVar[int] = 0x001F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="acl", Tag=0x00000000, Type=typing.List[AccessControl.Structs.AccessControlEntry]), |
| ClusterObjectFieldDescriptor(Label="extension", Tag=0x00000001, Type=typing.List[AccessControl.Structs.ExtensionEntry]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| acl: 'typing.List[AccessControl.Structs.AccessControlEntry]' = None |
| extension: 'typing.List[AccessControl.Structs.ExtensionEntry]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class AuthMode(IntEnum): |
| kPase = 0x01 |
| kCase = 0x02 |
| kGroup = 0x03 |
| |
| class Privilege(IntEnum): |
| kView = 0x01 |
| kProxyView = 0x02 |
| kOperate = 0x03 |
| kManage = 0x04 |
| kAdminister = 0x05 |
| |
| |
| class Structs: |
| @dataclass |
| class Target(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 AccessControlEntry(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="privilege", Tag=1, Type=AccessControl.Enums.Privilege), |
| ClusterObjectFieldDescriptor(Label="authMode", Tag=2, Type=AccessControl.Enums.AuthMode), |
| 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.Target]]), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| privilege: 'AccessControl.Enums.Privilege' = 0 |
| authMode: 'AccessControl.Enums.AuthMode' = 0 |
| subjects: 'typing.Union[Nullable, typing.List[uint]]' = NullValue |
| targets: 'typing.Union[Nullable, typing.List[AccessControl.Structs.Target]]' = NullValue |
| |
| @dataclass |
| class ExtensionEntry(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=bytes), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| data: 'bytes' = b"" |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class Acl(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[AccessControl.Structs.AccessControlEntry]) |
| |
| value: 'typing.List[AccessControl.Structs.AccessControlEntry]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class Extension(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[AccessControl.Structs.ExtensionEntry]) |
| |
| value: 'typing.List[AccessControl.Structs.ExtensionEntry]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class PollControl(Cluster): |
| id: typing.ClassVar[int] = 0x0020 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="checkInInterval", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="longPollInterval", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="shortPollInterval", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="fastPollTimeout", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="checkInIntervalMin", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="longPollIntervalMin", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="fastPollTimeoutMax", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| checkInInterval: 'uint' = None |
| longPollInterval: 'uint' = None |
| shortPollInterval: 'uint' = None |
| fastPollTimeout: 'uint' = None |
| checkInIntervalMin: 'typing.Optional[uint]' = None |
| longPollIntervalMin: 'typing.Optional[uint]' = None |
| fastPollTimeoutMax: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class CheckIn(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class CheckInResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="startFastPolling", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor(Label="fastPollTimeout", Tag=1, Type=uint), |
| ]) |
| |
| startFastPolling: 'bool' = False |
| fastPollTimeout: 'uint' = 0 |
| |
| @dataclass |
| class FastPollStop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class SetLongPollInterval(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="newLongPollInterval", Tag=0, Type=uint), |
| ]) |
| |
| newLongPollInterval: 'uint' = 0 |
| |
| @dataclass |
| class SetShortPollInterval(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="newShortPollInterval", Tag=0, Type=uint), |
| ]) |
| |
| newShortPollInterval: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class CheckInInterval(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @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 LongPollInterval(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @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 ShortPollInterval(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @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 FastPollTimeout(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @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 CheckInIntervalMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @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 LongPollIntervalMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @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 FastPollTimeoutMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @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 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @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 BridgedActions(Cluster): |
| id: typing.ClassVar[int] = 0x0025 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionList", Tag=0x00000000, Type=typing.List[BridgedActions.Structs.ActionStruct]), |
| ClusterObjectFieldDescriptor(Label="endpointList", Tag=0x00000001, Type=typing.List[BridgedActions.Structs.EndpointListStruct]), |
| ClusterObjectFieldDescriptor(Label="setupUrl", Tag=0x00000002, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| actionList: 'typing.List[BridgedActions.Structs.ActionStruct]' = None |
| endpointList: 'typing.List[BridgedActions.Structs.EndpointListStruct]' = None |
| setupUrl: 'typing.Optional[str]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ActionErrorEnum(IntEnum): |
| kUnknown = 0x00 |
| kInterrupted = 0x01 |
| |
| class ActionStateEnum(IntEnum): |
| kInactive = 0x00 |
| kActive = 0x01 |
| kPaused = 0x02 |
| kDisabled = 0x03 |
| |
| class ActionTypeEnum(IntEnum): |
| kOther = 0x00 |
| kScene = 0x01 |
| kSequence = 0x02 |
| kAutomation = 0x03 |
| kException = 0x04 |
| kNotification = 0x05 |
| kAlarm = 0x06 |
| |
| class EndpointListTypeEnum(IntEnum): |
| kOther = 0x00 |
| kRoom = 0x01 |
| kZone = 0x02 |
| |
| |
| class Structs: |
| @dataclass |
| class ActionStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor(Label="type", Tag=3, Type=BridgedActions.Enums.ActionTypeEnum), |
| ClusterObjectFieldDescriptor(Label="endpointListID", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="supportedCommands", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="status", Tag=6, Type=BridgedActions.Enums.ActionStateEnum), |
| ]) |
| |
| actionID: 'uint' = 0 |
| name: 'str' = "" |
| type: 'BridgedActions.Enums.ActionTypeEnum' = 0 |
| endpointListID: 'uint' = 0 |
| supportedCommands: 'uint' = 0 |
| status: 'BridgedActions.Enums.ActionStateEnum' = 0 |
| |
| @dataclass |
| class EndpointListStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="endpointListID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor(Label="type", Tag=3, Type=BridgedActions.Enums.EndpointListTypeEnum), |
| ClusterObjectFieldDescriptor(Label="endpoints", Tag=4, Type=typing.List[uint]), |
| ]) |
| |
| endpointListID: 'uint' = 0 |
| name: 'str' = "" |
| type: 'BridgedActions.Enums.EndpointListTypeEnum' = 0 |
| endpoints: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| |
| |
| class Commands: |
| @dataclass |
| class InstantAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class InstantActionWithTransition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| transitionTime: 'uint' = 0 |
| |
| @dataclass |
| class StartAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class StartActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| duration: 'uint' = 0 |
| |
| @dataclass |
| class StopAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PauseAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PauseActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| duration: 'uint' = 0 |
| |
| @dataclass |
| class ResumeAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EnableAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EnableActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| duration: 'uint' = 0 |
| |
| @dataclass |
| class DisableAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DisableActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x000B |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'typing.Optional[uint]' = None |
| duration: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class ActionList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[BridgedActions.Structs.ActionStruct]) |
| |
| value: 'typing.List[BridgedActions.Structs.ActionStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EndpointList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[BridgedActions.Structs.EndpointListStruct]) |
| |
| value: 'typing.List[BridgedActions.Structs.EndpointListStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class SetupUrl(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| class Events: |
| @dataclass |
| class StateChanged(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=BridgedActions.Enums.ActionStateEnum), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'uint' = 0 |
| newState: 'BridgedActions.Enums.ActionStateEnum' = 0 |
| |
| @dataclass |
| class ActionFailed(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=BridgedActions.Enums.ActionStateEnum), |
| ClusterObjectFieldDescriptor(Label="error", Tag=3, Type=BridgedActions.Enums.ActionErrorEnum), |
| ]) |
| |
| actionID: 'uint' = 0 |
| invokeID: 'uint' = 0 |
| newState: 'BridgedActions.Enums.ActionStateEnum' = 0 |
| error: 'BridgedActions.Enums.ActionErrorEnum' = 0 |
| |
| |
| @dataclass |
| class Basic(Cluster): |
| id: typing.ClassVar[int] = 0x0028 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="interactionModelVersion", 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="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| interactionModelVersion: '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 |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class MfgSpecificPing(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0028 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class InteractionModelVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class VendorName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class VendorID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ProductName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class ProductID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class NodeLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class Location(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class HardwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class HardwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class SoftwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SoftwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class ManufacturingDate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class PartNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ProductURL(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ProductLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class SerialNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class LocalConfigDisabled(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class Reachable(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class UniqueID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| class Events: |
| @dataclass |
| class StartUp(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), |
| ]) |
| |
| softwareVersion: 'uint' = 0 |
| |
| @dataclass |
| class ShutDown(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class Leave(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class ReachableChanged(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="reachableNewValue", Tag=0, Type=bool), |
| ]) |
| |
| reachableNewValue: 'bool' = False |
| |
| |
| @dataclass |
| class OtaSoftwareUpdateProvider(Cluster): |
| id: typing.ClassVar[int] = 0x0029 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class OTAApplyUpdateAction(IntEnum): |
| kProceed = 0x00 |
| kAwaitNextAction = 0x01 |
| kDiscontinue = 0x02 |
| |
| class OTADownloadProtocol(IntEnum): |
| kBDXSynchronous = 0x00 |
| kBDXAsynchronous = 0x01 |
| kHttps = 0x02 |
| kVendorSpecific = 0x03 |
| |
| class OTAQueryStatus(IntEnum): |
| kUpdateAvailable = 0x00 |
| kBusy = 0x01 |
| kNotAvailable = 0x02 |
| kDownloadProtocolNotSupported = 0x03 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class QueryImage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="vendorId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="productId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="protocolsSupported", Tag=3, Type=typing.List[OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol]), |
| ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=4, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="location", Tag=5, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="requestorCanConsent", Tag=6, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="metadataForProvider", Tag=7, Type=typing.Optional[bytes]), |
| ]) |
| |
| vendorId: 'uint' = 0 |
| productId: 'uint' = 0 |
| softwareVersion: 'uint' = 0 |
| protocolsSupported: 'typing.List[OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol]' = field(default_factory=lambda: []) |
| hardwareVersion: 'typing.Optional[uint]' = None |
| location: 'typing.Optional[str]' = None |
| requestorCanConsent: 'typing.Optional[bool]' = None |
| metadataForProvider: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class QueryImageResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAQueryStatus), |
| ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="imageURI", Tag=2, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=3, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=4, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="updateToken", Tag=5, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="userConsentNeeded", Tag=6, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="metadataForRequestor", Tag=7, Type=typing.Optional[bytes]), |
| ]) |
| |
| status: 'OtaSoftwareUpdateProvider.Enums.OTAQueryStatus' = 0 |
| delayedActionTime: 'typing.Optional[uint]' = None |
| imageURI: 'typing.Optional[str]' = None |
| softwareVersion: 'typing.Optional[uint]' = None |
| softwareVersionString: 'typing.Optional[str]' = None |
| updateToken: 'typing.Optional[bytes]' = None |
| userConsentNeeded: 'typing.Optional[bool]' = None |
| metadataForRequestor: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class ApplyUpdateRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="updateToken", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="newVersion", Tag=1, Type=uint), |
| ]) |
| |
| updateToken: 'bytes' = b"" |
| newVersion: 'uint' = 0 |
| |
| @dataclass |
| class ApplyUpdateResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="action", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction), |
| ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=uint), |
| ]) |
| |
| action: 'OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction' = 0 |
| delayedActionTime: 'uint' = 0 |
| |
| @dataclass |
| class NotifyUpdateApplied(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class OtaSoftwareUpdateRequestor(Cluster): |
| id: typing.ClassVar[int] = 0x002A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="defaultOtaProviders", Tag=0x00000000, Type=typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]), |
| ClusterObjectFieldDescriptor(Label="updatePossible", Tag=0x00000001, Type=bool), |
| ClusterObjectFieldDescriptor(Label="updateState", Tag=0x00000002, Type=OtaSoftwareUpdateRequestor.Enums.UpdateStateEnum), |
| ClusterObjectFieldDescriptor(Label="updateStateProgress", Tag=0x00000003, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[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 |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChangeReasonEnum(IntEnum): |
| kUnknown = 0x00 |
| kSuccess = 0x01 |
| kFailure = 0x02 |
| kTimeOut = 0x03 |
| kDelayByProvider = 0x04 |
| |
| class OTAAnnouncementReason(IntEnum): |
| kSimpleAnnouncement = 0x00 |
| kUpdateAvailable = 0x01 |
| kUrgentUpdateAvailable = 0x02 |
| |
| class UpdateStateEnum(IntEnum): |
| kUnknown = 0x00 |
| kIdle = 0x01 |
| kQuerying = 0x02 |
| kDelayedOnQuery = 0x03 |
| kDownloading = 0x04 |
| kApplying = 0x05 |
| kDelayedOnApply = 0x06 |
| kRollingBack = 0x07 |
| kDelayedOnUserConsent = 0x08 |
| |
| |
| class Structs: |
| @dataclass |
| class ProviderLocation(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="providerNodeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endpoint", Tag=2, Type=uint), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| providerNodeID: 'uint' = 0 |
| endpoint: 'uint' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class AnnounceOtaProvider(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x002A |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="providerNodeId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="vendorId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="announcementReason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason), |
| ClusterObjectFieldDescriptor(Label="metadataForNode", Tag=3, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="endpoint", Tag=4, Type=uint), |
| ]) |
| |
| providerNodeId: 'uint' = 0 |
| vendorId: 'uint' = 0 |
| announcementReason: 'OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason' = 0 |
| metadataForNode: 'typing.Optional[bytes]' = None |
| endpoint: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class DefaultOtaProviders(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]) |
| |
| value: 'typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class UpdatePossible(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class UpdateState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=OtaSoftwareUpdateRequestor.Enums.UpdateStateEnum) |
| |
| value: 'OtaSoftwareUpdateRequestor.Enums.UpdateStateEnum' = 0 |
| |
| @dataclass |
| class UpdateStateProgress(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| class Events: |
| @dataclass |
| class StateTransition(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="previousState", Tag=0, Type=typing.Union[Nullable, 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: 'typing.Union[Nullable, OtaSoftwareUpdateRequestor.Enums.UpdateStateEnum]' = NullValue |
| 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 0x002A |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="productID", Tag=1, Type=uint), |
| ]) |
| |
| softwareVersion: 'uint' = 0 |
| productID: 'uint' = 0 |
| |
| @dataclass |
| class DownloadError(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="bytesDownloaded", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="progressPercent", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="platformCode", Tag=3, Type=typing.Union[Nullable, int]), |
| ]) |
| |
| softwareVersion: 'uint' = 0 |
| bytesDownloaded: 'uint' = 0 |
| progressPercent: 'uint' = 0 |
| platformCode: 'typing.Union[Nullable, int]' = NullValue |
| |
| |
| @dataclass |
| class LocalizationConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x002B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class LocalizationTimeFormat(Cluster): |
| id: typing.ClassVar[int] = 0x002C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class LocalizationUnit(Cluster): |
| id: typing.ClassVar[int] = 0x002D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class PowerSourceConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x002E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="sources", Tag=0x00000000, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| sources: 'typing.List[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class Sources(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class PowerSource(Cluster): |
| id: typing.ClassVar[int] = 0x002F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="order", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="description", Tag=0x00000002, Type=str), |
| ClusterObjectFieldDescriptor(Label="wiredAssessedInputVoltage", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="wiredAssessedInputFrequency", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="wiredCurrentType", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="wiredAssessedCurrent", Tag=0x00000006, Type=typing.Optional[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[uint]]), |
| ClusterObjectFieldDescriptor(Label="batteryVoltage", Tag=0x0000000B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryPercentRemaining", Tag=0x0000000C, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryTimeRemaining", Tag=0x0000000D, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryChargeLevel", Tag=0x0000000E, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryReplacementNeeded", Tag=0x0000000F, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="batteryReplaceability", Tag=0x00000010, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryPresent", Tag=0x00000011, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="activeBatteryFaults", Tag=0x00000012, Type=typing.Optional[typing.List[uint]]), |
| ClusterObjectFieldDescriptor(Label="batteryReplacementDescription", Tag=0x00000013, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="batteryCommonDesignation", Tag=0x00000014, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryANSIDesignation", Tag=0x00000015, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="batteryIECDesignation", Tag=0x00000016, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="batteryApprovedChemistry", Tag=0x00000017, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryCapacity", Tag=0x00000018, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryQuantity", Tag=0x00000019, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryChargeState", Tag=0x0000001A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryTimeToFullCharge", Tag=0x0000001B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="batteryFunctionalWhileCharging", Tag=0x0000001C, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="batteryChargingCurrent", Tag=0x0000001D, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activeBatteryChargeFaults", Tag=0x0000001E, Type=typing.Optional[typing.List[uint]]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| status: 'uint' = None |
| order: 'uint' = None |
| description: 'str' = None |
| wiredAssessedInputVoltage: 'typing.Optional[uint]' = None |
| wiredAssessedInputFrequency: 'typing.Optional[uint]' = None |
| wiredCurrentType: 'typing.Optional[uint]' = None |
| wiredAssessedCurrent: 'typing.Optional[uint]' = None |
| wiredNominalVoltage: 'typing.Optional[uint]' = None |
| wiredMaximumCurrent: 'typing.Optional[uint]' = None |
| wiredPresent: 'typing.Optional[bool]' = None |
| activeWiredFaults: 'typing.Optional[typing.List[uint]]' = None |
| batteryVoltage: 'typing.Optional[uint]' = None |
| batteryPercentRemaining: 'typing.Optional[uint]' = None |
| batteryTimeRemaining: 'typing.Optional[uint]' = None |
| batteryChargeLevel: 'typing.Optional[uint]' = None |
| batteryReplacementNeeded: 'typing.Optional[bool]' = None |
| batteryReplaceability: 'typing.Optional[uint]' = None |
| batteryPresent: 'typing.Optional[bool]' = None |
| activeBatteryFaults: 'typing.Optional[typing.List[uint]]' = None |
| batteryReplacementDescription: 'typing.Optional[str]' = None |
| batteryCommonDesignation: 'typing.Optional[uint]' = None |
| batteryANSIDesignation: 'typing.Optional[str]' = None |
| batteryIECDesignation: 'typing.Optional[str]' = None |
| batteryApprovedChemistry: 'typing.Optional[uint]' = None |
| batteryCapacity: 'typing.Optional[uint]' = None |
| batteryQuantity: 'typing.Optional[uint]' = None |
| batteryChargeState: 'typing.Optional[uint]' = None |
| batteryTimeToFullCharge: 'typing.Optional[uint]' = None |
| batteryFunctionalWhileCharging: 'typing.Optional[bool]' = None |
| batteryChargingCurrent: 'typing.Optional[uint]' = None |
| activeBatteryChargeFaults: 'typing.Optional[typing.List[uint]]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class Status(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Order(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Description(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class WiredAssessedInputVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WiredAssessedInputFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WiredCurrentType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WiredAssessedCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WiredNominalVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WiredMaximumCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WiredPresent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class ActiveWiredFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]]) |
| |
| value: 'typing.Optional[typing.List[uint]]' = None |
| |
| @dataclass |
| class BatteryVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryPercentRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryTimeRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryChargeLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryReplacementNeeded(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class BatteryReplaceability(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryPresent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class ActiveBatteryFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]]) |
| |
| value: 'typing.Optional[typing.List[uint]]' = None |
| |
| @dataclass |
| class BatteryReplacementDescription(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class BatteryCommonDesignation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryANSIDesignation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class BatteryIECDesignation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class BatteryApprovedChemistry(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryCapacity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryQuantity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryChargeState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryTimeToFullCharge(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BatteryFunctionalWhileCharging(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class BatteryChargingCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActiveBatteryChargeFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]]) |
| |
| value: 'typing.Optional[typing.List[uint]]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class GeneralCommissioning(Cluster): |
| id: typing.ClassVar[int] = 0x0030 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="basicCommissioningInfoList", Tag=0x00000001, Type=typing.List[GeneralCommissioning.Structs.BasicCommissioningInfoType]), |
| ClusterObjectFieldDescriptor(Label="regulatoryConfig", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="locationCapability", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| breadcrumb: 'uint' = None |
| basicCommissioningInfoList: 'typing.List[GeneralCommissioning.Structs.BasicCommissioningInfoType]' = None |
| regulatoryConfig: 'typing.Optional[uint]' = None |
| locationCapability: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class GeneralCommissioningError(IntEnum): |
| kOk = 0x00 |
| kValueOutsideRange = 0x01 |
| kInvalidAuthentication = 0x02 |
| kNotCommissioning = 0x03 |
| |
| class RegulatoryLocationType(IntEnum): |
| kIndoor = 0x00 |
| kOutdoor = 0x01 |
| kIndoorOutdoor = 0x02 |
| |
| |
| class Structs: |
| @dataclass |
| class BasicCommissioningInfoType(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="failSafeExpiryLengthMs", Tag=1, Type=uint), |
| ]) |
| |
| failSafeExpiryLengthMs: 'uint' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ArmFailSafe(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="expiryLengthSeconds", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=2, Type=uint), |
| ]) |
| |
| expiryLengthSeconds: 'uint' = 0 |
| breadcrumb: 'uint' = 0 |
| timeoutMs: 'uint' = 0 |
| |
| @dataclass |
| class ArmFailSafeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), |
| ]) |
| |
| errorCode: 'GeneralCommissioning.Enums.GeneralCommissioningError' = 0 |
| debugText: 'str' = "" |
| |
| @dataclass |
| class SetRegulatoryConfig(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="location", Tag=0, Type=GeneralCommissioning.Enums.RegulatoryLocationType), |
| ClusterObjectFieldDescriptor(Label="countryCode", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="timeoutMs", Tag=3, Type=uint), |
| ]) |
| |
| location: 'GeneralCommissioning.Enums.RegulatoryLocationType' = 0 |
| countryCode: 'str' = "" |
| breadcrumb: 'uint' = 0 |
| timeoutMs: 'uint' = 0 |
| |
| @dataclass |
| class SetRegulatoryConfigResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), |
| ]) |
| |
| errorCode: 'GeneralCommissioning.Enums.GeneralCommissioningError' = 0 |
| debugText: 'str' = "" |
| |
| @dataclass |
| class CommissioningComplete(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class CommissioningCompleteResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), |
| ]) |
| |
| errorCode: 'GeneralCommissioning.Enums.GeneralCommissioningError' = 0 |
| debugText: 'str' = "" |
| |
| |
| class Attributes: |
| @dataclass |
| class Breadcrumb(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class BasicCommissioningInfoList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[GeneralCommissioning.Structs.BasicCommissioningInfoType]) |
| |
| value: 'typing.List[GeneralCommissioning.Structs.BasicCommissioningInfoType]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class RegulatoryConfig(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LocationCapability(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class NetworkCommissioning(Cluster): |
| id: typing.ClassVar[int] = 0x0031 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="maxNetworks", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="networks", Tag=0x00000001, Type=typing.List[NetworkCommissioning.Structs.NetworkInfo]), |
| ClusterObjectFieldDescriptor(Label="scanMaxTimeSeconds", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="connectMaxTimeSeconds", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="interfaceEnabled", Tag=0x00000004, Type=bool), |
| ClusterObjectFieldDescriptor(Label="lastNetworkingStatus", Tag=0x00000005, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), |
| ClusterObjectFieldDescriptor(Label="lastNetworkID", Tag=0x00000006, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="lastConnectErrorValue", Tag=0x00000007, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| maxNetworks: 'uint' = None |
| networks: 'typing.List[NetworkCommissioning.Structs.NetworkInfo]' = None |
| scanMaxTimeSeconds: 'uint' = None |
| connectMaxTimeSeconds: 'uint' = None |
| interfaceEnabled: 'bool' = None |
| lastNetworkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = None |
| lastNetworkID: 'bytes' = None |
| lastConnectErrorValue: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class NetworkCommissioningStatus(IntEnum): |
| 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 |
| |
| class WiFiBand(IntEnum): |
| k2g4 = 0x00 |
| k3g65 = 0x01 |
| k5g = 0x02 |
| k6g = 0x03 |
| k60g = 0x04 |
| |
| |
| class Structs: |
| @dataclass |
| class NetworkInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="networkID", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="connected", Tag=2, Type=bool), |
| ]) |
| |
| networkID: 'bytes' = b"" |
| connected: 'bool' = False |
| |
| @dataclass |
| class ThreadInterfaceScanResult(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="panId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="extendedPanId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="networkName", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor(Label="channel", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="version", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="extendedAddress", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rssi", Tag=7, Type=int), |
| ClusterObjectFieldDescriptor(Label="lqi", Tag=8, Type=uint), |
| ]) |
| |
| panId: 'uint' = 0 |
| extendedPanId: 'uint' = 0 |
| networkName: 'str' = "" |
| channel: 'uint' = 0 |
| version: 'uint' = 0 |
| extendedAddress: 'uint' = 0 |
| rssi: 'int' = 0 |
| lqi: 'uint' = 0 |
| |
| @dataclass |
| class WiFiInterfaceScanResult(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="security", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="ssid", Tag=2, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="bssid", Tag=3, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="channel", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="wiFiBand", Tag=5, Type=NetworkCommissioning.Enums.WiFiBand), |
| ClusterObjectFieldDescriptor(Label="rssi", Tag=6, Type=int), |
| ]) |
| |
| security: 'uint' = 0 |
| ssid: 'bytes' = b"" |
| bssid: 'bytes' = b"" |
| channel: 'uint' = 0 |
| wiFiBand: 'NetworkCommissioning.Enums.WiFiBand' = 0 |
| rssi: 'int' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ScanNetworks(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), |
| ]) |
| |
| ssid: 'bytes' = b"" |
| breadcrumb: 'uint' = 0 |
| |
| @dataclass |
| class ScanNetworksResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="wiFiScanResults", Tag=2, Type=typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResult]), |
| ClusterObjectFieldDescriptor(Label="threadScanResults", Tag=3, Type=typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResult]), |
| ]) |
| |
| networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0 |
| debugText: 'str' = "" |
| wiFiScanResults: 'typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResult]' = field(default_factory=lambda: []) |
| threadScanResults: 'typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResult]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AddOrUpdateWiFiNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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=uint), |
| ]) |
| |
| ssid: 'bytes' = b"" |
| credentials: 'bytes' = b"" |
| breadcrumb: 'uint' = 0 |
| |
| @dataclass |
| class AddOrUpdateThreadNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="operationalDataset", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), |
| ]) |
| |
| operationalDataset: 'bytes' = b"" |
| breadcrumb: 'uint' = 0 |
| |
| @dataclass |
| class RemoveNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), |
| ]) |
| |
| networkID: 'bytes' = b"" |
| breadcrumb: 'uint' = 0 |
| |
| @dataclass |
| class NetworkConfigResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), |
| ]) |
| |
| networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0 |
| debugText: 'str' = "" |
| |
| @dataclass |
| class ConnectNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint), |
| ]) |
| |
| networkID: 'bytes' = b"" |
| breadcrumb: 'uint' = 0 |
| |
| @dataclass |
| class ConnectNetworkResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="errorValue", Tag=2, Type=int), |
| ]) |
| |
| networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0 |
| debugText: 'str' = "" |
| errorValue: 'int' = 0 |
| |
| @dataclass |
| class ReorderNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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=uint), |
| ]) |
| |
| networkID: 'bytes' = b"" |
| networkIndex: 'uint' = 0 |
| breadcrumb: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class MaxNetworks(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Networks(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[NetworkCommissioning.Structs.NetworkInfo]) |
| |
| value: 'typing.List[NetworkCommissioning.Structs.NetworkInfo]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ScanMaxTimeSeconds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ConnectMaxTimeSeconds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class InterfaceEnabled(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class LastNetworkingStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=NetworkCommissioning.Enums.NetworkCommissioningStatus) |
| |
| value: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0 |
| |
| @dataclass |
| class LastNetworkID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| value: 'bytes' = b"" |
| |
| @dataclass |
| class LastConnectErrorValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class DiagnosticLogs(Cluster): |
| id: typing.ClassVar[int] = 0x0032 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class LogsIntent(IntEnum): |
| kEndUserSupport = 0x00 |
| kNetworkDiag = 0x01 |
| kCrashLogs = 0x02 |
| |
| class LogsStatus(IntEnum): |
| kSuccess = 0x00 |
| kExhausted = 0x01 |
| kNoLogs = 0x02 |
| kBusy = 0x03 |
| kDenied = 0x04 |
| |
| class LogsTransferProtocol(IntEnum): |
| kResponsePayload = 0x00 |
| kBdx = 0x01 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class RetrieveLogsRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0032 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="intent", Tag=0, Type=DiagnosticLogs.Enums.LogsIntent), |
| ClusterObjectFieldDescriptor(Label="requestedProtocol", Tag=1, Type=DiagnosticLogs.Enums.LogsTransferProtocol), |
| ClusterObjectFieldDescriptor(Label="transferFileDesignator", Tag=2, Type=bytes), |
| ]) |
| |
| intent: 'DiagnosticLogs.Enums.LogsIntent' = 0 |
| requestedProtocol: 'DiagnosticLogs.Enums.LogsTransferProtocol' = 0 |
| transferFileDesignator: 'bytes' = b"" |
| |
| @dataclass |
| class RetrieveLogsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0032 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DiagnosticLogs.Enums.LogsStatus), |
| ClusterObjectFieldDescriptor(Label="content", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="timeStamp", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="timeSinceBoot", Tag=3, Type=uint), |
| ]) |
| |
| status: 'DiagnosticLogs.Enums.LogsStatus' = 0 |
| content: 'bytes' = b"" |
| timeStamp: 'uint' = 0 |
| timeSinceBoot: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class GeneralDiagnostics(Cluster): |
| id: typing.ClassVar[int] = 0x0033 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="networkInterfaces", Tag=0x00000000, Type=typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType]), |
| 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="bootReasons", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activeHardwareFaults", Tag=0x00000005, Type=typing.Optional[typing.List[uint]]), |
| ClusterObjectFieldDescriptor(Label="activeRadioFaults", Tag=0x00000006, Type=typing.Optional[typing.List[uint]]), |
| ClusterObjectFieldDescriptor(Label="activeNetworkFaults", Tag=0x00000007, Type=typing.Optional[typing.List[uint]]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| networkInterfaces: 'typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType]' = None |
| rebootCount: 'uint' = None |
| upTime: 'typing.Optional[uint]' = None |
| totalOperationalHours: 'typing.Optional[uint]' = None |
| bootReasons: 'typing.Optional[uint]' = None |
| activeHardwareFaults: 'typing.Optional[typing.List[uint]]' = None |
| activeRadioFaults: 'typing.Optional[typing.List[uint]]' = None |
| activeNetworkFaults: 'typing.Optional[typing.List[uint]]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class BootReasonType(IntEnum): |
| kUnspecified = 0x00 |
| kPowerOnReboot = 0x01 |
| kBrownOutReset = 0x02 |
| kSoftwareWatchdogReset = 0x03 |
| kHardwareWatchdogReset = 0x04 |
| kSoftwareUpdateCompleted = 0x05 |
| kSoftwareReset = 0x06 |
| |
| class HardwareFaultType(IntEnum): |
| kUnspecified = 0x00 |
| kRadio = 0x01 |
| kSensor = 0x02 |
| kResettableOverTemp = 0x03 |
| kNonResettableOverTemp = 0x04 |
| kPowerSource = 0x05 |
| kVisualDisplayFault = 0x06 |
| kAudioOutputFault = 0x07 |
| kUserInterfaceFault = 0x08 |
| kNonVolatileMemoryError = 0x09 |
| kTamperDetected = 0x0A |
| |
| class InterfaceType(IntEnum): |
| kUnspecified = 0x00 |
| kWiFi = 0x01 |
| kEthernet = 0x02 |
| kCellular = 0x03 |
| kThread = 0x04 |
| |
| class NetworkFaultType(IntEnum): |
| kUnspecified = 0x00 |
| kHardwareFailure = 0x01 |
| kNetworkJammed = 0x02 |
| kConnectionFailed = 0x03 |
| |
| class RadioFaultType(IntEnum): |
| kUnspecified = 0x00 |
| kWiFiFault = 0x01 |
| kCellularFault = 0x02 |
| kThreadFault = 0x03 |
| kNFCFault = 0x04 |
| kBLEFault = 0x05 |
| kEthernetFault = 0x06 |
| |
| |
| class Structs: |
| @dataclass |
| class NetworkInterfaceType(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="fabricConnected", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv4", Tag=3, Type=bool), |
| ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv6", Tag=4, Type=bool), |
| ClusterObjectFieldDescriptor(Label="hardwareAddress", Tag=5, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="type", Tag=6, Type=GeneralDiagnostics.Enums.InterfaceType), |
| ]) |
| |
| name: 'str' = "" |
| fabricConnected: 'bool' = False |
| offPremiseServicesReachableIPv4: 'bool' = False |
| offPremiseServicesReachableIPv6: 'bool' = False |
| hardwareAddress: 'bytes' = b"" |
| type: 'GeneralDiagnostics.Enums.InterfaceType' = 0 |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class NetworkInterfaces(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType]) |
| |
| value: 'typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class RebootCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class UpTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TotalOperationalHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BootReasons(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActiveHardwareFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]]) |
| |
| value: 'typing.Optional[typing.List[uint]]' = None |
| |
| @dataclass |
| class ActiveRadioFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]]) |
| |
| value: 'typing.Optional[typing.List[uint]]' = None |
| |
| @dataclass |
| class ActiveNetworkFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]]) |
| |
| value: 'typing.Optional[typing.List[uint]]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| class Events: |
| @dataclass |
| class HardwareFaultChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultType]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultType]), |
| ]) |
| |
| current: 'typing.List[GeneralDiagnostics.Enums.HardwareFaultType]' = field(default_factory=lambda: []) |
| previous: 'typing.List[GeneralDiagnostics.Enums.HardwareFaultType]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class RadioFaultChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultType]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultType]), |
| ]) |
| |
| current: 'typing.List[GeneralDiagnostics.Enums.RadioFaultType]' = field(default_factory=lambda: []) |
| previous: 'typing.List[GeneralDiagnostics.Enums.RadioFaultType]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class NetworkFaultChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultType]), |
| ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultType]), |
| ]) |
| |
| current: 'typing.List[GeneralDiagnostics.Enums.NetworkFaultType]' = field(default_factory=lambda: []) |
| previous: 'typing.List[GeneralDiagnostics.Enums.NetworkFaultType]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class BootReason(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="bootReason", Tag=0, Type=GeneralDiagnostics.Enums.BootReasonType), |
| ]) |
| |
| bootReason: 'GeneralDiagnostics.Enums.BootReasonType' = 0 |
| |
| |
| @dataclass |
| class SoftwareDiagnostics(Cluster): |
| id: typing.ClassVar[int] = 0x0034 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="threadMetrics", Tag=0x00000000, Type=typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]]), |
| ClusterObjectFieldDescriptor(Label="currentHeapFree", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentHeapUsed", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentHeapHighWatermark", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| threadMetrics: 'typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]]' = None |
| currentHeapFree: 'typing.Optional[uint]' = None |
| currentHeapUsed: 'typing.Optional[uint]' = None |
| currentHeapHighWatermark: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| class Structs: |
| @dataclass |
| class SoftwareFault(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="id", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor(Label="faultRecording", Tag=3, Type=bytes), |
| ]) |
| |
| id: 'uint' = 0 |
| name: 'str' = "" |
| faultRecording: 'bytes' = b"" |
| |
| @dataclass |
| class ThreadMetrics(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="id", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor(Label="stackFreeCurrent", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="stackFreeMinimum", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="stackSize", Tag=5, Type=uint), |
| ]) |
| |
| id: 'uint' = 0 |
| name: 'str' = "" |
| stackFreeCurrent: 'uint' = 0 |
| stackFreeMinimum: 'uint' = 0 |
| stackSize: 'uint' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ResetWatermarks(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0034 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class ThreadMetrics(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]]) |
| |
| value: 'typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]]' = None |
| |
| @dataclass |
| class CurrentHeapFree(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentHeapUsed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentHeapHighWatermark(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| class Events: |
| @dataclass |
| class SoftwareFault(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="softwareFault", Tag=0, Type=SoftwareDiagnostics.Structs.SoftwareFault), |
| ]) |
| |
| softwareFault: 'SoftwareDiagnostics.Structs.SoftwareFault' = field(default_factory=lambda: SoftwareDiagnostics.Structs.SoftwareFault()) |
| |
| |
| @dataclass |
| class ThreadNetworkDiagnostics(Cluster): |
| id: typing.ClassVar[int] = 0x0035 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="channel", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="routingRole", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="networkName", Tag=0x00000002, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="panId", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="extendedPanId", Tag=0x00000004, Type=uint), |
| ClusterObjectFieldDescriptor(Label="meshLocalPrefix", Tag=0x00000005, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x00000006, Type=uint), |
| ClusterObjectFieldDescriptor(Label="neighborTableList", Tag=0x00000007, Type=typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]), |
| ClusterObjectFieldDescriptor(Label="routeTableList", Tag=0x00000008, Type=typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]), |
| ClusterObjectFieldDescriptor(Label="partitionId", Tag=0x00000009, Type=uint), |
| ClusterObjectFieldDescriptor(Label="weighting", Tag=0x0000000A, Type=uint), |
| ClusterObjectFieldDescriptor(Label="dataVersion", Tag=0x0000000B, Type=uint), |
| ClusterObjectFieldDescriptor(Label="stableDataVersion", Tag=0x0000000C, Type=uint), |
| ClusterObjectFieldDescriptor(Label="leaderRouterId", Tag=0x0000000D, Type=uint), |
| ClusterObjectFieldDescriptor(Label="detachedRoleCount", Tag=0x0000000E, Type=uint), |
| ClusterObjectFieldDescriptor(Label="childRoleCount", Tag=0x0000000F, Type=uint), |
| ClusterObjectFieldDescriptor(Label="routerRoleCount", Tag=0x00000010, Type=uint), |
| ClusterObjectFieldDescriptor(Label="leaderRoleCount", Tag=0x00000011, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attachAttemptCount", Tag=0x00000012, Type=uint), |
| ClusterObjectFieldDescriptor(Label="partitionIdChangeCount", Tag=0x00000013, Type=uint), |
| ClusterObjectFieldDescriptor(Label="betterPartitionAttachAttemptCount", Tag=0x00000014, Type=uint), |
| ClusterObjectFieldDescriptor(Label="parentChangeCount", Tag=0x00000015, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txTotalCount", Tag=0x00000016, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txUnicastCount", Tag=0x00000017, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txBroadcastCount", Tag=0x00000018, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txAckRequestedCount", Tag=0x00000019, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txAckedCount", Tag=0x0000001A, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txNoAckRequestedCount", Tag=0x0000001B, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txDataCount", Tag=0x0000001C, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txDataPollCount", Tag=0x0000001D, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txBeaconCount", Tag=0x0000001E, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txBeaconRequestCount", Tag=0x0000001F, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txOtherCount", Tag=0x00000020, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txRetryCount", Tag=0x00000021, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txDirectMaxRetryExpiryCount", Tag=0x00000022, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txIndirectMaxRetryExpiryCount", Tag=0x00000023, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txErrCcaCount", Tag=0x00000024, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txErrAbortCount", Tag=0x00000025, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txErrBusyChannelCount", Tag=0x00000026, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxTotalCount", Tag=0x00000027, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxUnicastCount", Tag=0x00000028, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxBroadcastCount", Tag=0x00000029, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxDataCount", Tag=0x0000002A, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxDataPollCount", Tag=0x0000002B, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxBeaconCount", Tag=0x0000002C, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxBeaconRequestCount", Tag=0x0000002D, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxOtherCount", Tag=0x0000002E, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxAddressFilteredCount", Tag=0x0000002F, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxDestAddrFilteredCount", Tag=0x00000030, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxDuplicatedCount", Tag=0x00000031, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxErrNoFrameCount", Tag=0x00000032, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxErrUnknownNeighborCount", Tag=0x00000033, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxErrInvalidSrcAddrCount", Tag=0x00000034, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxErrSecCount", Tag=0x00000035, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxErrFcsCount", Tag=0x00000036, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxErrOtherCount", Tag=0x00000037, Type=uint), |
| ClusterObjectFieldDescriptor(Label="activeTimestamp", Tag=0x00000038, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="pendingTimestamp", Tag=0x00000039, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="delay", Tag=0x0000003A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="securityPolicy", Tag=0x0000003B, Type=typing.List[ThreadNetworkDiagnostics.Structs.SecurityPolicy]), |
| ClusterObjectFieldDescriptor(Label="channelMask", Tag=0x0000003C, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="operationalDatasetComponents", Tag=0x0000003D, Type=typing.List[ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]), |
| ClusterObjectFieldDescriptor(Label="activeNetworkFaultsList", Tag=0x0000003E, Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| channel: 'uint' = None |
| routingRole: 'uint' = None |
| networkName: 'bytes' = None |
| panId: 'uint' = None |
| extendedPanId: 'uint' = None |
| meshLocalPrefix: 'bytes' = None |
| overrunCount: 'uint' = None |
| neighborTableList: 'typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]' = None |
| routeTableList: 'typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]' = None |
| partitionId: 'uint' = None |
| weighting: 'uint' = None |
| dataVersion: 'uint' = None |
| stableDataVersion: 'uint' = None |
| leaderRouterId: 'uint' = None |
| detachedRoleCount: 'uint' = None |
| childRoleCount: 'uint' = None |
| routerRoleCount: 'uint' = None |
| leaderRoleCount: 'uint' = None |
| attachAttemptCount: 'uint' = None |
| partitionIdChangeCount: 'uint' = None |
| betterPartitionAttachAttemptCount: 'uint' = None |
| parentChangeCount: 'uint' = None |
| txTotalCount: 'uint' = None |
| txUnicastCount: 'uint' = None |
| txBroadcastCount: 'uint' = None |
| txAckRequestedCount: 'uint' = None |
| txAckedCount: 'uint' = None |
| txNoAckRequestedCount: 'uint' = None |
| txDataCount: 'uint' = None |
| txDataPollCount: 'uint' = None |
| txBeaconCount: 'uint' = None |
| txBeaconRequestCount: 'uint' = None |
| txOtherCount: 'uint' = None |
| txRetryCount: 'uint' = None |
| txDirectMaxRetryExpiryCount: 'uint' = None |
| txIndirectMaxRetryExpiryCount: 'uint' = None |
| txErrCcaCount: 'uint' = None |
| txErrAbortCount: 'uint' = None |
| txErrBusyChannelCount: 'uint' = None |
| rxTotalCount: 'uint' = None |
| rxUnicastCount: 'uint' = None |
| rxBroadcastCount: 'uint' = None |
| rxDataCount: 'uint' = None |
| rxDataPollCount: 'uint' = None |
| rxBeaconCount: 'uint' = None |
| rxBeaconRequestCount: 'uint' = None |
| rxOtherCount: 'uint' = None |
| rxAddressFilteredCount: 'uint' = None |
| rxDestAddrFilteredCount: 'uint' = None |
| rxDuplicatedCount: 'uint' = None |
| rxErrNoFrameCount: 'uint' = None |
| rxErrUnknownNeighborCount: 'uint' = None |
| rxErrInvalidSrcAddrCount: 'uint' = None |
| rxErrSecCount: 'uint' = None |
| rxErrFcsCount: 'uint' = None |
| rxErrOtherCount: 'uint' = None |
| activeTimestamp: 'typing.Optional[uint]' = None |
| pendingTimestamp: 'typing.Optional[uint]' = None |
| delay: 'typing.Optional[uint]' = None |
| securityPolicy: 'typing.List[ThreadNetworkDiagnostics.Structs.SecurityPolicy]' = None |
| channelMask: 'bytes' = None |
| operationalDatasetComponents: 'typing.List[ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]' = None |
| activeNetworkFaultsList: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class NetworkFault(IntEnum): |
| kUnspecified = 0x00 |
| kLinkDown = 0x01 |
| kHardwareFailure = 0x02 |
| kNetworkJammed = 0x03 |
| |
| class RoutingRole(IntEnum): |
| kUnspecified = 0x00 |
| kUnassigned = 0x01 |
| kSleepyEndDevice = 0x02 |
| kEndDevice = 0x03 |
| kReed = 0x04 |
| kRouter = 0x05 |
| kLeader = 0x06 |
| |
| class ThreadConnectionStatus(IntEnum): |
| kConnected = 0x00 |
| kNotConnected = 0x01 |
| |
| |
| class Structs: |
| @dataclass |
| class NeighborTable(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="extAddress", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="age", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rloc16", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="linkFrameCounter", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="mleFrameCounter", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="lqi", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor(Label="averageRssi", Tag=7, Type=int), |
| ClusterObjectFieldDescriptor(Label="lastRssi", Tag=8, Type=int), |
| ClusterObjectFieldDescriptor(Label="frameErrorRate", Tag=9, Type=uint), |
| ClusterObjectFieldDescriptor(Label="messageErrorRate", Tag=10, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rxOnWhenIdle", Tag=11, Type=bool), |
| ClusterObjectFieldDescriptor(Label="fullThreadDevice", Tag=12, Type=bool), |
| ClusterObjectFieldDescriptor(Label="fullNetworkData", Tag=13, Type=bool), |
| ClusterObjectFieldDescriptor(Label="isChild", Tag=14, Type=bool), |
| ]) |
| |
| extAddress: 'uint' = 0 |
| age: 'uint' = 0 |
| rloc16: 'uint' = 0 |
| linkFrameCounter: 'uint' = 0 |
| mleFrameCounter: 'uint' = 0 |
| lqi: 'uint' = 0 |
| averageRssi: 'int' = 0 |
| lastRssi: 'int' = 0 |
| 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=1, Type=bool), |
| ClusterObjectFieldDescriptor(Label="pendingTimestampPresent", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor(Label="masterKeyPresent", Tag=3, Type=bool), |
| ClusterObjectFieldDescriptor(Label="networkNamePresent", Tag=4, Type=bool), |
| ClusterObjectFieldDescriptor(Label="extendedPanIdPresent", Tag=5, Type=bool), |
| ClusterObjectFieldDescriptor(Label="meshLocalPrefixPresent", Tag=6, Type=bool), |
| ClusterObjectFieldDescriptor(Label="delayPresent", Tag=7, Type=bool), |
| ClusterObjectFieldDescriptor(Label="panIdPresent", Tag=8, Type=bool), |
| ClusterObjectFieldDescriptor(Label="channelPresent", Tag=9, Type=bool), |
| ClusterObjectFieldDescriptor(Label="pskcPresent", Tag=10, Type=bool), |
| ClusterObjectFieldDescriptor(Label="securityPolicyPresent", Tag=11, Type=bool), |
| ClusterObjectFieldDescriptor(Label="channelMaskPresent", Tag=12, Type=bool), |
| ]) |
| |
| activeTimestampPresent: 'bool' = False |
| pendingTimestampPresent: 'bool' = False |
| masterKeyPresent: 'bool' = False |
| networkNamePresent: 'bool' = False |
| extendedPanIdPresent: 'bool' = False |
| meshLocalPrefixPresent: 'bool' = False |
| delayPresent: 'bool' = False |
| panIdPresent: 'bool' = False |
| channelPresent: 'bool' = False |
| pskcPresent: 'bool' = False |
| securityPolicyPresent: 'bool' = False |
| channelMaskPresent: 'bool' = False |
| |
| @dataclass |
| class RouteTable(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="extAddress", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rloc16", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="routerId", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="nextHop", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="pathCost", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="LQIIn", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor(Label="LQIOut", Tag=7, Type=uint), |
| ClusterObjectFieldDescriptor(Label="age", Tag=8, Type=uint), |
| ClusterObjectFieldDescriptor(Label="allocated", Tag=9, Type=bool), |
| ClusterObjectFieldDescriptor(Label="linkEstablished", Tag=10, 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=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="flags", Tag=2, Type=uint), |
| ]) |
| |
| rotationTime: 'uint' = 0 |
| flags: 'uint' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ResetCounts(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0035 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class Channel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RoutingRole(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class NetworkName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| value: 'bytes' = b"" |
| |
| @dataclass |
| class PanId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ExtendedPanId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class MeshLocalPrefix(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| value: 'bytes' = b"" |
| |
| @dataclass |
| class OverrunCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class NeighborTableList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]) |
| |
| value: 'typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class RouteTableList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]) |
| |
| value: 'typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class PartitionId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Weighting(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class DataVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class StableDataVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class LeaderRouterId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class DetachedRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ChildRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RouterRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class LeaderRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttachAttemptCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class PartitionIdChangeCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class BetterPartitionAttachAttemptCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ParentChangeCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxTotalCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxUnicastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxBroadcastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxAckRequestedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxAckedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxNoAckRequestedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxDataCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxDataPollCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxBeaconCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxBeaconRequestCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxOtherCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxRetryCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxDirectMaxRetryExpiryCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxIndirectMaxRetryExpiryCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxErrCcaCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxErrAbortCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxErrBusyChannelCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000026 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxTotalCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000027 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxUnicastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000028 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxBroadcastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxDataCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxDataPollCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxBeaconCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxBeaconRequestCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxOtherCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxAddressFilteredCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxDestAddrFilteredCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxDuplicatedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxErrNoFrameCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxErrUnknownNeighborCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxErrInvalidSrcAddrCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxErrSecCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000035 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxErrFcsCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000036 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RxErrOtherCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000037 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ActiveTimestamp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000038 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PendingTimestamp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000039 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Delay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SecurityPolicy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.SecurityPolicy]) |
| |
| value: 'typing.List[ThreadNetworkDiagnostics.Structs.SecurityPolicy]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ChannelMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| value: 'bytes' = b"" |
| |
| @dataclass |
| class OperationalDatasetComponents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]) |
| |
| value: 'typing.List[ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ActiveNetworkFaultsList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]) |
| |
| value: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| class Events: |
| @dataclass |
| class ConnectionStatus(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=ThreadNetworkDiagnostics.Enums.ThreadConnectionStatus), |
| ]) |
| |
| connectionStatus: 'ThreadNetworkDiagnostics.Enums.ThreadConnectionStatus' = 0 |
| |
| |
| @dataclass |
| class WiFiNetworkDiagnostics(Cluster): |
| id: typing.ClassVar[int] = 0x0036 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="bssid", Tag=0x00000000, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="securityType", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="wiFiVersion", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="channelNumber", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rssi", Tag=0x00000004, Type=int), |
| ClusterObjectFieldDescriptor(Label="beaconLostCount", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="beaconRxCount", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="packetMulticastRxCount", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="packetMulticastTxCount", Tag=0x00000008, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="packetUnicastRxCount", Tag=0x00000009, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="packetUnicastTxCount", Tag=0x0000000A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentMaxRate", Tag=0x0000000B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x0000000C, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| bssid: 'bytes' = None |
| securityType: 'uint' = None |
| wiFiVersion: 'uint' = None |
| channelNumber: 'uint' = None |
| rssi: 'int' = None |
| beaconLostCount: 'typing.Optional[uint]' = None |
| beaconRxCount: 'typing.Optional[uint]' = None |
| packetMulticastRxCount: 'typing.Optional[uint]' = None |
| packetMulticastTxCount: 'typing.Optional[uint]' = None |
| packetUnicastRxCount: 'typing.Optional[uint]' = None |
| packetUnicastTxCount: 'typing.Optional[uint]' = None |
| currentMaxRate: 'typing.Optional[uint]' = None |
| overrunCount: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class AssociationFailureCause(IntEnum): |
| kUnknown = 0x00 |
| kAssociationFailed = 0x01 |
| kAuthenticationFailed = 0x02 |
| kSsidNotFound = 0x03 |
| |
| class SecurityType(IntEnum): |
| kUnspecified = 0x00 |
| kNone = 0x01 |
| kWep = 0x02 |
| kWpa = 0x03 |
| kWpa2 = 0x04 |
| kWpa3 = 0x05 |
| |
| class WiFiConnectionStatus(IntEnum): |
| kConnected = 0x00 |
| kNotConnected = 0x01 |
| |
| class WiFiVersionType(IntEnum): |
| k80211a = 0x00 |
| k80211b = 0x01 |
| k80211g = 0x02 |
| k80211n = 0x03 |
| k80211ac = 0x04 |
| k80211ax = 0x05 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ResetCounts(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0036 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class Bssid(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| value: 'bytes' = b"" |
| |
| @dataclass |
| class SecurityType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class WiFiVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ChannelNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Rssi(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class BeaconLostCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BeaconRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PacketMulticastRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PacketMulticastTxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PacketUnicastRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PacketUnicastTxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentMaxRate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OverrunCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| class Events: |
| @dataclass |
| class Disconnection(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="reasonCode", Tag=0, Type=uint), |
| ]) |
| |
| reasonCode: 'uint' = 0 |
| |
| @dataclass |
| class AssociationFailure(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="associationFailure", Tag=0, Type=WiFiNetworkDiagnostics.Enums.AssociationFailureCause), |
| ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint), |
| ]) |
| |
| associationFailure: 'WiFiNetworkDiagnostics.Enums.AssociationFailureCause' = 0 |
| status: 'uint' = 0 |
| |
| @dataclass |
| class ConnectionStatus(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=WiFiNetworkDiagnostics.Enums.WiFiConnectionStatus), |
| ]) |
| |
| connectionStatus: 'WiFiNetworkDiagnostics.Enums.WiFiConnectionStatus' = 0 |
| |
| |
| @dataclass |
| class EthernetNetworkDiagnostics(Cluster): |
| id: typing.ClassVar[int] = 0x0037 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="PHYRate", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="fullDuplex", Tag=0x00000001, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="packetRxCount", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="packetTxCount", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="txErrCount", Tag=0x00000004, Type=uint), |
| ClusterObjectFieldDescriptor(Label="collisionCount", Tag=0x00000005, Type=uint), |
| ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x00000006, Type=uint), |
| ClusterObjectFieldDescriptor(Label="carrierDetect", Tag=0x00000007, Type=typing.Optional[bool]), |
| ClusterObjectFieldDescriptor(Label="timeSinceReset", Tag=0x00000008, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| PHYRate: 'typing.Optional[uint]' = None |
| fullDuplex: 'typing.Optional[bool]' = None |
| packetRxCount: 'uint' = None |
| packetTxCount: 'uint' = None |
| txErrCount: 'uint' = None |
| collisionCount: 'uint' = None |
| overrunCount: 'uint' = None |
| carrierDetect: 'typing.Optional[bool]' = None |
| timeSinceReset: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class PHYRateType(IntEnum): |
| k10m = 0x00 |
| k100m = 0x01 |
| k1000m = 0x02 |
| k25g = 0x03 |
| k5g = 0x04 |
| k10g = 0x05 |
| k40g = 0x06 |
| k100g = 0x07 |
| k200g = 0x08 |
| k400g = 0x09 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ResetCounts(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0037 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class PHYRate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class FullDuplex(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class PacketRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class PacketTxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TxErrCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CollisionCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class OverrunCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CarrierDetect(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class TimeSinceReset(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class TimeSynchronization(Cluster): |
| id: typing.ClassVar[int] = 0x0038 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class BridgedDeviceBasic(Cluster): |
| id: typing.ClassVar[int] = 0x0039 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000001, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="productName", Tag=0x00000003, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="nodeLabel", Tag=0x00000005, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="hardwareVersionString", Tag=0x00000008, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0x00000009, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=0x0000000A, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="manufacturingDate", Tag=0x0000000B, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="partNumber", Tag=0x0000000C, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="productURL", Tag=0x0000000D, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="productLabel", Tag=0x0000000E, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="serialNumber", Tag=0x0000000F, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="reachable", Tag=0x00000011, Type=bool), |
| ClusterObjectFieldDescriptor(Label="uniqueID", Tag=0x00000012, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[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 |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class StartUp(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0039 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class ShutDown(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0039 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class Leave(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0039 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class ReachableChanged(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0039 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class VendorName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class VendorID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ProductName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class NodeLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class HardwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class HardwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class SoftwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SoftwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ManufacturingDate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class PartNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ProductURL(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ProductLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class SerialNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class Reachable(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class UniqueID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class Switch(Cluster): |
| id: typing.ClassVar[int] = 0x003B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="numberOfPositions", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentPosition", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="multiPressMax", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| numberOfPositions: 'uint' = None |
| currentPosition: 'uint' = None |
| multiPressMax: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class NumberOfPositions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentPosition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class MultiPressMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| class Events: |
| @dataclass |
| class SwitchLatched(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), |
| ]) |
| |
| newPosition: 'uint' = 0 |
| |
| @dataclass |
| class InitialPress(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), |
| ]) |
| |
| newPosition: 'uint' = 0 |
| |
| @dataclass |
| class LongPress(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), |
| ]) |
| |
| newPosition: 'uint' = 0 |
| |
| @dataclass |
| class ShortRelease(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint), |
| ]) |
| |
| previousPosition: 'uint' = 0 |
| |
| @dataclass |
| class LongRelease(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint), |
| ]) |
| |
| previousPosition: 'uint' = 0 |
| |
| @dataclass |
| class MultiPressOngoing(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentNumberOfPressesCounted", Tag=1, Type=uint), |
| ]) |
| |
| newPosition: 'uint' = 0 |
| currentNumberOfPressesCounted: 'uint' = 0 |
| |
| @dataclass |
| class MultiPressComplete(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="totalNumberOfPressesCounted", Tag=1, Type=uint), |
| ]) |
| |
| newPosition: 'uint' = 0 |
| totalNumberOfPressesCounted: 'uint' = 0 |
| |
| |
| @dataclass |
| class AdministratorCommissioning(Cluster): |
| id: typing.ClassVar[int] = 0x003C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="windowStatus", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="adminFabricIndex", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| windowStatus: 'uint' = None |
| adminFabricIndex: 'uint' = None |
| adminVendorId: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class CommissioningWindowStatus(IntEnum): |
| kWindowNotOpen = 0x00 |
| kEnhancedWindowOpen = 0x01 |
| kBasicWindowOpen = 0x02 |
| |
| class StatusCode(IntEnum): |
| kBusy = 0x01 |
| kPAKEParameterError = 0x02 |
| kWindowNotOpen = 0x03 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class OpenCommissioningWindow(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003C |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="PAKEVerifier", 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), |
| ClusterObjectFieldDescriptor(Label="passcodeID", Tag=5, Type=uint), |
| ]) |
| |
| commissioningTimeout: 'uint' = 0 |
| PAKEVerifier: 'bytes' = b"" |
| discriminator: 'uint' = 0 |
| iterations: 'uint' = 0 |
| salt: 'bytes' = b"" |
| passcodeID: 'uint' = 0 |
| |
| @dataclass |
| class OpenBasicCommissioningWindow(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003C |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint), |
| ]) |
| |
| commissioningTimeout: 'uint' = 0 |
| |
| @dataclass |
| class RevokeCommissioning(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003C |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class WindowStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AdminFabricIndex(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AdminVendorId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class OperationalCredentials(Cluster): |
| id: typing.ClassVar[int] = 0x003E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="fabricsList", Tag=0x00000001, Type=typing.List[OperationalCredentials.Structs.FabricDescriptor]), |
| 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="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| fabricsList: 'typing.List[OperationalCredentials.Structs.FabricDescriptor]' = None |
| supportedFabrics: 'uint' = None |
| commissionedFabrics: 'uint' = None |
| trustedRootCertificates: 'typing.List[bytes]' = None |
| currentFabricIndex: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class NodeOperationalCertStatus(IntEnum): |
| kSuccess = 0x00 |
| kInvalidPublicKey = 0x01 |
| kInvalidNodeOpId = 0x02 |
| kInvalidNOC = 0x03 |
| kMissingCsr = 0x04 |
| kTableFull = 0x05 |
| kInsufficientPrivilege = 0x08 |
| kFabricConflict = 0x09 |
| kLabelConflict = 0x0A |
| kInvalidFabricIndex = 0x0B |
| |
| |
| class Structs: |
| @dataclass |
| class FabricDescriptor(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rootPublicKey", Tag=2, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="vendorId", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="fabricId", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="nodeId", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="label", Tag=6, Type=str), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| rootPublicKey: 'bytes' = b"" |
| vendorId: 'uint' = 0 |
| fabricId: 'uint' = 0 |
| nodeId: 'uint' = 0 |
| label: 'str' = "" |
| |
| @dataclass |
| class NOCStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="noc", Tag=2, Type=bytes), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| noc: 'bytes' = b"" |
| |
| |
| |
| class Commands: |
| @dataclass |
| class AttestationRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attestationNonce", Tag=0, Type=bytes), |
| ]) |
| |
| attestationNonce: 'bytes' = b"" |
| |
| @dataclass |
| class AttestationResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attestationElements", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="signature", Tag=1, Type=bytes), |
| ]) |
| |
| attestationElements: 'bytes' = b"" |
| signature: 'bytes' = b"" |
| |
| @dataclass |
| class CertificateChainRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="certificateType", Tag=0, Type=uint), |
| ]) |
| |
| certificateType: 'uint' = 0 |
| |
| @dataclass |
| class CertificateChainResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="certificate", Tag=0, Type=bytes), |
| ]) |
| |
| certificate: 'bytes' = b"" |
| |
| @dataclass |
| class OpCSRRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="CSRNonce", Tag=0, Type=bytes), |
| ]) |
| |
| CSRNonce: 'bytes' = b"" |
| |
| @dataclass |
| class OpCSRResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="NOCSRElements", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="attestationSignature", Tag=1, Type=bytes), |
| ]) |
| |
| NOCSRElements: 'bytes' = b"" |
| attestationSignature: 'bytes' = b"" |
| |
| @dataclass |
| class AddNOC(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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="caseAdminNode", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=4, Type=uint), |
| ]) |
| |
| NOCValue: 'bytes' = b"" |
| ICACValue: 'typing.Optional[bytes]' = None |
| IPKValue: 'bytes' = b"" |
| caseAdminNode: 'uint' = 0 |
| adminVendorId: 'uint' = 0 |
| |
| @dataclass |
| class UpdateNOC(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=typing.Optional[bytes]), |
| ]) |
| |
| NOCValue: 'bytes' = b"" |
| ICACValue: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class NOCResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="statusCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="debugText", Tag=2, Type=str), |
| ]) |
| |
| statusCode: 'uint' = 0 |
| fabricIndex: 'uint' = 0 |
| debugText: 'str' = "" |
| |
| @dataclass |
| class UpdateFabricLabel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str), |
| ]) |
| |
| label: 'str' = "" |
| |
| @dataclass |
| class RemoveFabric(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| |
| @dataclass |
| class AddTrustedRootCertificate(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x000B |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="rootCertificate", Tag=0, Type=bytes), |
| ]) |
| |
| rootCertificate: 'bytes' = b"" |
| |
| @dataclass |
| class RemoveTrustedRootCertificate(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x000C |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="trustedRootIdentifier", Tag=0, Type=bytes), |
| ]) |
| |
| trustedRootIdentifier: 'bytes' = b"" |
| |
| |
| class Attributes: |
| @dataclass |
| class FabricsList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[OperationalCredentials.Structs.FabricDescriptor]) |
| |
| value: 'typing.List[OperationalCredentials.Structs.FabricDescriptor]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class SupportedFabrics(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CommissionedFabrics(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TrustedRootCertificates(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[bytes]) |
| |
| value: 'typing.List[bytes]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class CurrentFabricIndex(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class GroupKeyManagement(Cluster): |
| id: typing.ClassVar[int] = 0x003F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupKeyMap", Tag=0x00000000, Type=typing.List[GroupKeyManagement.Structs.GroupKey]), |
| ClusterObjectFieldDescriptor(Label="groupTable", Tag=0x00000001, Type=typing.List[GroupKeyManagement.Structs.GroupInfo]), |
| ClusterObjectFieldDescriptor(Label="maxGroupsPerFabric", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="maxGroupKeysPerFabric", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| groupKeyMap: 'typing.List[GroupKeyManagement.Structs.GroupKey]' = None |
| groupTable: 'typing.List[GroupKeyManagement.Structs.GroupInfo]' = None |
| maxGroupsPerFabric: 'uint' = None |
| maxGroupKeysPerFabric: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class GroupKeySecurityPolicy(IntEnum): |
| kStandard = 0x00 |
| kLowLatency = 0x01 |
| |
| |
| class Structs: |
| @dataclass |
| class GroupInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endpoints", Tag=2, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="groupName", Tag=3, Type=str), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| groupId: 'uint' = 0 |
| endpoints: 'typing.List[uint]' = field(default_factory=lambda: []) |
| groupName: 'str' = "" |
| |
| @dataclass |
| class GroupKey(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=2, Type=uint), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| groupId: 'uint' = 0 |
| groupKeySetID: 'uint' = 0 |
| |
| @dataclass |
| class GroupKeySet(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="securityPolicy", Tag=1, Type=GroupKeyManagement.Enums.GroupKeySecurityPolicy), |
| ClusterObjectFieldDescriptor(Label="epochKey0", Tag=2, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="epochStartTime0", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="epochKey1", Tag=4, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="epochStartTime1", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="epochKey2", Tag=6, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="epochStartTime2", Tag=7, Type=uint), |
| ]) |
| |
| groupKeySetID: 'uint' = 0 |
| securityPolicy: 'GroupKeyManagement.Enums.GroupKeySecurityPolicy' = 0 |
| epochKey0: 'bytes' = b"" |
| epochStartTime0: 'uint' = 0 |
| epochKey1: 'bytes' = b"" |
| epochStartTime1: 'uint' = 0 |
| epochKey2: 'bytes' = b"" |
| epochStartTime2: 'uint' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class KeySetWrite(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySet), |
| ]) |
| |
| groupKeySet: 'GroupKeyManagement.Structs.GroupKeySet' = field(default_factory=lambda: GroupKeyManagement.Structs.GroupKeySet()) |
| |
| @dataclass |
| class KeySetRead(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), |
| ]) |
| |
| groupKeySetID: 'uint' = 0 |
| |
| @dataclass |
| class KeySetReadResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySet), |
| ]) |
| |
| groupKeySet: 'GroupKeyManagement.Structs.GroupKeySet' = field(default_factory=lambda: GroupKeyManagement.Structs.GroupKeySet()) |
| |
| @dataclass |
| class KeySetRemove(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint), |
| ]) |
| |
| groupKeySetID: 'uint' = 0 |
| |
| @dataclass |
| class KeySetReadAllIndices(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]), |
| ]) |
| |
| groupKeySetIDs: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class KeySetReadAllIndicesResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003F |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]), |
| ]) |
| |
| groupKeySetIDs: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| |
| class Attributes: |
| @dataclass |
| class GroupKeyMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[GroupKeyManagement.Structs.GroupKey]) |
| |
| value: 'typing.List[GroupKeyManagement.Structs.GroupKey]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GroupTable(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[GroupKeyManagement.Structs.GroupInfo]) |
| |
| value: 'typing.List[GroupKeyManagement.Structs.GroupInfo]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class MaxGroupsPerFabric(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class MaxGroupKeysPerFabric(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class FixedLabel(Cluster): |
| id: typing.ClassVar[int] = 0x0040 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="labelList", Tag=0x00000000, Type=typing.List[FixedLabel.Structs.LabelStruct]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| labelList: 'typing.List[FixedLabel.Structs.LabelStruct]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| class Structs: |
| @dataclass |
| class LabelStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="label", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="value", Tag=2, Type=str), |
| ]) |
| |
| label: 'str' = "" |
| value: 'str' = "" |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class LabelList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[FixedLabel.Structs.LabelStruct]) |
| |
| value: 'typing.List[FixedLabel.Structs.LabelStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class UserLabel(Cluster): |
| id: typing.ClassVar[int] = 0x0041 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="labelList", Tag=0x00000000, Type=typing.List[UserLabel.Structs.LabelStruct]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| labelList: 'typing.List[UserLabel.Structs.LabelStruct]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| class Structs: |
| @dataclass |
| class LabelStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="label", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="value", Tag=2, Type=str), |
| ]) |
| |
| label: 'str' = "" |
| value: 'str' = "" |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class LabelList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[UserLabel.Structs.LabelStruct]) |
| |
| value: 'typing.List[UserLabel.Structs.LabelStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class ProxyConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x0042 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0042 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0042 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0042 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class ProxyDiscovery(Cluster): |
| id: typing.ClassVar[int] = 0x0043 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0043 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0043 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0043 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class ProxyValid(Cluster): |
| id: typing.ClassVar[int] = 0x0044 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0044 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0044 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0044 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class BooleanState(Cluster): |
| id: typing.ClassVar[int] = 0x0045 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="stateValue", Tag=0x00000000, Type=bool), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| stateValue: 'bool' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class StateValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| class Events: |
| @dataclass |
| class StateChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="stateValue", Tag=0, Type=bool), |
| ]) |
| |
| stateValue: 'bool' = False |
| |
| |
| @dataclass |
| class ModeSelect(Cluster): |
| id: typing.ClassVar[int] = 0x0050 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000001, Type=typing.List[ModeSelect.Structs.ModeOptionStruct]), |
| ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="startUpMode", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="description", Tag=0x00000004, Type=str), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| currentMode: 'uint' = None |
| supportedModes: 'typing.List[ModeSelect.Structs.ModeOptionStruct]' = None |
| onMode: 'typing.Optional[uint]' = None |
| startUpMode: 'uint' = None |
| description: 'str' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| class Structs: |
| @dataclass |
| class ModeOptionStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="label", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="mode", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="semanticTag", Tag=3, Type=uint), |
| ]) |
| |
| label: 'str' = "" |
| mode: 'uint' = 0 |
| semanticTag: 'uint' = 0 |
| |
| @dataclass |
| class SemanticTag(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mfgCode", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="value", Tag=2, Type=uint), |
| ]) |
| |
| mfgCode: 'uint' = 0 |
| value: 'uint' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ChangeToMode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0050 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint), |
| ]) |
| |
| newMode: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class CurrentMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SupportedModes(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[ModeSelect.Structs.ModeOptionStruct]) |
| |
| value: 'typing.List[ModeSelect.Structs.ModeOptionStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class OnMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class StartUpMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Description(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class ShadeConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x0100 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="physicalClosedLimit", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="motorStepSize", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="status", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="closedLimit", Tag=0x00000010, Type=uint), |
| ClusterObjectFieldDescriptor(Label="mode", Tag=0x00000011, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| physicalClosedLimit: 'typing.Optional[uint]' = None |
| motorStepSize: 'typing.Optional[uint]' = None |
| status: 'uint' = None |
| closedLimit: 'uint' = None |
| mode: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class PhysicalClosedLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @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 MotorStepSize(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @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 Status(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @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 ClosedLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @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 Mode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @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 0x0100 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class DoorLock(Cluster): |
| id: typing.ClassVar[int] = 0x0101 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="lockState", Tag=0x00000000, Type=typing.Union[Nullable, DoorLock.Enums.DlLockState]), |
| ClusterObjectFieldDescriptor(Label="lockType", Tag=0x00000001, Type=DoorLock.Enums.DlLockType), |
| ClusterObjectFieldDescriptor(Label="actuatorEnabled", Tag=0x00000002, Type=bool), |
| ClusterObjectFieldDescriptor(Label="doorState", Tag=0x00000003, Type=typing.Union[None, Nullable, DoorLock.Enums.DlDoorState]), |
| 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="numberOfLogRecordsSupported", Tag=0x00000010, 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="enableLogging", Tag=0x00000020, Type=typing.Optional[bool]), |
| 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.DlOperatingMode), |
| 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="alarmMask", Tag=0x00000040, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="keypadOperationEventMask", Tag=0x00000041, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="remoteOperationEventMask", Tag=0x00000042, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="manualOperationEventMask", Tag=0x00000043, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="RFIDOperationEventMask", Tag=0x00000044, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="keypadProgrammingEventMask", Tag=0x00000045, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="remoteProgrammingEventMask", Tag=0x00000046, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="RFIDProgrammingEventMask", Tag=0x00000047, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[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.DlDoorState]' = None |
| doorOpenEvents: 'typing.Optional[uint]' = None |
| doorClosedEvents: 'typing.Optional[uint]' = None |
| openPeriod: 'typing.Optional[uint]' = None |
| numberOfLogRecordsSupported: '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 |
| enableLogging: 'typing.Optional[bool]' = None |
| language: 'typing.Optional[str]' = None |
| LEDSettings: 'typing.Optional[uint]' = None |
| autoRelockTime: 'uint' = None |
| soundVolume: 'typing.Optional[uint]' = None |
| operatingMode: 'DoorLock.Enums.DlOperatingMode' = 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 |
| alarmMask: 'typing.Optional[uint]' = None |
| keypadOperationEventMask: 'typing.Optional[uint]' = None |
| remoteOperationEventMask: 'typing.Optional[uint]' = None |
| manualOperationEventMask: 'typing.Optional[uint]' = None |
| RFIDOperationEventMask: 'typing.Optional[uint]' = None |
| keypadProgrammingEventMask: 'typing.Optional[uint]' = None |
| remoteProgrammingEventMask: 'typing.Optional[uint]' = None |
| RFIDProgrammingEventMask: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class DlAlarmCode(IntEnum): |
| kLockJammed = 0x00 |
| kLockFactoryReset = 0x01 |
| kLockRadioPowerCycled = 0x03 |
| kWrongCodeEntryLimit = 0x04 |
| kFrontEsceutcheonRemoved = 0x05 |
| kDoorForcedOpen = 0x06 |
| kDoorAjar = 0x07 |
| kForcedUser = 0x08 |
| |
| class DlCredentialRule(IntEnum): |
| kSingle = 0x00 |
| kDouble = 0x01 |
| kTri = 0x02 |
| |
| class DlCredentialType(IntEnum): |
| kProgrammingPIN = 0x00 |
| kPin = 0x01 |
| kRfid = 0x02 |
| kFingerprint = 0x03 |
| kFingerVein = 0x04 |
| kFace = 0x05 |
| |
| class DlDataOperationType(IntEnum): |
| kAdd = 0x00 |
| kClear = 0x01 |
| kModify = 0x02 |
| |
| class DlDoorLockStatus(IntEnum): |
| kDuplicate = 0x02 |
| kOccupied = 0x03 |
| |
| class DlDoorState(IntEnum): |
| kDoorOpen = 0x00 |
| kDoorClosed = 0x01 |
| kDoorJammed = 0x02 |
| kDoorForcedOpen = 0x03 |
| kDoorUnspecifiedError = 0x04 |
| kDoorAjar = 0x05 |
| |
| class DlLockDataType(IntEnum): |
| kUnspecified = 0x00 |
| kProgrammingCode = 0x01 |
| kUserIndex = 0x02 |
| kWeekDaySchedule = 0x03 |
| kYearDaySchedule = 0x04 |
| kHolidaySchedule = 0x05 |
| kPin = 0x06 |
| kRfid = 0x07 |
| kFingerprint = 0x08 |
| |
| class DlLockOperationType(IntEnum): |
| kLock = 0x00 |
| kUnlock = 0x01 |
| kNonAccessUserEvent = 0x02 |
| kForcedUserEvent = 0x03 |
| |
| class DlLockState(IntEnum): |
| kNotFullyLocked = 0x00 |
| kLocked = 0x01 |
| kUnlocked = 0x02 |
| |
| class DlLockType(IntEnum): |
| kDeadBolt = 0x00 |
| kMagnetic = 0x01 |
| kOther = 0x02 |
| kMortise = 0x03 |
| kRim = 0x04 |
| kLatchBolt = 0x05 |
| kCylindricalLock = 0x06 |
| kTubularLock = 0x07 |
| kInterconnectedLock = 0x08 |
| kDeadLatch = 0x09 |
| kDoorFurniture = 0x0A |
| |
| class DlOperatingMode(IntEnum): |
| kNormal = 0x00 |
| kVacation = 0x01 |
| kPrivacy = 0x02 |
| kNoRemoteLockUnlock = 0x03 |
| kPassage = 0x04 |
| |
| class DlOperationError(IntEnum): |
| kUnspecified = 0x00 |
| kInvalidCredential = 0x01 |
| kDisabledUserDenied = 0x02 |
| kRestricted = 0x03 |
| kInsufficientBattery = 0x04 |
| |
| class DlOperationSource(IntEnum): |
| kUnspecified = 0x00 |
| kManual = 0x01 |
| kProprietaryRemote = 0x02 |
| kKeypad = 0x03 |
| kAuto = 0x04 |
| kButton = 0x05 |
| kSchedule = 0x06 |
| kRemote = 0x07 |
| kRfid = 0x08 |
| kBiometric = 0x09 |
| |
| class DlStatus(IntEnum): |
| kSuccess = 0x00 |
| kFailure = 0x01 |
| kDuplicate = 0x02 |
| kOccupied = 0x03 |
| kInvalidField = 0x85 |
| kNotFound = 0x8B |
| |
| class DlUserStatus(IntEnum): |
| kAvailable = 0x00 |
| kOccupiedEnabled = 0x01 |
| kOccupiedDisabled = 0x03 |
| |
| class DlUserType(IntEnum): |
| kUnrestrictedUser = 0x00 |
| kYearDayScheduleUser = 0x01 |
| kWeekDayScheduleUser = 0x02 |
| kProgrammingUser = 0x03 |
| kNonAccessUser = 0x04 |
| kForcedUser = 0x05 |
| kDisposableUser = 0x06 |
| kExpiringUser = 0x07 |
| kScheduleRestrictedUser = 0x08 |
| kRemoteOnlyUser = 0x09 |
| |
| class DoorLockOperationEventCode(IntEnum): |
| 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 |
| |
| class DoorLockProgrammingEventCode(IntEnum): |
| kUnknownOrMfgSpecific = 0x00 |
| kMasterCodeChanged = 0x01 |
| kPinAdded = 0x02 |
| kPinDeleted = 0x03 |
| kPinChanged = 0x04 |
| kIdAdded = 0x05 |
| kIdDeleted = 0x06 |
| |
| class DoorLockSetPinOrIdStatus(IntEnum): |
| kSuccess = 0x00 |
| kGeneralFailure = 0x01 |
| kMemoryFull = 0x02 |
| kDuplicateCodeError = 0x03 |
| |
| class DoorLockUserStatus(IntEnum): |
| kAvailable = 0x00 |
| kOccupiedEnabled = 0x01 |
| kOccupiedDisabled = 0x03 |
| kNotSupported = 0xFF |
| |
| class DoorLockUserType(IntEnum): |
| kUnrestricted = 0x00 |
| kYearDayScheduleUser = 0x01 |
| kWeekDayScheduleUser = 0x02 |
| kMasterUser = 0x03 |
| kNonAccessUser = 0x04 |
| kNotSupported = 0xFF |
| |
| |
| class Structs: |
| @dataclass |
| class DlCredential(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="credentialType", Tag=1, Type=DoorLock.Enums.DlCredentialType), |
| ClusterObjectFieldDescriptor(Label="credentialIndex", Tag=2, Type=uint), |
| ]) |
| |
| credentialType: 'DoorLock.Enums.DlCredentialType' = 0 |
| credentialIndex: 'uint' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class LockDoor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="pinCode", Tag=0, Type=typing.Optional[bytes]), |
| ]) |
| |
| pinCode: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class UnlockDoor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="pinCode", Tag=0, Type=typing.Optional[bytes]), |
| ]) |
| |
| pinCode: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class UnlockWithTimeout(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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]), |
| ]) |
| |
| timeout: 'uint' = 0 |
| pinCode: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class GetLogRecord(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="logIndex", Tag=0, Type=uint), |
| ]) |
| |
| logIndex: 'uint' = 0 |
| |
| @dataclass |
| class GetLogRecordResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="logEntryId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="timestamp", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="eventType", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="source", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="eventIdOrAlarmCode", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userId", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="pin", Tag=6, Type=bytes), |
| ]) |
| |
| logEntryId: 'uint' = 0 |
| timestamp: 'uint' = 0 |
| eventType: 'uint' = 0 |
| source: 'uint' = 0 |
| eventIdOrAlarmCode: 'uint' = 0 |
| userId: 'uint' = 0 |
| pin: 'bytes' = b"" |
| |
| @dataclass |
| class SetPINCode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=DoorLock.Enums.DlUserStatus), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=DoorLock.Enums.DlUserType), |
| ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=bytes), |
| ]) |
| |
| userId: 'uint' = 0 |
| userStatus: 'DoorLock.Enums.DlUserStatus' = 0 |
| userType: 'DoorLock.Enums.DlUserType' = 0 |
| pin: 'bytes' = b"" |
| |
| @dataclass |
| class GetPINCode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ]) |
| |
| userId: 'uint' = 0 |
| |
| @dataclass |
| class GetPINCodeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]), |
| ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=typing.Union[Nullable, bytes]), |
| ]) |
| |
| userId: 'uint' = 0 |
| userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue |
| userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue |
| pin: 'typing.Union[Nullable, bytes]' = NullValue |
| |
| @dataclass |
| class ClearPINCode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="pinSlotIndex", Tag=0, Type=uint), |
| ]) |
| |
| pinSlotIndex: 'uint' = 0 |
| |
| @dataclass |
| class ClearAllPINCodes(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class SetUserStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=DoorLock.Enums.DlUserStatus), |
| ]) |
| |
| userId: 'uint' = 0 |
| userStatus: 'DoorLock.Enums.DlUserStatus' = 0 |
| |
| @dataclass |
| class GetUserStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ]) |
| |
| userId: 'uint' = 0 |
| |
| @dataclass |
| class GetUserStatusResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=DoorLock.Enums.DlUserStatus), |
| ]) |
| |
| userId: 'uint' = 0 |
| userStatus: 'DoorLock.Enums.DlUserStatus' = 0 |
| |
| @dataclass |
| class SetWeekDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000B |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="daysMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startHour", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startMinute", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endHour", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endMinute", Tag=6, Type=uint), |
| ]) |
| |
| weekDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| daysMask: 'uint' = 0 |
| startHour: 'uint' = 0 |
| startMinute: 'uint' = 0 |
| endHour: 'uint' = 0 |
| endMinute: 'uint' = 0 |
| |
| @dataclass |
| class GetWeekDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000C |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ]) |
| |
| weekDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class GetWeekDayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000C |
| is_client: typing.ClassVar[bool] = False |
| |
| @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=uint), |
| ClusterObjectFieldDescriptor(Label="startHour", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startMinute", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endHour", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endMinute", Tag=7, Type=uint), |
| ]) |
| |
| weekDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| status: 'DoorLock.Enums.DlStatus' = 0 |
| daysMask: 'uint' = 0 |
| startHour: 'uint' = 0 |
| startMinute: 'uint' = 0 |
| endHour: 'uint' = 0 |
| endMinute: 'uint' = 0 |
| |
| @dataclass |
| class ClearWeekDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000D |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ]) |
| |
| weekDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class SetYearDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000E |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=uint), |
| ]) |
| |
| yearDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| localStartTime: 'uint' = 0 |
| localEndTime: 'uint' = 0 |
| |
| @dataclass |
| class GetYearDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000F |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ]) |
| |
| yearDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class GetYearDayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000F |
| is_client: typing.ClassVar[bool] = False |
| |
| @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=uint), |
| ClusterObjectFieldDescriptor(Label="localEndTime", Tag=4, Type=uint), |
| ]) |
| |
| yearDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| status: 'DoorLock.Enums.DlStatus' = 0 |
| localStartTime: 'uint' = 0 |
| localEndTime: 'uint' = 0 |
| |
| @dataclass |
| class ClearYearDaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0010 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint), |
| ]) |
| |
| yearDayIndex: 'uint' = 0 |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class SetHolidaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0011 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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.DlOperatingMode), |
| ]) |
| |
| holidayIndex: 'uint' = 0 |
| localStartTime: 'uint' = 0 |
| localEndTime: 'uint' = 0 |
| operatingMode: 'DoorLock.Enums.DlOperatingMode' = 0 |
| |
| @dataclass |
| class GetHolidaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0012 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), |
| ]) |
| |
| holidayIndex: 'uint' = 0 |
| |
| @dataclass |
| class GetHolidayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0012 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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=uint), |
| ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="operatingMode", Tag=4, Type=DoorLock.Enums.DlOperatingMode), |
| ]) |
| |
| holidayIndex: 'uint' = 0 |
| status: 'DoorLock.Enums.DlStatus' = 0 |
| localStartTime: 'uint' = 0 |
| localEndTime: 'uint' = 0 |
| operatingMode: 'DoorLock.Enums.DlOperatingMode' = 0 |
| |
| @dataclass |
| class ClearHolidaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0013 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint), |
| ]) |
| |
| holidayIndex: 'uint' = 0 |
| |
| @dataclass |
| class SetUserType(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0014 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=1, Type=DoorLock.Enums.DlUserType), |
| ]) |
| |
| userId: 'uint' = 0 |
| userType: 'DoorLock.Enums.DlUserType' = 0 |
| |
| @dataclass |
| class GetUserType(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0015 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ]) |
| |
| userId: 'uint' = 0 |
| |
| @dataclass |
| class GetUserTypeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0015 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=1, Type=DoorLock.Enums.DlUserType), |
| ]) |
| |
| userId: 'uint' = 0 |
| userType: 'DoorLock.Enums.DlUserType' = 0 |
| |
| @dataclass |
| class SetRFIDCode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0016 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=DoorLock.Enums.DlUserStatus), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=DoorLock.Enums.DlUserType), |
| ClusterObjectFieldDescriptor(Label="rfidCode", Tag=3, Type=bytes), |
| ]) |
| |
| userId: 'uint' = 0 |
| userStatus: 'DoorLock.Enums.DlUserStatus' = 0 |
| userType: 'DoorLock.Enums.DlUserType' = 0 |
| rfidCode: 'bytes' = b"" |
| |
| @dataclass |
| class GetRFIDCode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0017 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ]) |
| |
| userId: 'uint' = 0 |
| |
| @dataclass |
| class GetRFIDCodeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0017 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userStatus", Tag=1, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=2, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]), |
| ClusterObjectFieldDescriptor(Label="rfidCode", Tag=3, Type=typing.Union[Nullable, bytes]), |
| ]) |
| |
| userId: 'uint' = 0 |
| userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue |
| userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue |
| rfidCode: 'typing.Union[Nullable, bytes]' = NullValue |
| |
| @dataclass |
| class ClearRFIDCode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0018 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="rfidSlotIndex", Tag=0, Type=uint), |
| ]) |
| |
| rfidSlotIndex: 'uint' = 0 |
| |
| @dataclass |
| class ClearAllRFIDCodes(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0019 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class SetUser(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x001A |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DlDataOperationType), |
| 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=DoorLock.Enums.DlUserStatus), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=DoorLock.Enums.DlUserType), |
| ClusterObjectFieldDescriptor(Label="credentialRule", Tag=6, Type=DoorLock.Enums.DlCredentialRule), |
| ]) |
| |
| operationType: 'DoorLock.Enums.DlDataOperationType' = 0 |
| userIndex: 'uint' = 0 |
| userName: 'typing.Union[Nullable, str]' = NullValue |
| userUniqueId: 'typing.Union[Nullable, uint]' = NullValue |
| userStatus: 'DoorLock.Enums.DlUserStatus' = 0 |
| userType: 'DoorLock.Enums.DlUserType' = 0 |
| credentialRule: 'DoorLock.Enums.DlCredentialRule' = 0 |
| |
| @dataclass |
| class GetUser(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x001B |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint), |
| ]) |
| |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class GetUserResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x001C |
| is_client: typing.ClassVar[bool] = False |
| |
| @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.DlUserStatus]), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]), |
| ClusterObjectFieldDescriptor(Label="credentialRule", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.DlCredentialRule]), |
| ClusterObjectFieldDescriptor(Label="credentials", Tag=6, Type=typing.Union[Nullable, typing.List[DoorLock.Structs.DlCredential]]), |
| 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=uint), |
| ]) |
| |
| userIndex: 'uint' = 0 |
| userName: 'typing.Union[Nullable, str]' = NullValue |
| userUniqueId: 'typing.Union[Nullable, uint]' = NullValue |
| userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue |
| userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue |
| credentialRule: 'typing.Union[Nullable, DoorLock.Enums.DlCredentialRule]' = NullValue |
| credentials: 'typing.Union[Nullable, typing.List[DoorLock.Structs.DlCredential]]' = NullValue |
| creatorFabricIndex: 'typing.Union[Nullable, uint]' = NullValue |
| lastModifiedFabricIndex: 'typing.Union[Nullable, uint]' = NullValue |
| nextUserIndex: 'uint' = 0 |
| |
| @dataclass |
| class ClearUser(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x001D |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint), |
| ]) |
| |
| userIndex: 'uint' = 0 |
| |
| @dataclass |
| class OperatingEventNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0020 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="operationEventSource", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="operationEventCode", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="localTime", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="data", Tag=5, Type=typing.Optional[str]), |
| ]) |
| |
| operationEventSource: 'uint' = 0 |
| operationEventCode: 'uint' = 0 |
| userId: 'uint' = 0 |
| pin: 'bytes' = b"" |
| localTime: 'uint' = 0 |
| data: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ProgrammingEventNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0021 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="programEventSource", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="programEventCode", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="pin", Tag=3, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="userType", Tag=4, Type=DoorLock.Enums.DlUserType), |
| ClusterObjectFieldDescriptor(Label="userStatus", Tag=5, Type=DoorLock.Enums.DlUserStatus), |
| ClusterObjectFieldDescriptor(Label="localTime", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor(Label="data", Tag=7, Type=typing.Optional[str]), |
| ]) |
| |
| programEventSource: 'uint' = 0 |
| programEventCode: 'uint' = 0 |
| userId: 'uint' = 0 |
| pin: 'bytes' = b"" |
| userType: 'DoorLock.Enums.DlUserType' = 0 |
| userStatus: 'DoorLock.Enums.DlUserStatus' = 0 |
| localTime: 'uint' = 0 |
| data: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class SetCredential(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0022 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DlDataOperationType), |
| ClusterObjectFieldDescriptor(Label="credential", Tag=1, Type=DoorLock.Structs.DlCredential), |
| ClusterObjectFieldDescriptor(Label="credentialData", Tag=2, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="userStatus", Tag=4, Type=DoorLock.Enums.DlUserStatus), |
| ]) |
| |
| operationType: 'DoorLock.Enums.DlDataOperationType' = 0 |
| credential: 'DoorLock.Structs.DlCredential' = field(default_factory=lambda: DoorLock.Structs.DlCredential()) |
| credentialData: 'bytes' = b"" |
| userIndex: 'uint' = 0 |
| userStatus: 'DoorLock.Enums.DlUserStatus' = 0 |
| |
| @dataclass |
| class SetCredentialResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0023 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DoorLock.Enums.DlStatus), |
| ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nextCredentialIndex", Tag=2, Type=typing.Union[Nullable, uint]), |
| ]) |
| |
| status: 'DoorLock.Enums.DlStatus' = 0 |
| userIndex: 'typing.Union[Nullable, uint]' = NullValue |
| nextCredentialIndex: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class GetCredentialStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0024 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=DoorLock.Structs.DlCredential), |
| ]) |
| |
| credential: 'DoorLock.Structs.DlCredential' = field(default_factory=lambda: DoorLock.Structs.DlCredential()) |
| |
| @dataclass |
| class GetCredentialStatusResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0025 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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="nextCredentialIndex", Tag=2, Type=typing.Union[Nullable, uint]), |
| ]) |
| |
| credentialExists: 'bool' = False |
| userIndex: 'typing.Union[Nullable, uint]' = NullValue |
| nextCredentialIndex: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class ClearCredential(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0026 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=DoorLock.Structs.DlCredential), |
| ]) |
| |
| credential: 'DoorLock.Structs.DlCredential' = field(default_factory=lambda: DoorLock.Structs.DlCredential()) |
| |
| |
| class Attributes: |
| @dataclass |
| class LockState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, DoorLock.Enums.DlLockState]) |
| |
| value: 'typing.Union[Nullable, DoorLock.Enums.DlLockState]' = NullValue |
| |
| @dataclass |
| class LockType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=DoorLock.Enums.DlLockType) |
| |
| value: 'DoorLock.Enums.DlLockType' = 0 |
| |
| @dataclass |
| class ActuatorEnabled(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class DoorState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, DoorLock.Enums.DlDoorState]) |
| |
| value: 'typing.Union[None, Nullable, DoorLock.Enums.DlDoorState]' = None |
| |
| @dataclass |
| class DoorOpenEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DoorClosedEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OpenPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfLogRecordsSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @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 NumberOfTotalUsersSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfPINUsersSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfRFIDUsersSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfWeekDaySchedulesSupportedPerUser(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfYearDaySchedulesSupportedPerUser(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfHolidaySchedulesSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MaxPINCodeLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MinPINCodeLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MaxRFIDCodeLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MinRFIDCodeLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CredentialRulesSupport(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EnableLogging(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class Language(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class LEDSettings(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AutoRelockTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SoundVolume(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OperatingMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=DoorLock.Enums.DlOperatingMode) |
| |
| value: 'DoorLock.Enums.DlOperatingMode' = 0 |
| |
| @dataclass |
| class SupportedOperatingModes(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000026 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class DefaultConfigurationRegister(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000027 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EnableLocalProgramming(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000028 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class EnableOneTouchLocking(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class EnableInsideStatusLED(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class EnablePrivacyModeButton(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class LocalProgrammingFeatures(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WrongCodeEntryLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class UserCodeTemporaryDisableTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SendPINOverTheAir(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class RequirePINforRemoteOperation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bool]) |
| |
| value: 'typing.Optional[bool]' = None |
| |
| @dataclass |
| class ExpiringUserTimeout(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000035 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000040 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class KeypadOperationEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @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 RemoteOperationEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000042 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ManualOperationEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000043 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RFIDOperationEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @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 KeypadProgrammingEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000045 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RemoteProgrammingEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000046 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RFIDProgrammingEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000047 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| class Events: |
| @dataclass |
| class DoorLockAlarm(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="alarmCode", Tag=0, Type=DoorLock.Enums.DlAlarmCode), |
| ]) |
| |
| alarmCode: 'DoorLock.Enums.DlAlarmCode' = 0 |
| |
| @dataclass |
| class DoorStateChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="doorState", Tag=0, Type=DoorLock.Enums.DlDoorState), |
| ]) |
| |
| doorState: 'DoorLock.Enums.DlDoorState' = 0 |
| |
| @dataclass |
| class LockOperation(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.DlLockOperationType), |
| ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.DlOperationSource), |
| 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.DlCredential]]), |
| ]) |
| |
| lockOperationType: 'DoorLock.Enums.DlLockOperationType' = 0 |
| operationSource: 'DoorLock.Enums.DlOperationSource' = 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.DlCredential]]' = None |
| |
| @dataclass |
| class LockOperationError(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.DlLockOperationType), |
| ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.DlOperationSource), |
| ClusterObjectFieldDescriptor(Label="operationError", Tag=2, Type=DoorLock.Enums.DlOperationError), |
| 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.DlCredential]]), |
| ]) |
| |
| lockOperationType: 'DoorLock.Enums.DlLockOperationType' = 0 |
| operationSource: 'DoorLock.Enums.DlOperationSource' = 0 |
| operationError: 'DoorLock.Enums.DlOperationError' = 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.DlCredential]]' = None |
| |
| @dataclass |
| class LockUserChange(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="lockDataType", Tag=0, Type=DoorLock.Enums.DlLockDataType), |
| ClusterObjectFieldDescriptor(Label="dataOperationType", Tag=1, Type=DoorLock.Enums.DlDataOperationType), |
| ClusterObjectFieldDescriptor(Label="operationSource", Tag=2, Type=DoorLock.Enums.DlOperationSource), |
| 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.DlLockDataType' = 0 |
| dataOperationType: 'DoorLock.Enums.DlDataOperationType' = 0 |
| operationSource: 'DoorLock.Enums.DlOperationSource' = 0 |
| userIndex: 'typing.Union[Nullable, uint]' = NullValue |
| fabricIndex: 'typing.Union[Nullable, uint]' = NullValue |
| sourceNode: 'typing.Union[Nullable, uint]' = NullValue |
| dataIndex: 'typing.Union[Nullable, uint]' = NullValue |
| |
| |
| @dataclass |
| class WindowCovering(Cluster): |
| id: typing.ClassVar[int] = 0x0102 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="type", Tag=0x00000000, Type=uint), |
| 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.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentPositionTilt", Tag=0x00000004, Type=typing.Optional[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=uint), |
| ClusterObjectFieldDescriptor(Label="currentPositionTiltPercentage", Tag=0x00000009, Type=uint), |
| ClusterObjectFieldDescriptor(Label="operationalStatus", Tag=0x0000000A, Type=uint), |
| ClusterObjectFieldDescriptor(Label="targetPositionLiftPercent100ths", Tag=0x0000000B, Type=uint), |
| ClusterObjectFieldDescriptor(Label="targetPositionTiltPercent100ths", Tag=0x0000000C, Type=uint), |
| ClusterObjectFieldDescriptor(Label="endProductType", Tag=0x0000000D, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentPositionLiftPercent100ths", Tag=0x0000000E, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentPositionTiltPercent100ths", Tag=0x0000000F, Type=uint), |
| ClusterObjectFieldDescriptor(Label="installedOpenLimitLift", Tag=0x00000010, Type=uint), |
| ClusterObjectFieldDescriptor(Label="installedClosedLimitLift", Tag=0x00000011, Type=uint), |
| ClusterObjectFieldDescriptor(Label="installedOpenLimitTilt", Tag=0x00000012, Type=uint), |
| ClusterObjectFieldDescriptor(Label="installedClosedLimitTilt", Tag=0x00000013, Type=uint), |
| ClusterObjectFieldDescriptor(Label="velocityLift", Tag=0x00000014, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="accelerationTimeLift", Tag=0x00000015, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="decelerationTimeLift", Tag=0x00000016, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="mode", Tag=0x00000017, Type=uint), |
| ClusterObjectFieldDescriptor(Label="intermediateSetpointsLift", Tag=0x00000018, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="intermediateSetpointsTilt", Tag=0x00000019, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="safetyStatus", Tag=0x0000001A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| type: 'uint' = None |
| physicalClosedLimitLift: 'typing.Optional[uint]' = None |
| physicalClosedLimitTilt: 'typing.Optional[uint]' = None |
| currentPositionLift: 'typing.Optional[uint]' = None |
| currentPositionTilt: 'typing.Optional[uint]' = None |
| numberOfActuationsLift: 'typing.Optional[uint]' = None |
| numberOfActuationsTilt: 'typing.Optional[uint]' = None |
| configStatus: 'uint' = None |
| currentPositionLiftPercentage: 'uint' = None |
| currentPositionTiltPercentage: 'uint' = None |
| operationalStatus: 'uint' = None |
| targetPositionLiftPercent100ths: 'uint' = None |
| targetPositionTiltPercent100ths: 'uint' = None |
| endProductType: 'uint' = None |
| currentPositionLiftPercent100ths: 'uint' = None |
| currentPositionTiltPercent100ths: 'uint' = None |
| installedOpenLimitLift: 'uint' = None |
| installedClosedLimitLift: 'uint' = None |
| installedOpenLimitTilt: 'uint' = None |
| installedClosedLimitTilt: 'uint' = None |
| velocityLift: 'typing.Optional[uint]' = None |
| accelerationTimeLift: 'typing.Optional[uint]' = None |
| decelerationTimeLift: 'typing.Optional[uint]' = None |
| mode: 'uint' = None |
| intermediateSetpointsLift: 'typing.Optional[bytes]' = None |
| intermediateSetpointsTilt: 'typing.Optional[bytes]' = None |
| safetyStatus: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class UpOrOpen(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class DownOrClose(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class StopMotion(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class GoToLiftValue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="liftValue", Tag=0, Type=uint), |
| ]) |
| |
| liftValue: 'uint' = 0 |
| |
| @dataclass |
| class GoToLiftPercentage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="liftPercentageValue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="liftPercent100thsValue", Tag=1, Type=uint), |
| ]) |
| |
| liftPercentageValue: 'uint' = 0 |
| liftPercent100thsValue: 'uint' = 0 |
| |
| @dataclass |
| class GoToTiltValue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="tiltValue", Tag=0, Type=uint), |
| ]) |
| |
| tiltValue: 'uint' = 0 |
| |
| @dataclass |
| class GoToTiltPercentage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="tiltPercentageValue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="tiltPercent100thsValue", Tag=1, Type=uint), |
| ]) |
| |
| tiltPercentageValue: 'uint' = 0 |
| tiltPercent100thsValue: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class Type(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class PhysicalClosedLimitLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PhysicalClosedLimitTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentPositionLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentPositionTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfActuationsLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfActuationsTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ConfigStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentPositionLiftPercentage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentPositionTiltPercentage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class OperationalStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TargetPositionLiftPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class TargetPositionTiltPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class EndProductType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentPositionLiftPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentPositionTiltPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class InstalledOpenLimitLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class InstalledClosedLimitLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class InstalledOpenLimitTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class InstalledClosedLimitTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class VelocityLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @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 AccelerationTimeLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @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 DecelerationTimeLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @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 Mode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class IntermediateSetpointsLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes]) |
| |
| value: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class IntermediateSetpointsTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes]) |
| |
| value: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class SafetyStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class BarrierControl(Cluster): |
| id: typing.ClassVar[int] = 0x0103 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="barrierMovingState", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="barrierSafetyStatus", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="barrierCapabilities", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="barrierOpenEvents", Tag=0x00000004, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierCloseEvents", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierCommandOpenEvents", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierCommandCloseEvents", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierOpenPeriod", Tag=0x00000008, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierClosePeriod", Tag=0x00000009, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="barrierPosition", Tag=0x0000000A, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[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 |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class BarrierControlGoToPercent(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0103 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="percentOpen", Tag=0, Type=uint), |
| ]) |
| |
| percentOpen: 'uint' = 0 |
| |
| @dataclass |
| class BarrierControlStop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0103 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class BarrierMovingState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class BarrierSafetyStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class BarrierCapabilities(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class BarrierOpenEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierCloseEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierCommandOpenEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierCommandCloseEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierOpenPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierClosePeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BarrierPosition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class PumpConfigurationAndControl(Cluster): |
| id: typing.ClassVar[int] = 0x0200 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="maxPressure", Tag=0x00000000, Type=int), |
| ClusterObjectFieldDescriptor(Label="maxSpeed", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="maxFlow", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="minConstPressure", Tag=0x00000003, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="maxConstPressure", Tag=0x00000004, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="minCompPressure", Tag=0x00000005, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="maxCompPressure", Tag=0x00000006, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="minConstSpeed", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="maxConstSpeed", Tag=0x00000008, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="minConstFlow", Tag=0x00000009, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="maxConstFlow", Tag=0x0000000A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="minConstTemp", Tag=0x0000000B, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="maxConstTemp", Tag=0x0000000C, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="pumpStatus", Tag=0x00000010, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="effectiveOperationMode", Tag=0x00000011, Type=uint), |
| ClusterObjectFieldDescriptor(Label="effectiveControlMode", Tag=0x00000012, Type=uint), |
| ClusterObjectFieldDescriptor(Label="capacity", Tag=0x00000013, Type=int), |
| ClusterObjectFieldDescriptor(Label="speed", Tag=0x00000014, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lifetimeRunningHours", Tag=0x00000015, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="power", Tag=0x00000016, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lifetimeEnergyConsumed", Tag=0x00000017, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="operationMode", Tag=0x00000020, Type=uint), |
| ClusterObjectFieldDescriptor(Label="controlMode", Tag=0x00000021, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="alarmMask", Tag=0x00000022, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| maxPressure: 'int' = None |
| maxSpeed: 'uint' = None |
| maxFlow: 'uint' = None |
| minConstPressure: 'typing.Optional[int]' = None |
| maxConstPressure: 'typing.Optional[int]' = None |
| minCompPressure: 'typing.Optional[int]' = None |
| maxCompPressure: 'typing.Optional[int]' = None |
| minConstSpeed: 'typing.Optional[uint]' = None |
| maxConstSpeed: 'typing.Optional[uint]' = None |
| minConstFlow: 'typing.Optional[uint]' = None |
| maxConstFlow: 'typing.Optional[uint]' = None |
| minConstTemp: 'typing.Optional[int]' = None |
| maxConstTemp: 'typing.Optional[int]' = None |
| pumpStatus: 'typing.Optional[uint]' = None |
| effectiveOperationMode: 'uint' = None |
| effectiveControlMode: 'uint' = None |
| capacity: 'int' = None |
| speed: 'typing.Optional[uint]' = None |
| lifetimeRunningHours: 'typing.Union[None, Nullable, uint]' = None |
| power: 'typing.Optional[uint]' = None |
| lifetimeEnergyConsumed: 'typing.Union[None, Nullable, uint]' = None |
| operationMode: 'uint' = None |
| controlMode: 'typing.Optional[uint]' = None |
| alarmMask: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class PumpControlMode(IntEnum): |
| kConstantSpeed = 0x00 |
| kConstantPressure = 0x01 |
| kProportionalPressure = 0x02 |
| kConstantFlow = 0x03 |
| kConstantTemperature = 0x05 |
| kAutomatic = 0x07 |
| |
| class PumpOperationMode(IntEnum): |
| kNormal = 0x00 |
| kMinimum = 0x01 |
| kMaximum = 0x02 |
| kLocal = 0x03 |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MaxPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class MaxSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class MaxFlow(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class MinConstPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MaxConstPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MinCompPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MaxCompPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MinConstSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MaxConstSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MinConstFlow(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MaxConstFlow(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MinConstTemp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MaxConstTemp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class PumpStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EffectiveOperationMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class EffectiveControlMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Capacity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Speed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LifetimeRunningHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class Power(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LifetimeEnergyConsumed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class OperationMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ControlMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| class Events: |
| @dataclass |
| class SupplyVoltageLow(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class SupplyVoltageHigh(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class PowerMissingPhase(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class SystemPressureLow(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class SystemPressureHigh(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class DryRunning(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class MotorTemperatureHigh(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class PumpMotorFatalFailure(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class ElectronicTemperatureHigh(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class PumpBlocked(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class SensorFailure(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class ElectronicNonFatalFailure(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class ElectronicFatalFailure(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class GeneralFault(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class Leakage(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class AirDetection(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class TurbineOperation(ClusterEvent): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def event_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| @dataclass |
| class Thermostat(Cluster): |
| id: typing.ClassVar[int] = 0x0201 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="localTemperature", Tag=0x00000000, Type=int), |
| ClusterObjectFieldDescriptor(Label="outdoorTemperature", Tag=0x00000001, Type=typing.Optional[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=int), |
| ClusterObjectFieldDescriptor(Label="occupiedHeatingSetpoint", Tag=0x00000012, Type=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=uint), |
| ClusterObjectFieldDescriptor(Label="systemMode", Tag=0x0000001C, Type=uint), |
| ClusterObjectFieldDescriptor(Label="alarmMask", Tag=0x0000001D, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="thermostatRunningMode", Tag=0x0000001E, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="startOfWeek", Tag=0x00000020, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfWeeklyTransitions", Tag=0x00000021, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="numberOfDailyTransitions", Tag=0x00000022, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="temperatureSetpointHold", Tag=0x00000023, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="temperatureSetpointHoldDuration", Tag=0x00000024, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="thermostatProgrammingOperationMode", Tag=0x00000025, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="thermostatRunningState", Tag=0x00000029, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="setpointChangeSource", Tag=0x00000030, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="setpointChangeAmount", Tag=0x00000031, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="setpointChangeSourceTimestamp", Tag=0x00000032, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acType", Tag=0x00000040, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acCapacity", Tag=0x00000041, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acRefrigerantType", Tag=0x00000042, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acCompressor", Tag=0x00000043, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acErrorCode", Tag=0x00000044, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acLouverPosition", Tag=0x00000045, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acCoilTemperature", Tag=0x00000046, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="acCapacityFormat", Tag=0x00000047, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| localTemperature: 'int' = None |
| outdoorTemperature: 'typing.Optional[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: 'int' = None |
| occupiedHeatingSetpoint: '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: 'uint' = None |
| systemMode: 'uint' = None |
| alarmMask: 'typing.Optional[uint]' = None |
| thermostatRunningMode: 'typing.Optional[uint]' = None |
| startOfWeek: 'typing.Optional[uint]' = None |
| numberOfWeeklyTransitions: 'typing.Optional[uint]' = None |
| numberOfDailyTransitions: 'typing.Optional[uint]' = None |
| temperatureSetpointHold: 'typing.Optional[uint]' = None |
| temperatureSetpointHoldDuration: 'typing.Optional[uint]' = None |
| thermostatProgrammingOperationMode: 'typing.Optional[uint]' = None |
| thermostatRunningState: 'typing.Optional[uint]' = None |
| setpointChangeSource: 'typing.Optional[uint]' = None |
| setpointChangeAmount: 'typing.Optional[int]' = None |
| setpointChangeSourceTimestamp: 'typing.Optional[uint]' = None |
| acType: 'typing.Optional[uint]' = None |
| acCapacity: 'typing.Optional[uint]' = None |
| acRefrigerantType: 'typing.Optional[uint]' = None |
| acCompressor: 'typing.Optional[uint]' = None |
| acErrorCode: 'typing.Optional[uint]' = None |
| acLouverPosition: 'typing.Optional[uint]' = None |
| acCoilTemperature: 'typing.Optional[int]' = None |
| acCapacityFormat: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class SetpointAdjustMode(IntEnum): |
| kHeatSetpoint = 0x00 |
| kCoolSetpoint = 0x01 |
| kHeatAndCoolSetpoints = 0x02 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class SetpointRaiseLower(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=Thermostat.Enums.SetpointAdjustMode), |
| ClusterObjectFieldDescriptor(Label="amount", Tag=1, Type=int), |
| ]) |
| |
| mode: 'Thermostat.Enums.SetpointAdjustMode' = 0 |
| amount: 'int' = 0 |
| |
| @dataclass |
| class GetWeeklyScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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="payload", Tag=3, Type=typing.List[uint]), |
| ]) |
| |
| numberOfTransitionsForSequence: 'uint' = 0 |
| dayOfWeekForSequence: 'uint' = 0 |
| modeForSequence: 'uint' = 0 |
| payload: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class SetWeeklySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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="payload", Tag=3, Type=typing.List[uint]), |
| ]) |
| |
| numberOfTransitionsForSequence: 'uint' = 0 |
| dayOfWeekForSequence: 'uint' = 0 |
| modeForSequence: 'uint' = 0 |
| payload: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetRelayStatusLogResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="timeOfDay", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="relayStatus", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="localTemperature", Tag=2, Type=int), |
| ClusterObjectFieldDescriptor(Label="humidityInPercentage", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="setpoint", Tag=4, Type=int), |
| ClusterObjectFieldDescriptor(Label="unreadEntries", Tag=5, Type=uint), |
| ]) |
| |
| timeOfDay: 'uint' = 0 |
| relayStatus: 'uint' = 0 |
| localTemperature: 'int' = 0 |
| humidityInPercentage: 'uint' = 0 |
| setpoint: 'int' = 0 |
| unreadEntries: 'uint' = 0 |
| |
| @dataclass |
| class GetWeeklySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="daysToReturn", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="modeToReturn", Tag=1, Type=uint), |
| ]) |
| |
| daysToReturn: 'uint' = 0 |
| modeToReturn: 'uint' = 0 |
| |
| @dataclass |
| class ClearWeeklySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class GetRelayStatusLog(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class LocalTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class OutdoorTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Occupancy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AbsMinHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AbsMaxHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AbsMinCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AbsMaxCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class PiCoolingDemand(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PiHeatingDemand(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class HvacSystemTypeConfiguration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LocalTemperatureCalibration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class OccupiedCoolingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class OccupiedHeatingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class UnoccupiedCoolingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class UnoccupiedHeatingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MinHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MaxHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MinCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MaxCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MinSetpointDeadBand(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RemoteSensing(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ControlSequenceOfOperation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class SystemMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @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 ThermostatRunningMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class StartOfWeek(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfWeeklyTransitions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NumberOfDailyTransitions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TemperatureSetpointHold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TemperatureSetpointHoldDuration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ThermostatProgrammingOperationMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ThermostatRunningState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SetpointChangeSource(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SetpointChangeAmount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class SetpointChangeSourceTimestamp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000040 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcCapacity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000041 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcRefrigerantType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000042 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcCompressor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000043 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcErrorCode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000044 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcLouverPosition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000045 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcCoilTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000046 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AcCapacityFormat(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000047 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class FanControl(Cluster): |
| id: typing.ClassVar[int] = 0x0202 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="fanMode", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="fanModeSequence", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| fanMode: 'uint' = None |
| fanModeSequence: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class FanMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class FanModeSequence(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class DehumidificationControl(Cluster): |
| id: typing.ClassVar[int] = 0x0203 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="relativeHumidity", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dehumidificationCooling", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="rhDehumidificationSetpoint", Tag=0x00000010, Type=uint), |
| ClusterObjectFieldDescriptor(Label="relativeHumidityMode", Tag=0x00000011, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dehumidificationLockout", Tag=0x00000012, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dehumidificationHysteresis", Tag=0x00000013, Type=uint), |
| ClusterObjectFieldDescriptor(Label="dehumidificationMaxCool", Tag=0x00000014, Type=uint), |
| ClusterObjectFieldDescriptor(Label="relativeHumidityDisplay", Tag=0x00000015, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| relativeHumidity: 'typing.Optional[uint]' = None |
| dehumidificationCooling: 'uint' = None |
| rhDehumidificationSetpoint: 'uint' = None |
| relativeHumidityMode: 'typing.Optional[uint]' = None |
| dehumidificationLockout: 'typing.Optional[uint]' = None |
| dehumidificationHysteresis: 'uint' = None |
| dehumidificationMaxCool: 'uint' = None |
| relativeHumidityDisplay: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class RelativeHumidity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @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 DehumidificationCooling(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @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 RhDehumidificationSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @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 RelativeHumidityMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @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 DehumidificationLockout(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @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 DehumidificationHysteresis(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class DehumidificationMaxCool(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class RelativeHumidityDisplay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @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 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class ThermostatUserInterfaceConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x0204 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="temperatureDisplayMode", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="keypadLockout", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="scheduleProgrammingVisibility", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| temperatureDisplayMode: 'uint' = None |
| keypadLockout: 'uint' = None |
| scheduleProgrammingVisibility: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class TemperatureDisplayMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class KeypadLockout(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ScheduleProgrammingVisibility(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class ColorControl(Cluster): |
| id: typing.ClassVar[int] = 0x0300 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="currentHue", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentSaturation", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="remainingTime", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentX", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentY", Tag=0x00000004, Type=uint), |
| ClusterObjectFieldDescriptor(Label="driftCompensation", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="compensationText", Tag=0x00000006, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="colorTemperature", Tag=0x00000007, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorMode", Tag=0x00000008, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorControlOptions", Tag=0x0000000F, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numberOfPrimaries", Tag=0x00000010, Type=typing.Optional[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.Optional[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.Optional[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.Optional[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.Optional[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.Optional[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.Optional[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.Optional[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.Optional[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.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="enhancedCurrentHue", Tag=0x00004000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="enhancedColorMode", Tag=0x00004001, Type=typing.Optional[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=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorTempPhysicalMin", Tag=0x0000400B, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="colorTempPhysicalMax", Tag=0x0000400C, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="coupleColorTempToLevelMinMireds", Tag=0x0000400D, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startUpColorTemperatureMireds", Tag=0x00004010, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| currentHue: 'typing.Optional[uint]' = None |
| currentSaturation: 'typing.Optional[uint]' = None |
| remainingTime: 'typing.Optional[uint]' = None |
| currentX: 'uint' = None |
| currentY: 'uint' = None |
| driftCompensation: 'typing.Optional[uint]' = None |
| compensationText: 'typing.Optional[str]' = None |
| colorTemperature: 'typing.Optional[uint]' = None |
| colorMode: 'typing.Optional[uint]' = None |
| colorControlOptions: 'uint' = None |
| numberOfPrimaries: 'typing.Optional[uint]' = None |
| primary1X: 'typing.Optional[uint]' = None |
| primary1Y: 'typing.Optional[uint]' = None |
| primary1Intensity: 'typing.Optional[uint]' = None |
| primary2X: 'typing.Optional[uint]' = None |
| primary2Y: 'typing.Optional[uint]' = None |
| primary2Intensity: 'typing.Optional[uint]' = None |
| primary3X: 'typing.Optional[uint]' = None |
| primary3Y: 'typing.Optional[uint]' = None |
| primary3Intensity: 'typing.Optional[uint]' = None |
| primary4X: 'typing.Optional[uint]' = None |
| primary4Y: 'typing.Optional[uint]' = None |
| primary4Intensity: 'typing.Optional[uint]' = None |
| primary5X: 'typing.Optional[uint]' = None |
| primary5Y: 'typing.Optional[uint]' = None |
| primary5Intensity: 'typing.Optional[uint]' = None |
| primary6X: 'typing.Optional[uint]' = None |
| primary6Y: 'typing.Optional[uint]' = None |
| primary6Intensity: 'typing.Optional[uint]' = None |
| whitePointX: 'typing.Optional[uint]' = None |
| whitePointY: 'typing.Optional[uint]' = None |
| colorPointRX: 'typing.Optional[uint]' = None |
| colorPointRY: 'typing.Optional[uint]' = None |
| colorPointRIntensity: 'typing.Optional[uint]' = None |
| colorPointGX: 'typing.Optional[uint]' = None |
| colorPointGY: 'typing.Optional[uint]' = None |
| colorPointGIntensity: 'typing.Optional[uint]' = None |
| colorPointBX: 'typing.Optional[uint]' = None |
| colorPointBY: 'typing.Optional[uint]' = None |
| colorPointBIntensity: 'typing.Optional[uint]' = None |
| enhancedCurrentHue: 'typing.Optional[uint]' = None |
| enhancedColorMode: 'typing.Optional[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: 'typing.Optional[uint]' = None |
| colorTempPhysicalMin: 'typing.Optional[uint]' = None |
| colorTempPhysicalMax: 'typing.Optional[uint]' = None |
| coupleColorTempToLevelMinMireds: 'uint' = None |
| startUpColorTemperatureMireds: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ColorLoopAction(IntEnum): |
| kDeactivate = 0x00 |
| kActivateFromColorLoopStartEnhancedHue = 0x01 |
| kActivateFromEnhancedCurrentHue = 0x02 |
| |
| class ColorLoopDirection(IntEnum): |
| kDecrementHue = 0x00 |
| kIncrementHue = 0x01 |
| |
| class ColorMode(IntEnum): |
| kCurrentHueAndCurrentSaturation = 0x00 |
| kCurrentXAndCurrentY = 0x01 |
| kColorTemperature = 0x02 |
| |
| class HueDirection(IntEnum): |
| kShortestDistance = 0x00 |
| kLongestDistance = 0x01 |
| kUp = 0x02 |
| kDown = 0x03 |
| |
| class HueMoveMode(IntEnum): |
| kStop = 0x00 |
| kUp = 0x01 |
| kDown = 0x03 |
| |
| class HueStepMode(IntEnum): |
| kUp = 0x01 |
| kDown = 0x03 |
| |
| class SaturationMoveMode(IntEnum): |
| kStop = 0x00 |
| kUp = 0x01 |
| kDown = 0x03 |
| |
| class SaturationStepMode(IntEnum): |
| kUp = 0x01 |
| kDown = 0x03 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class MoveToHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="hue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="direction", Tag=1, Type=ColorControl.Enums.HueDirection), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| hue: 'uint' = 0 |
| direction: 'ColorControl.Enums.HueDirection' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), |
| ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'ColorControl.Enums.HueMoveMode' = 0 |
| rate: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StepHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), |
| ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'ColorControl.Enums.HueStepMode' = 0 |
| stepSize: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveToSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="saturation", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| saturation: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.SaturationMoveMode), |
| ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'ColorControl.Enums.SaturationMoveMode' = 0 |
| rate: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StepSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.SaturationStepMode), |
| ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'ColorControl.Enums.SaturationStepMode' = 0 |
| stepSize: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveToHueAndSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="hue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="saturation", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| hue: 'uint' = 0 |
| saturation: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveToColor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="colorX", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="colorY", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| colorX: 'uint' = 0 |
| colorY: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveColor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="rateX", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor(Label="rateY", Tag=1, Type=int), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| rateX: 'int' = 0 |
| rateY: 'int' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StepColor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="stepX", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor(Label="stepY", Tag=1, Type=int), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepX: 'int' = 0 |
| stepY: 'int' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveToColorTemperature(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="colorTemperature", 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), |
| ]) |
| |
| colorTemperature: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedMoveToHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0040 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="enhancedHue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="direction", Tag=1, Type=ColorControl.Enums.HueDirection), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| enhancedHue: 'uint' = 0 |
| direction: 'ColorControl.Enums.HueDirection' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedMoveHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0041 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), |
| ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'ColorControl.Enums.HueMoveMode' = 0 |
| rate: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedStepHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0042 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), |
| ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'ColorControl.Enums.HueStepMode' = 0 |
| stepSize: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class EnhancedMoveToHueAndSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0043 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="enhancedHue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="saturation", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| enhancedHue: 'uint' = 0 |
| saturation: 'uint' = 0 |
| transitionTime: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class ColorLoopSet(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0044 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="updateFlags", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="action", Tag=1, Type=ColorControl.Enums.ColorLoopAction), |
| ClusterObjectFieldDescriptor(Label="direction", Tag=2, Type=ColorControl.Enums.ColorLoopDirection), |
| ClusterObjectFieldDescriptor(Label="time", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startHue", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint), |
| ]) |
| |
| updateFlags: 'uint' = 0 |
| action: 'ColorControl.Enums.ColorLoopAction' = 0 |
| direction: 'ColorControl.Enums.ColorLoopDirection' = 0 |
| time: 'uint' = 0 |
| startHue: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StopMoveStep(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0047 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint), |
| ]) |
| |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class MoveColorTemperature(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x004B |
| is_client: typing.ClassVar[bool] = True |
| |
| @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="colorTemperatureMinimum", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="colorTemperatureMaximum", 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 |
| colorTemperatureMinimum: 'uint' = 0 |
| colorTemperatureMaximum: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| @dataclass |
| class StepColorTemperature(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x004C |
| is_client: typing.ClassVar[bool] = True |
| |
| @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="colorTemperatureMinimum", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="colorTemperatureMaximum", 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 |
| colorTemperatureMinimum: 'uint' = 0 |
| colorTemperatureMaximum: 'uint' = 0 |
| optionsMask: 'uint' = 0 |
| optionsOverride: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class CurrentHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentSaturation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RemainingTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CurrentX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class CurrentY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class DriftCompensation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CompensationText(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class ColorTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorControlOptions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class NumberOfPrimaries(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary1X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary1Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary1Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary2X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary2Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary2Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary3X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary3Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary3Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary4X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary4Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary4Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary5X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary5Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary5Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000026 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary6X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000028 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary6Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Primary6Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000002A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WhitePointX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class WhitePointY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointRX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointRY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointRIntensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointGX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000036 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointGY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000037 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointGIntensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000038 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointBX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointBY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorPointBIntensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000003C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EnhancedCurrentHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class EnhancedColorMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorLoopActive(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorLoopDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorLoopTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorLoopStartEnhancedHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorLoopStoredEnhancedHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorCapabilities(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorTempPhysicalMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ColorTempPhysicalMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class CoupleColorTempToLevelMinMireds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000400D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class StartUpColorTemperatureMireds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00004010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class BallastConfiguration(Cluster): |
| id: typing.ClassVar[int] = 0x0301 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="physicalMinLevel", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="physicalMaxLevel", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ballastStatus", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="minLevel", Tag=0x00000010, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="maxLevel", Tag=0x00000011, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerOnLevel", Tag=0x00000012, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerOnFadeTime", Tag=0x00000013, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="intrinsicBallastFactor", Tag=0x00000014, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="ballastFactorAdjustment", Tag=0x00000015, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lampQuality", Tag=0x00000020, Type=typing.Optional[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.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lampBurnHours", Tag=0x00000033, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lampAlarmMode", Tag=0x00000034, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lampBurnHoursTripPoint", Tag=0x00000035, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| physicalMinLevel: 'typing.Optional[uint]' = None |
| physicalMaxLevel: 'typing.Optional[uint]' = None |
| ballastStatus: 'uint' = None |
| minLevel: 'typing.Optional[uint]' = None |
| maxLevel: 'typing.Optional[uint]' = None |
| powerOnLevel: 'typing.Optional[uint]' = None |
| powerOnFadeTime: 'typing.Optional[uint]' = None |
| intrinsicBallastFactor: 'typing.Optional[uint]' = None |
| ballastFactorAdjustment: 'typing.Optional[uint]' = None |
| lampQuality: 'typing.Optional[uint]' = None |
| lampType: 'typing.Optional[str]' = None |
| lampManufacturer: 'typing.Optional[str]' = None |
| lampRatedHours: 'typing.Optional[uint]' = None |
| lampBurnHours: 'typing.Optional[uint]' = None |
| lampAlarmMode: 'typing.Optional[uint]' = None |
| lampBurnHoursTripPoint: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class PhysicalMinLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PhysicalMaxLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BallastStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class MinLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class MaxLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PowerOnLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @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 PowerOnFadeTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @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 IntrinsicBallastFactor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class BallastFactorAdjustment(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LampQuality(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LampType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class LampManufacturer(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class LampRatedHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LampBurnHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LampAlarmMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LampBurnHoursTripPoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000035 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class IlluminanceMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0400 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lightSensorType", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'typing.Union[Nullable, uint]' = None |
| minMeasuredValue: 'typing.Union[Nullable, uint]' = None |
| maxMeasuredValue: 'typing.Union[Nullable, uint]' = None |
| tolerance: 'typing.Optional[uint]' = None |
| lightSensorType: 'typing.Union[None, Nullable, uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class LightSensorType(IntEnum): |
| kPhotodiode = 0x00 |
| kCmos = 0x01 |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint]) |
| |
| value: 'typing.Union[Nullable, uint]' = NullValue |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LightSensorType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint]) |
| |
| value: 'typing.Union[None, Nullable, uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class TemperatureMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0402 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=int), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=int), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=int), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'int' = None |
| minMeasuredValue: 'int' = None |
| maxMeasuredValue: 'int' = None |
| tolerance: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class PressureMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0403 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=int), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=int), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=int), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="scaledValue", Tag=0x00000010, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="minScaledValue", Tag=0x00000011, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="maxScaledValue", Tag=0x00000012, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="scaledTolerance", Tag=0x00000013, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="scale", Tag=0x00000014, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'int' = None |
| minMeasuredValue: 'int' = None |
| maxMeasuredValue: 'int' = None |
| tolerance: 'typing.Optional[uint]' = None |
| scaledValue: 'typing.Optional[int]' = None |
| minScaledValue: 'typing.Optional[int]' = None |
| maxScaledValue: 'typing.Optional[int]' = None |
| scaledTolerance: 'typing.Optional[uint]' = None |
| scale: 'typing.Optional[int]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ScaledValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MinScaledValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MaxScaledValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ScaledTolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Scale(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class FlowMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0404 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=int), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=int), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=int), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'int' = None |
| minMeasuredValue: 'int' = None |
| maxMeasuredValue: 'int' = None |
| tolerance: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| value: 'int' = 0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class RelativeHumidityMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0405 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'uint' = None |
| minMeasuredValue: 'uint' = None |
| maxMeasuredValue: 'uint' = None |
| tolerance: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class OccupancySensing(Cluster): |
| id: typing.ClassVar[int] = 0x0406 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="occupancy", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="occupancySensorType", Tag=0x00000001, Type=uint), |
| 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="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| occupancy: 'uint' = None |
| occupancySensorType: 'uint' = 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 |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class Occupancy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class OccupancySensorType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class OccupancySensorTypeBitmap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class PirOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PirUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PirUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class UltrasonicOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class UltrasonicUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class UltrasonicUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PhysicalContactOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PhysicalContactUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PhysicalContactUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class CarbonMonoxideConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x040C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @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 0x040C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @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] = 0x040D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @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 0x040D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @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 EthyleneConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x040E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @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 0x040E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @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 EthyleneOxideConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x040F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @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 0x040F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @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 HydrogenConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0410 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @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 0x0410 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @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 HydrogenSulphideConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0411 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @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 0x0411 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @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 NitricOxideConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0412 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @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 0x0412 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @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] = 0x0413 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @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 0x0413 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @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 OxygenConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0414 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @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 0x0414 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @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] = 0x0415 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @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 0x0415 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @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 SulfurDioxideConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0416 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @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 0x0416 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @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 DissolvedOxygenConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0417 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @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 0x0417 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @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 BromateConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0418 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @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 0x0418 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @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 ChloraminesConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0419 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @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 0x0419 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @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 ChlorineConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x041A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @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 0x041A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @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 FecalColiformAndEColiConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x041B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @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 0x041B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @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 FluorideConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x041C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @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 0x041C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @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 HaloaceticAcidsConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x041D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @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 0x041D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @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 TotalTrihalomethanesConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x041E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @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 0x041E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @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 TotalColiformBacteriaConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x041F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @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 0x041F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @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 TurbidityConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0420 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @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 0x0420 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @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 CopperConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0421 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @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 0x0421 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @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 LeadConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0422 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @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 0x0422 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @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 ManganeseConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0423 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @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 0x0423 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @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 SulfateConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0424 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @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 0x0424 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @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 BromodichloromethaneConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0425 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @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 0x0425 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @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 BromoformConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0426 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @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 0x0426 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @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 ChlorodibromomethaneConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0427 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @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 0x0427 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @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 ChloroformConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0428 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @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 0x0428 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @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 SodiumConcentrationMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0429 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float), |
| ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float), |
| ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float), |
| ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| measuredValue: 'float' = None |
| minMeasuredValue: 'float' = None |
| maxMeasuredValue: 'float' = None |
| tolerance: 'typing.Optional[float]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @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 0x0429 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @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 IasZone(Cluster): |
| id: typing.ClassVar[int] = 0x0500 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="zoneState", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneType", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneStatus", Tag=0x00000002, Type=uint), |
| ClusterObjectFieldDescriptor(Label="iasCieAddress", Tag=0x00000010, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneId", Tag=0x00000011, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numberOfZoneSensitivityLevelsSupported", Tag=0x00000012, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="currentZoneSensitivityLevel", Tag=0x00000013, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| zoneState: 'uint' = None |
| zoneType: 'uint' = None |
| zoneStatus: 'uint' = None |
| iasCieAddress: 'uint' = None |
| zoneId: 'uint' = None |
| numberOfZoneSensitivityLevelsSupported: 'typing.Optional[uint]' = None |
| currentZoneSensitivityLevel: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class IasEnrollResponseCode(IntEnum): |
| kSuccess = 0x00 |
| kNotSupported = 0x01 |
| kNoEnrollPermit = 0x02 |
| kTooManyZones = 0x03 |
| |
| class IasZoneType(IntEnum): |
| kStandardCie = 0x00 |
| kMotionSensor = 0x0D |
| kContactSwitch = 0x15 |
| kFireSensor = 0x28 |
| kWaterSensor = 0x2A |
| kGasSensor = 0x2B |
| kPersonalEmergencyDevice = 0x2C |
| kVibrationMovementSensor = 0x2D |
| kRemoteControl = 0x10F |
| kKeyFob = 0x115 |
| kKeypad = 0x21D |
| kStandardWarningDevice = 0x225 |
| kGlassBreakSensor = 0x226 |
| kCarbonMonoxideSensor = 0x227 |
| kSecurityRepeater = 0x229 |
| kInvalidZoneType = 0xFFFF |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ZoneEnrollResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="enrollResponseCode", Tag=0, Type=IasZone.Enums.IasEnrollResponseCode), |
| ClusterObjectFieldDescriptor(Label="zoneId", Tag=1, Type=uint), |
| ]) |
| |
| enrollResponseCode: 'IasZone.Enums.IasEnrollResponseCode' = 0 |
| zoneId: 'uint' = 0 |
| |
| @dataclass |
| class ZoneStatusChangeNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="zoneStatus", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="extendedStatus", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="delay", Tag=3, Type=uint), |
| ]) |
| |
| zoneStatus: 'uint' = 0 |
| extendedStatus: 'uint' = 0 |
| zoneId: 'uint' = 0 |
| delay: 'uint' = 0 |
| |
| @dataclass |
| class InitiateNormalOperationMode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class ZoneEnrollRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="zoneType", Tag=0, Type=IasZone.Enums.IasZoneType), |
| ClusterObjectFieldDescriptor(Label="manufacturerCode", Tag=1, Type=uint), |
| ]) |
| |
| zoneType: 'IasZone.Enums.IasZoneType' = 0 |
| manufacturerCode: 'uint' = 0 |
| |
| @dataclass |
| class InitiateTestMode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="testModeDuration", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="currentZoneSensitivityLevel", Tag=1, Type=uint), |
| ]) |
| |
| testModeDuration: 'uint' = 0 |
| currentZoneSensitivityLevel: 'uint' = 0 |
| |
| @dataclass |
| class InitiateNormalOperationModeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class InitiateTestModeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class ZoneState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @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 ZoneType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @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 ZoneStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @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 IasCieAddress(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @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 ZoneId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @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 NumberOfZoneSensitivityLevelsSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @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 CurrentZoneSensitivityLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @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 0x0500 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @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 IasAce(Cluster): |
| id: typing.ClassVar[int] = 0x0501 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class IasAceAlarmStatus(IntEnum): |
| kNoAlarm = 0x00 |
| kBurglar = 0x01 |
| kFire = 0x02 |
| kEmergency = 0x03 |
| kPolicePanic = 0x04 |
| kFirePanic = 0x05 |
| kEmergencyPanic = 0x06 |
| |
| class IasAceArmMode(IntEnum): |
| kDisarm = 0x00 |
| kArmDayHomeZonesOnly = 0x01 |
| kArmNightSleepZonesOnly = 0x02 |
| kArmAllZones = 0x03 |
| |
| class IasAceArmNotification(IntEnum): |
| kAllZonesDisarmed = 0x00 |
| kOnlyDayHomeZonesArmed = 0x01 |
| kOnlyNightSleepZonesArmed = 0x02 |
| kAllZonesArmed = 0x03 |
| kInvalidArmDisarmCode = 0x04 |
| kNotReadyToArm = 0x05 |
| kAlreadyDisarmed = 0x06 |
| |
| class IasAceAudibleNotification(IntEnum): |
| kMute = 0x00 |
| kDefaultSound = 0x01 |
| |
| class IasAceBypassResult(IntEnum): |
| kZoneBypassed = 0x00 |
| kZoneNotBypassed = 0x01 |
| kNotAllowed = 0x02 |
| kInvalidZoneId = 0x03 |
| kUnknownZoneId = 0x04 |
| kInvalidArmDisarmCode = 0x05 |
| |
| class IasAcePanelStatus(IntEnum): |
| kPanelDisarmed = 0x00 |
| kArmedStay = 0x01 |
| kArmedNight = 0x02 |
| kArmedAway = 0x03 |
| kExitDelay = 0x04 |
| kEntryDelay = 0x05 |
| kNotReadyToArm = 0x06 |
| kInAlarm = 0x07 |
| kArmingStay = 0x08 |
| kArmingNight = 0x09 |
| kArmingAway = 0x0A |
| |
| class IasZoneType(IntEnum): |
| kStandardCie = 0x00 |
| kMotionSensor = 0x0D |
| kContactSwitch = 0x15 |
| kFireSensor = 0x28 |
| kWaterSensor = 0x2A |
| kGasSensor = 0x2B |
| kPersonalEmergencyDevice = 0x2C |
| kVibrationMovementSensor = 0x2D |
| kRemoteControl = 0x10F |
| kKeyFob = 0x115 |
| kKeypad = 0x21D |
| kStandardWarningDevice = 0x225 |
| kGlassBreakSensor = 0x226 |
| kCarbonMonoxideSensor = 0x227 |
| kSecurityRepeater = 0x229 |
| kInvalidZoneType = 0xFFFF |
| |
| |
| class Structs: |
| @dataclass |
| class IasAceZoneStatusResult(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="zoneId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneStatus", Tag=2, Type=uint), |
| ]) |
| |
| zoneId: 'uint' = 0 |
| zoneStatus: 'uint' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class Arm(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="armMode", Tag=0, Type=IasAce.Enums.IasAceArmMode), |
| ClusterObjectFieldDescriptor(Label="armDisarmCode", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="zoneId", Tag=2, Type=uint), |
| ]) |
| |
| armMode: 'IasAce.Enums.IasAceArmMode' = 0 |
| armDisarmCode: 'str' = "" |
| zoneId: 'uint' = 0 |
| |
| @dataclass |
| class ArmResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="armNotification", Tag=0, Type=IasAce.Enums.IasAceArmNotification), |
| ]) |
| |
| armNotification: 'IasAce.Enums.IasAceArmNotification' = 0 |
| |
| @dataclass |
| class Bypass(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="numberOfZones", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneIds", Tag=1, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="armDisarmCode", Tag=2, Type=str), |
| ]) |
| |
| numberOfZones: 'uint' = 0 |
| zoneIds: 'typing.List[uint]' = field(default_factory=lambda: []) |
| armDisarmCode: 'str' = "" |
| |
| @dataclass |
| class GetZoneIdMapResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="section0", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section1", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section2", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section3", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section4", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section5", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section6", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section7", Tag=7, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section8", Tag=8, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section9", Tag=9, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section10", Tag=10, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section11", Tag=11, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section12", Tag=12, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section13", Tag=13, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section14", Tag=14, Type=uint), |
| ClusterObjectFieldDescriptor(Label="section15", Tag=15, Type=uint), |
| ]) |
| |
| section0: 'uint' = 0 |
| section1: 'uint' = 0 |
| section2: 'uint' = 0 |
| section3: 'uint' = 0 |
| section4: 'uint' = 0 |
| section5: 'uint' = 0 |
| section6: 'uint' = 0 |
| section7: 'uint' = 0 |
| section8: 'uint' = 0 |
| section9: 'uint' = 0 |
| section10: 'uint' = 0 |
| section11: 'uint' = 0 |
| section12: 'uint' = 0 |
| section13: 'uint' = 0 |
| section14: 'uint' = 0 |
| section15: 'uint' = 0 |
| |
| @dataclass |
| class Emergency(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class GetZoneInformationResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="zoneId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneType", Tag=1, Type=IasAce.Enums.IasZoneType), |
| ClusterObjectFieldDescriptor(Label="ieeeAddress", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneLabel", Tag=3, Type=str), |
| ]) |
| |
| zoneId: 'uint' = 0 |
| zoneType: 'IasAce.Enums.IasZoneType' = 0 |
| ieeeAddress: 'uint' = 0 |
| zoneLabel: 'str' = "" |
| |
| @dataclass |
| class Fire(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class ZoneStatusChanged(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="zoneId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneStatus", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), |
| ClusterObjectFieldDescriptor(Label="zoneLabel", Tag=3, Type=str), |
| ]) |
| |
| zoneId: 'uint' = 0 |
| zoneStatus: 'uint' = 0 |
| audibleNotification: 'IasAce.Enums.IasAceAudibleNotification' = 0 |
| zoneLabel: 'str' = "" |
| |
| @dataclass |
| class Panic(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class PanelStatusChanged(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="panelStatus", Tag=0, Type=IasAce.Enums.IasAcePanelStatus), |
| ClusterObjectFieldDescriptor(Label="secondsRemaining", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), |
| ClusterObjectFieldDescriptor(Label="alarmStatus", Tag=3, Type=IasAce.Enums.IasAceAlarmStatus), |
| ]) |
| |
| panelStatus: 'IasAce.Enums.IasAcePanelStatus' = 0 |
| secondsRemaining: 'uint' = 0 |
| audibleNotification: 'IasAce.Enums.IasAceAudibleNotification' = 0 |
| alarmStatus: 'IasAce.Enums.IasAceAlarmStatus' = 0 |
| |
| @dataclass |
| class GetZoneIdMap(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class GetPanelStatusResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="panelStatus", Tag=0, Type=IasAce.Enums.IasAcePanelStatus), |
| ClusterObjectFieldDescriptor(Label="secondsRemaining", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), |
| ClusterObjectFieldDescriptor(Label="alarmStatus", Tag=3, Type=IasAce.Enums.IasAceAlarmStatus), |
| ]) |
| |
| panelStatus: 'IasAce.Enums.IasAcePanelStatus' = 0 |
| secondsRemaining: 'uint' = 0 |
| audibleNotification: 'IasAce.Enums.IasAceAudibleNotification' = 0 |
| alarmStatus: 'IasAce.Enums.IasAceAlarmStatus' = 0 |
| |
| @dataclass |
| class GetZoneInformation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="zoneId", Tag=0, Type=uint), |
| ]) |
| |
| zoneId: 'uint' = 0 |
| |
| @dataclass |
| class SetBypassedZoneList(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="numberOfZones", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneIds", Tag=1, Type=typing.List[uint]), |
| ]) |
| |
| numberOfZones: 'uint' = 0 |
| zoneIds: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetPanelStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class BypassResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="numberOfZones", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="bypassResult", Tag=1, Type=typing.List[IasAce.Enums.IasAceBypassResult]), |
| ]) |
| |
| numberOfZones: 'uint' = 0 |
| bypassResult: 'typing.List[IasAce.Enums.IasAceBypassResult]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetBypassedZoneList(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class GetZoneStatusResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="zoneStatusComplete", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor(Label="numberOfZones", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneStatusResult", Tag=2, Type=typing.List[IasAce.Structs.IasAceZoneStatusResult]), |
| ]) |
| |
| zoneStatusComplete: 'bool' = False |
| numberOfZones: 'uint' = 0 |
| zoneStatusResult: 'typing.List[IasAce.Structs.IasAceZoneStatusResult]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetZoneStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="startingZoneId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="maxNumberOfZoneIds", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="zoneStatusMaskFlag", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor(Label="zoneStatusMask", Tag=3, Type=uint), |
| ]) |
| |
| startingZoneId: 'uint' = 0 |
| maxNumberOfZoneIds: 'uint' = 0 |
| zoneStatusMaskFlag: 'bool' = False |
| zoneStatusMask: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0501 |
| |
| @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 0x0501 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0501 |
| |
| @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 IasWd(Cluster): |
| id: typing.ClassVar[int] = 0x0502 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="maxDuration", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| maxDuration: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class StartWarning(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0502 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="warningInfo", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="warningDuration", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="strobeDutyCycle", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="strobeLevel", Tag=3, Type=uint), |
| ]) |
| |
| warningInfo: 'uint' = 0 |
| warningDuration: 'uint' = 0 |
| strobeDutyCycle: 'uint' = 0 |
| strobeLevel: 'uint' = 0 |
| |
| @dataclass |
| class Squawk(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0502 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="squawkInfo", Tag=0, Type=uint), |
| ]) |
| |
| squawkInfo: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class MaxDuration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0502 |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0502 |
| |
| @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 0x0502 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0502 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class WakeOnLan(Cluster): |
| id: typing.ClassVar[int] = 0x0503 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="wakeOnLanMacAddress", Tag=0x00000000, Type=str), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| wakeOnLanMacAddress: 'str' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class WakeOnLanMacAddress(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class Channel(Cluster): |
| id: typing.ClassVar[int] = 0x0504 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="channelList", Tag=0x00000000, Type=typing.List[Channel.Structs.ChannelInfo]), |
| ClusterObjectFieldDescriptor(Label="channelLineup", Tag=0x00000001, Type=Channel.Structs.ChannelLineupInfo), |
| ClusterObjectFieldDescriptor(Label="currentChannel", Tag=0x00000002, Type=Channel.Structs.ChannelInfo), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| channelList: 'typing.List[Channel.Structs.ChannelInfo]' = None |
| channelLineup: 'Channel.Structs.ChannelLineupInfo' = None |
| currentChannel: 'Channel.Structs.ChannelInfo' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ChannelErrorType(IntEnum): |
| kMultipleMatches = 0x00 |
| kNoMatches = 0x01 |
| |
| class ChannelLineupInfoType(IntEnum): |
| kMso = 0x00 |
| |
| |
| class Structs: |
| @dataclass |
| class ChannelInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="majorNumber", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="minorNumber", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor(Label="callSign", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor(Label="affiliateCallSign", Tag=5, Type=str), |
| ]) |
| |
| majorNumber: 'uint' = 0 |
| minorNumber: 'uint' = 0 |
| name: 'str' = "" |
| callSign: 'str' = "" |
| affiliateCallSign: 'str' = "" |
| |
| @dataclass |
| class ChannelLineupInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="operatorName", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="lineupName", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor(Label="postalCode", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor(Label="lineupInfoType", Tag=4, Type=Channel.Enums.ChannelLineupInfoType), |
| ]) |
| |
| operatorName: 'str' = "" |
| lineupName: 'str' = "" |
| postalCode: 'str' = "" |
| lineupInfoType: 'Channel.Enums.ChannelLineupInfoType' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ChangeChannel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="match", Tag=0, Type=str), |
| ]) |
| |
| match: 'str' = "" |
| |
| @dataclass |
| class ChangeChannelResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="channelMatch", Tag=0, Type=Channel.Structs.ChannelInfo), |
| ClusterObjectFieldDescriptor(Label="errorType", Tag=1, Type=Channel.Enums.ChannelErrorType), |
| ]) |
| |
| channelMatch: 'Channel.Structs.ChannelInfo' = field(default_factory=lambda: Channel.Structs.ChannelInfo()) |
| errorType: 'Channel.Enums.ChannelErrorType' = 0 |
| |
| @dataclass |
| class ChangeChannelByNumber(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint), |
| ]) |
| |
| majorNumber: 'uint' = 0 |
| minorNumber: 'uint' = 0 |
| |
| @dataclass |
| class SkipChannel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="count", Tag=0, Type=uint), |
| ]) |
| |
| count: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class ChannelList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[Channel.Structs.ChannelInfo]) |
| |
| value: 'typing.List[Channel.Structs.ChannelInfo]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ChannelLineup(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=Channel.Structs.ChannelLineupInfo) |
| |
| value: 'Channel.Structs.ChannelLineupInfo' = field(default_factory=lambda: Channel.Structs.ChannelLineupInfo()) |
| |
| @dataclass |
| class CurrentChannel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=Channel.Structs.ChannelInfo) |
| |
| value: 'Channel.Structs.ChannelInfo' = field(default_factory=lambda: Channel.Structs.ChannelInfo()) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class TargetNavigator(Cluster): |
| id: typing.ClassVar[int] = 0x0505 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="targetNavigatorList", Tag=0x00000000, Type=typing.List[TargetNavigator.Structs.NavigateTargetTargetInfo]), |
| ClusterObjectFieldDescriptor(Label="currentNavigatorTarget", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| targetNavigatorList: 'typing.List[TargetNavigator.Structs.NavigateTargetTargetInfo]' = None |
| currentNavigatorTarget: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class NavigateTargetStatus(IntEnum): |
| kSuccess = 0x00 |
| kAppNotAvailable = 0x01 |
| kSystemBusy = 0x02 |
| |
| |
| class Structs: |
| @dataclass |
| class NavigateTargetTargetInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="identifier", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str), |
| ]) |
| |
| identifier: 'uint' = 0 |
| name: 'str' = "" |
| |
| |
| |
| class Commands: |
| @dataclass |
| class NavigateTarget(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0505 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="target", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), |
| ]) |
| |
| target: 'uint' = 0 |
| data: 'str' = "" |
| |
| @dataclass |
| class NavigateTargetResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0505 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=TargetNavigator.Enums.NavigateTargetStatus), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), |
| ]) |
| |
| status: 'TargetNavigator.Enums.NavigateTargetStatus' = 0 |
| data: 'str' = "" |
| |
| |
| class Attributes: |
| @dataclass |
| class TargetNavigatorList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[TargetNavigator.Structs.NavigateTargetTargetInfo]) |
| |
| value: 'typing.List[TargetNavigator.Structs.NavigateTargetTargetInfo]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class CurrentNavigatorTarget(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class MediaPlayback(Cluster): |
| id: typing.ClassVar[int] = 0x0506 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="playbackState", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="startTime", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="duration", Tag=0x00000002, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="position", Tag=0x00000003, Type=MediaPlayback.Structs.MediaPlaybackPosition), |
| ClusterObjectFieldDescriptor(Label="playbackSpeed", Tag=0x00000004, Type=typing.Optional[float]), |
| ClusterObjectFieldDescriptor(Label="seekRangeEnd", Tag=0x00000005, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="seekRangeStart", Tag=0x00000006, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| playbackState: 'typing.Optional[uint]' = None |
| startTime: 'typing.Optional[uint]' = None |
| duration: 'typing.Optional[uint]' = None |
| position: 'MediaPlayback.Structs.MediaPlaybackPosition' = None |
| playbackSpeed: 'typing.Optional[float]' = None |
| seekRangeEnd: 'typing.Optional[uint]' = None |
| seekRangeStart: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class MediaPlaybackState(IntEnum): |
| kPlaying = 0x00 |
| kPaused = 0x01 |
| kNotPlaying = 0x02 |
| kBuffering = 0x03 |
| |
| class MediaPlaybackStatus(IntEnum): |
| kSuccess = 0x00 |
| kInvalidStateForCommand = 0x01 |
| kNotAllowed = 0x02 |
| kNotActive = 0x03 |
| kSpeedOutOfRange = 0x04 |
| kSeekOutOfRange = 0x05 |
| |
| |
| class Structs: |
| @dataclass |
| class MediaPlaybackPosition(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="updatedAt", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="position", Tag=2, Type=uint), |
| ]) |
| |
| updatedAt: 'uint' = 0 |
| position: 'uint' = 0 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class MediaPlay(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class MediaPlayResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 0 |
| |
| @dataclass |
| class MediaPause(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class MediaPauseResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 0 |
| |
| @dataclass |
| class MediaStop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class MediaStopResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 0 |
| |
| @dataclass |
| class MediaStartOver(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class MediaStartOverResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 0 |
| |
| @dataclass |
| class MediaPrevious(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class MediaPreviousResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 0 |
| |
| @dataclass |
| class MediaNext(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class MediaNextResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 0 |
| |
| @dataclass |
| class MediaRewind(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class MediaRewindResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 0 |
| |
| @dataclass |
| class MediaFastForward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class MediaFastForwardResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 0 |
| |
| @dataclass |
| class MediaSkipForward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint), |
| ]) |
| |
| deltaPositionMilliseconds: 'uint' = 0 |
| |
| @dataclass |
| class MediaSkipForwardResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 0 |
| |
| @dataclass |
| class MediaSkipBackward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint), |
| ]) |
| |
| deltaPositionMilliseconds: 'uint' = 0 |
| |
| @dataclass |
| class MediaSkipBackwardResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 0 |
| |
| @dataclass |
| class MediaSeek(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="position", Tag=0, Type=uint), |
| ]) |
| |
| position: 'uint' = 0 |
| |
| @dataclass |
| class MediaSeekResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x000B |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class PlaybackState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class StartTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Duration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Position(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=MediaPlayback.Structs.MediaPlaybackPosition) |
| |
| value: 'MediaPlayback.Structs.MediaPlaybackPosition' = field(default_factory=lambda: MediaPlayback.Structs.MediaPlaybackPosition()) |
| |
| @dataclass |
| class PlaybackSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[float]) |
| |
| value: 'typing.Optional[float]' = None |
| |
| @dataclass |
| class SeekRangeEnd(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class SeekRangeStart(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class MediaInput(Cluster): |
| id: typing.ClassVar[int] = 0x0507 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="mediaInputList", Tag=0x00000000, Type=typing.List[MediaInput.Structs.MediaInputInfo]), |
| ClusterObjectFieldDescriptor(Label="currentMediaInput", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| mediaInputList: 'typing.List[MediaInput.Structs.MediaInputInfo]' = None |
| currentMediaInput: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class MediaInputType(IntEnum): |
| kInternal = 0x00 |
| kAux = 0x01 |
| kCoax = 0x02 |
| kComposite = 0x03 |
| kHdmi = 0x04 |
| kInput = 0x05 |
| kLine = 0x06 |
| kOptical = 0x07 |
| kVideo = 0x08 |
| kScart = 0x09 |
| kUsb = 0x0A |
| kOther = 0x0B |
| |
| |
| class Structs: |
| @dataclass |
| class MediaInputInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="index", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="inputType", Tag=2, Type=MediaInput.Enums.MediaInputType), |
| ClusterObjectFieldDescriptor(Label="name", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor(Label="description", Tag=4, Type=str), |
| ]) |
| |
| index: 'uint' = 0 |
| inputType: 'MediaInput.Enums.MediaInputType' = 0 |
| name: 'str' = "" |
| description: 'str' = "" |
| |
| |
| |
| class Commands: |
| @dataclass |
| class SelectInput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), |
| ]) |
| |
| index: 'uint' = 0 |
| |
| @dataclass |
| class ShowInputStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class HideInputStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class RenameInput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 MediaInputList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[MediaInput.Structs.MediaInputInfo]) |
| |
| value: 'typing.List[MediaInput.Structs.MediaInputInfo]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class CurrentMediaInput(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class LowPower(Cluster): |
| id: typing.ClassVar[int] = 0x0508 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class Sleep(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0508 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class KeypadInput(Cluster): |
| id: typing.ClassVar[int] = 0x0509 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class KeypadInputCecKeyCode(IntEnum): |
| 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 |
| |
| class KeypadInputStatus(IntEnum): |
| kSuccess = 0x00 |
| kUnsupportedKey = 0x01 |
| kInvalidKeyInCurrentState = 0x02 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class SendKey(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0509 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="keyCode", Tag=0, Type=KeypadInput.Enums.KeypadInputCecKeyCode), |
| ]) |
| |
| keyCode: 'KeypadInput.Enums.KeypadInputCecKeyCode' = 0 |
| |
| @dataclass |
| class SendKeyResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0509 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=KeypadInput.Enums.KeypadInputStatus), |
| ]) |
| |
| status: 'KeypadInput.Enums.KeypadInputStatus' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class ContentLauncher(Cluster): |
| id: typing.ClassVar[int] = 0x050A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="acceptHeaderList", Tag=0x00000000, Type=typing.List[str]), |
| ClusterObjectFieldDescriptor(Label="supportedStreamingProtocols", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| acceptHeaderList: 'typing.List[str]' = None |
| supportedStreamingProtocols: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ContentLaunchMetricType(IntEnum): |
| kPixels = 0x00 |
| kPercentage = 0x01 |
| |
| class ContentLaunchParameterEnum(IntEnum): |
| 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 |
| |
| class ContentLaunchStatus(IntEnum): |
| kSuccess = 0x00 |
| kUrlNotAvailable = 0x01 |
| kAuthFailed = 0x02 |
| |
| |
| class Structs: |
| @dataclass |
| class ContentLaunchDimension(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="width", Tag=1, Type=float), |
| ClusterObjectFieldDescriptor(Label="height", Tag=2, Type=float), |
| ClusterObjectFieldDescriptor(Label="metric", Tag=3, Type=ContentLauncher.Enums.ContentLaunchMetricType), |
| ]) |
| |
| width: 'float' = 0.0 |
| height: 'float' = 0.0 |
| metric: 'ContentLauncher.Enums.ContentLaunchMetricType' = 0 |
| |
| @dataclass |
| class ContentLaunchAdditionalInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="value", Tag=2, Type=str), |
| ]) |
| |
| name: 'str' = "" |
| value: 'str' = "" |
| |
| @dataclass |
| class ContentLaunchParamater(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="type", Tag=1, Type=ContentLauncher.Enums.ContentLaunchParameterEnum), |
| ClusterObjectFieldDescriptor(Label="value", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor(Label="externalIDList", Tag=3, Type=typing.List[ContentLauncher.Structs.ContentLaunchAdditionalInfo]), |
| ]) |
| |
| type: 'ContentLauncher.Enums.ContentLaunchParameterEnum' = 0 |
| value: 'str' = "" |
| externalIDList: 'typing.List[ContentLauncher.Structs.ContentLaunchAdditionalInfo]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ContentLaunchStyleInformation(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="imageUrl", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="color", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor(Label="size", Tag=3, Type=ContentLauncher.Structs.ContentLaunchDimension), |
| ]) |
| |
| imageUrl: 'str' = "" |
| color: 'str' = "" |
| size: 'ContentLauncher.Structs.ContentLaunchDimension' = field(default_factory=lambda: ContentLauncher.Structs.ContentLaunchDimension()) |
| |
| @dataclass |
| class ContentLaunchBrandingInformation(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="providerName", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="background", Tag=2, Type=ContentLauncher.Structs.ContentLaunchStyleInformation), |
| ClusterObjectFieldDescriptor(Label="logo", Tag=3, Type=ContentLauncher.Structs.ContentLaunchStyleInformation), |
| ClusterObjectFieldDescriptor(Label="progressBar", Tag=4, Type=ContentLauncher.Structs.ContentLaunchStyleInformation), |
| ClusterObjectFieldDescriptor(Label="splash", Tag=5, Type=ContentLauncher.Structs.ContentLaunchStyleInformation), |
| ClusterObjectFieldDescriptor(Label="waterMark", Tag=6, Type=ContentLauncher.Structs.ContentLaunchStyleInformation), |
| ]) |
| |
| providerName: 'str' = "" |
| background: 'ContentLauncher.Structs.ContentLaunchStyleInformation' = field(default_factory=lambda: ContentLauncher.Structs.ContentLaunchStyleInformation()) |
| logo: 'ContentLauncher.Structs.ContentLaunchStyleInformation' = field(default_factory=lambda: ContentLauncher.Structs.ContentLaunchStyleInformation()) |
| progressBar: 'ContentLauncher.Structs.ContentLaunchStyleInformation' = field(default_factory=lambda: ContentLauncher.Structs.ContentLaunchStyleInformation()) |
| splash: 'ContentLauncher.Structs.ContentLaunchStyleInformation' = field(default_factory=lambda: ContentLauncher.Structs.ContentLaunchStyleInformation()) |
| waterMark: 'ContentLauncher.Structs.ContentLaunchStyleInformation' = field(default_factory=lambda: ContentLauncher.Structs.ContentLaunchStyleInformation()) |
| |
| |
| |
| class Commands: |
| @dataclass |
| class LaunchContent(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="autoPlay", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="search", Tag=2, Type=typing.List[ContentLauncher.Structs.ContentLaunchParamater]), |
| ]) |
| |
| autoPlay: 'bool' = False |
| data: 'str' = "" |
| search: 'typing.List[ContentLauncher.Structs.ContentLaunchParamater]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class LaunchContentResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="contentLaunchStatus", Tag=0, Type=ContentLauncher.Enums.ContentLaunchStatus), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), |
| ]) |
| |
| contentLaunchStatus: 'ContentLauncher.Enums.ContentLaunchStatus' = 0 |
| data: 'str' = "" |
| |
| @dataclass |
| class LaunchURL(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="contentURL", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="displayString", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor(Label="brandingInformation", Tag=2, Type=typing.List[ContentLauncher.Structs.ContentLaunchBrandingInformation]), |
| ]) |
| |
| contentURL: 'str' = "" |
| displayString: 'str' = "" |
| brandingInformation: 'typing.List[ContentLauncher.Structs.ContentLaunchBrandingInformation]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class LaunchURLResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="contentLaunchStatus", Tag=0, Type=ContentLauncher.Enums.ContentLaunchStatus), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), |
| ]) |
| |
| contentLaunchStatus: 'ContentLauncher.Enums.ContentLaunchStatus' = 0 |
| data: 'str' = "" |
| |
| |
| class Attributes: |
| @dataclass |
| class AcceptHeaderList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[str]) |
| |
| value: 'typing.List[str]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class SupportedStreamingProtocols(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class AudioOutput(Cluster): |
| id: typing.ClassVar[int] = 0x050B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="audioOutputList", Tag=0x00000000, Type=typing.List[AudioOutput.Structs.AudioOutputInfo]), |
| ClusterObjectFieldDescriptor(Label="currentAudioOutput", Tag=0x00000001, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| audioOutputList: 'typing.List[AudioOutput.Structs.AudioOutputInfo]' = None |
| currentAudioOutput: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class AudioOutputType(IntEnum): |
| kHdmi = 0x00 |
| kBt = 0x01 |
| kOptical = 0x02 |
| kHeadphone = 0x03 |
| kInternal = 0x04 |
| kOther = 0x05 |
| |
| |
| class Structs: |
| @dataclass |
| class AudioOutputInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="index", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="outputType", Tag=2, Type=AudioOutput.Enums.AudioOutputType), |
| ClusterObjectFieldDescriptor(Label="name", Tag=3, Type=str), |
| ]) |
| |
| index: 'uint' = 0 |
| outputType: 'AudioOutput.Enums.AudioOutputType' = 0 |
| name: 'str' = "" |
| |
| |
| |
| class Commands: |
| @dataclass |
| class SelectOutput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050B |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint), |
| ]) |
| |
| index: 'uint' = 0 |
| |
| @dataclass |
| class RenameOutput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050B |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 AudioOutputList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[AudioOutput.Structs.AudioOutputInfo]) |
| |
| value: 'typing.List[AudioOutput.Structs.AudioOutputInfo]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class CurrentAudioOutput(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class ApplicationLauncher(Cluster): |
| id: typing.ClassVar[int] = 0x050C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="applicationLauncherList", Tag=0x00000000, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="applicationLauncherApp", Tag=0x00000001, Type=ApplicationLauncher.Structs.ApplicationLauncherEndpoint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| applicationLauncherList: 'typing.List[uint]' = None |
| applicationLauncherApp: 'ApplicationLauncher.Structs.ApplicationLauncherEndpoint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ApplicationLauncherStatus(IntEnum): |
| kSuccess = 0x00 |
| kAppNotAvailable = 0x01 |
| kSystemBusy = 0x02 |
| |
| |
| class Structs: |
| @dataclass |
| class ApplicationLauncherApp(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="catalogVendorId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="applicationId", Tag=2, Type=str), |
| ]) |
| |
| catalogVendorId: 'uint' = 0 |
| applicationId: 'str' = "" |
| |
| @dataclass |
| class ApplicationLauncherEndpoint(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="application", Tag=1, Type=ApplicationLauncher.Structs.ApplicationLauncherApp), |
| ClusterObjectFieldDescriptor(Label="endpoint", Tag=2, Type=str), |
| ]) |
| |
| application: 'ApplicationLauncher.Structs.ApplicationLauncherApp' = field(default_factory=lambda: ApplicationLauncher.Structs.ApplicationLauncherApp()) |
| endpoint: 'str' = "" |
| |
| |
| |
| class Commands: |
| @dataclass |
| class LaunchApp(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="data", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="application", Tag=1, Type=ApplicationLauncher.Structs.ApplicationLauncherApp), |
| ]) |
| |
| data: 'str' = "" |
| application: 'ApplicationLauncher.Structs.ApplicationLauncherApp' = field(default_factory=lambda: ApplicationLauncher.Structs.ApplicationLauncherApp()) |
| |
| @dataclass |
| class LaunchAppResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ApplicationLauncher.Enums.ApplicationLauncherStatus), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), |
| ]) |
| |
| status: 'ApplicationLauncher.Enums.ApplicationLauncherStatus' = 0 |
| data: 'str' = "" |
| |
| @dataclass |
| class StopApp(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.ApplicationLauncherApp), |
| ]) |
| |
| application: 'ApplicationLauncher.Structs.ApplicationLauncherApp' = field(default_factory=lambda: ApplicationLauncher.Structs.ApplicationLauncherApp()) |
| |
| @dataclass |
| class StopAppResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ApplicationLauncher.Enums.ApplicationLauncherStatus), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), |
| ]) |
| |
| status: 'ApplicationLauncher.Enums.ApplicationLauncherStatus' = 0 |
| data: 'str' = "" |
| |
| @dataclass |
| class HideApp(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.ApplicationLauncherApp), |
| ]) |
| |
| application: 'ApplicationLauncher.Structs.ApplicationLauncherApp' = field(default_factory=lambda: ApplicationLauncher.Structs.ApplicationLauncherApp()) |
| |
| @dataclass |
| class HideAppResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ApplicationLauncher.Enums.ApplicationLauncherStatus), |
| ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=str), |
| ]) |
| |
| status: 'ApplicationLauncher.Enums.ApplicationLauncherStatus' = 0 |
| data: 'str' = "" |
| |
| |
| class Attributes: |
| @dataclass |
| class ApplicationLauncherList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class ApplicationLauncherApp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ApplicationLauncher.Structs.ApplicationLauncherEndpoint) |
| |
| value: 'ApplicationLauncher.Structs.ApplicationLauncherEndpoint' = field(default_factory=lambda: ApplicationLauncher.Structs.ApplicationLauncherEndpoint()) |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class ApplicationBasic(Cluster): |
| id: typing.ClassVar[int] = 0x050D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000000, Type=str), |
| ClusterObjectFieldDescriptor(Label="vendorId", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="applicationName", Tag=0x00000002, Type=str), |
| ClusterObjectFieldDescriptor(Label="productId", Tag=0x00000003, Type=uint), |
| ClusterObjectFieldDescriptor(Label="applicationApp", Tag=0x00000004, Type=ApplicationBasic.Structs.ApplicationBasicApp), |
| ClusterObjectFieldDescriptor(Label="applicationStatus", Tag=0x00000005, Type=uint), |
| ClusterObjectFieldDescriptor(Label="applicationVersion", Tag=0x00000006, Type=str), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| vendorName: 'str' = None |
| vendorId: 'uint' = None |
| applicationName: 'str' = None |
| productId: 'uint' = None |
| applicationApp: 'ApplicationBasic.Structs.ApplicationBasicApp' = None |
| applicationStatus: 'uint' = None |
| applicationVersion: 'str' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class ApplicationBasicStatus(IntEnum): |
| kStopped = 0x00 |
| kActiveVisibleFocus = 0x01 |
| kActiveHidden = 0x02 |
| kActiveVisibleNotFocus = 0x03 |
| |
| |
| class Structs: |
| @dataclass |
| class ApplicationBasicApp(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="catalogVendorId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="applicationId", Tag=2, Type=str), |
| ]) |
| |
| catalogVendorId: 'uint' = 0 |
| applicationId: 'str' = "" |
| |
| |
| |
| class Commands: |
| @dataclass |
| class ChangeStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050D |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ApplicationBasic.Enums.ApplicationBasicStatus), |
| ]) |
| |
| status: 'ApplicationBasic.Enums.ApplicationBasicStatus' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class VendorName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class VendorId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ApplicationName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class ProductId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ApplicationApp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ApplicationBasic.Structs.ApplicationBasicApp) |
| |
| value: 'ApplicationBasic.Structs.ApplicationBasicApp' = field(default_factory=lambda: ApplicationBasic.Structs.ApplicationBasicApp()) |
| |
| @dataclass |
| class ApplicationStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| @dataclass |
| class ApplicationVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class AccountLogin(Cluster): |
| id: typing.ClassVar[int] = 0x050E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class GetSetupPIN(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050E |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str), |
| ]) |
| |
| tempAccountIdentifier: 'str' = "" |
| |
| @dataclass |
| class GetSetupPINResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050E |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="setupPIN", Tag=0, Type=str), |
| ]) |
| |
| setupPIN: 'str' = "" |
| |
| @dataclass |
| class Login(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050E |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor(Label="setupPIN", Tag=1, Type=str), |
| ]) |
| |
| tempAccountIdentifier: 'str' = "" |
| setupPIN: 'str' = "" |
| |
| @dataclass |
| class Logout(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050E |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class TestCluster(Cluster): |
| id: typing.ClassVar[int] = 0x050F |
| |
| @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=float), |
| 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[TestCluster.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[TestCluster.Structs.NullablesAndOptionalsStruct]), |
| ClusterObjectFieldDescriptor(Label="enumAttr", Tag=0x00000024, Type=TestCluster.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="structAttr", Tag=0x00000025, Type=TestCluster.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="timedWriteBoolean", Tag=0x00000030, Type=bool), |
| ClusterObjectFieldDescriptor(Label="unsupported", Tag=0x000000FF, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nullableBoolean", Tag=0x00008000, Type=typing.Union[Nullable, bool]), |
| ClusterObjectFieldDescriptor(Label="nullableBitmap8", Tag=0x00008001, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableBitmap16", Tag=0x00008002, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableBitmap32", Tag=0x00008003, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableBitmap64", Tag=0x00008004, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt8u", Tag=0x00008005, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt16u", Tag=0x00008006, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt24u", Tag=0x00008007, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt32u", Tag=0x00008008, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt40u", Tag=0x00008009, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt48u", Tag=0x0000800A, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt56u", Tag=0x0000800B, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt64u", Tag=0x0000800C, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableInt8s", Tag=0x0000800D, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt16s", Tag=0x0000800E, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt24s", Tag=0x0000800F, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt32s", Tag=0x00008010, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt40s", Tag=0x00008011, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt48s", Tag=0x00008012, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt56s", Tag=0x00008013, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableInt64s", Tag=0x00008014, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableEnum8", Tag=0x00008015, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableEnum16", Tag=0x00008016, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableFloatSingle", Tag=0x00008017, Type=typing.Union[Nullable, float]), |
| ClusterObjectFieldDescriptor(Label="nullableFloatDouble", Tag=0x00008018, Type=typing.Union[Nullable, float]), |
| ClusterObjectFieldDescriptor(Label="nullableOctetString", Tag=0x00008019, Type=typing.Union[Nullable, bytes]), |
| ClusterObjectFieldDescriptor(Label="nullableCharString", Tag=0x0000801E, Type=typing.Union[Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="nullableEnumAttr", Tag=0x00008024, Type=typing.Union[Nullable, TestCluster.Enums.SimpleEnum]), |
| ClusterObjectFieldDescriptor(Label="nullableStruct", Tag=0x00008025, Type=typing.Union[Nullable, TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableRangeRestrictedInt8u", Tag=0x00008026, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableRangeRestrictedInt8s", Tag=0x00008027, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="nullableRangeRestrictedInt16u", Tag=0x00008028, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableRangeRestrictedInt16s", Tag=0x00008029, Type=typing.Union[Nullable, int]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[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: 'float' = None |
| floatDouble: 'float' = None |
| octetString: 'bytes' = None |
| listInt8u: 'typing.List[uint]' = None |
| listOctetString: 'typing.List[bytes]' = None |
| listStructOctetString: 'typing.List[TestCluster.Structs.TestListStructOctet]' = None |
| longOctetString: 'bytes' = None |
| charString: 'str' = None |
| longCharString: 'str' = None |
| epochUs: 'uint' = None |
| epochS: 'uint' = None |
| vendorId: 'uint' = None |
| listNullablesAndOptionalsStruct: 'typing.List[TestCluster.Structs.NullablesAndOptionalsStruct]' = None |
| enumAttr: 'TestCluster.Enums.SimpleEnum' = None |
| structAttr: 'TestCluster.Structs.SimpleStruct' = None |
| rangeRestrictedInt8u: 'uint' = None |
| rangeRestrictedInt8s: 'int' = None |
| rangeRestrictedInt16u: 'uint' = None |
| rangeRestrictedInt16s: 'int' = None |
| listLongOctetString: 'typing.List[bytes]' = None |
| timedWriteBoolean: 'bool' = None |
| unsupported: '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, float]' = None |
| nullableFloatDouble: 'typing.Union[Nullable, float]' = None |
| nullableOctetString: 'typing.Union[Nullable, bytes]' = None |
| nullableCharString: 'typing.Union[Nullable, str]' = None |
| nullableEnumAttr: 'typing.Union[Nullable, TestCluster.Enums.SimpleEnum]' = None |
| nullableStruct: 'typing.Union[Nullable, TestCluster.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 |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class SimpleEnum(IntEnum): |
| kUnspecified = 0x00 |
| kValueA = 0x01 |
| kValueB = 0x02 |
| kValueC = 0x03 |
| |
| |
| class Structs: |
| @dataclass |
| class SimpleStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="a", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="b", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor(Label="c", Tag=3, Type=TestCluster.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="d", Tag=4, Type=bytes), |
| ClusterObjectFieldDescriptor(Label="e", Tag=5, Type=str), |
| ClusterObjectFieldDescriptor(Label="f", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor(Label="g", Tag=7, Type=float), |
| ClusterObjectFieldDescriptor(Label="h", Tag=8, Type=float), |
| ]) |
| |
| a: 'uint' = 0 |
| b: 'bool' = False |
| c: 'TestCluster.Enums.SimpleEnum' = 0 |
| d: 'bytes' = b"" |
| e: 'str' = "" |
| f: 'uint' = 0 |
| g: 'float' = 0.0 |
| h: 'float' = 0.0 |
| |
| @dataclass |
| class NullablesAndOptionalsStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="nullableInt", Tag=1, Type=typing.Union[Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="optionalInt", Tag=2, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalInt", Tag=3, Type=typing.Union[None, Nullable, uint]), |
| ClusterObjectFieldDescriptor(Label="nullableString", Tag=4, Type=typing.Union[Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="optionalString", Tag=5, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalString", Tag=6, Type=typing.Union[None, Nullable, str]), |
| ClusterObjectFieldDescriptor(Label="nullableStruct", Tag=7, Type=typing.Union[Nullable, TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="optionalStruct", Tag=8, Type=typing.Optional[TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalStruct", Tag=9, Type=typing.Union[None, Nullable, TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableList", Tag=10, Type=typing.Union[Nullable, typing.List[TestCluster.Enums.SimpleEnum]]), |
| ClusterObjectFieldDescriptor(Label="optionalList", Tag=11, Type=typing.Optional[typing.List[TestCluster.Enums.SimpleEnum]]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalList", Tag=12, Type=typing.Union[None, Nullable, typing.List[TestCluster.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, TestCluster.Structs.SimpleStruct]' = NullValue |
| optionalStruct: 'typing.Optional[TestCluster.Structs.SimpleStruct]' = None |
| nullableOptionalStruct: 'typing.Union[None, Nullable, TestCluster.Structs.SimpleStruct]' = None |
| nullableList: 'typing.Union[Nullable, typing.List[TestCluster.Enums.SimpleEnum]]' = NullValue |
| optionalList: 'typing.Optional[typing.List[TestCluster.Enums.SimpleEnum]]' = None |
| nullableOptionalList: 'typing.Union[None, Nullable, typing.List[TestCluster.Enums.SimpleEnum]]' = None |
| |
| @dataclass |
| class NestedStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="a", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="b", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor(Label="c", Tag=3, Type=TestCluster.Structs.SimpleStruct), |
| ]) |
| |
| a: 'uint' = 0 |
| b: 'bool' = False |
| c: 'TestCluster.Structs.SimpleStruct' = field(default_factory=lambda: TestCluster.Structs.SimpleStruct()) |
| |
| @dataclass |
| class NestedStructList(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="a", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="b", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor(Label="c", Tag=3, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor(Label="d", Tag=4, Type=typing.List[TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="e", Tag=5, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="f", Tag=6, Type=typing.List[bytes]), |
| ClusterObjectFieldDescriptor(Label="g", Tag=7, Type=typing.List[uint]), |
| ]) |
| |
| a: 'uint' = 0 |
| b: 'bool' = False |
| c: 'TestCluster.Structs.SimpleStruct' = field(default_factory=lambda: TestCluster.Structs.SimpleStruct()) |
| d: 'typing.List[TestCluster.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=1, Type=typing.List[TestCluster.Structs.NestedStructList]), |
| ]) |
| |
| a: 'typing.List[TestCluster.Structs.NestedStructList]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class TestListStructOctet(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="operationalCert", Tag=2, Type=bytes), |
| ]) |
| |
| fabricIndex: 'uint' = 0 |
| operationalCert: 'bytes' = b"" |
| |
| |
| |
| class Commands: |
| @dataclass |
| class Test(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class TestSpecificResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class TestAddArgumentsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class TestSimpleArgumentResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class TestStructArrayArgumentResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[TestCluster.Structs.NestedStructList]), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=typing.List[TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=typing.List[TestCluster.Enums.SimpleEnum]), |
| ClusterObjectFieldDescriptor(Label="arg4", Tag=3, Type=typing.List[bool]), |
| ClusterObjectFieldDescriptor(Label="arg5", Tag=4, Type=TestCluster.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="arg6", Tag=5, Type=bool), |
| ]) |
| |
| arg1: 'typing.List[TestCluster.Structs.NestedStructList]' = field(default_factory=lambda: []) |
| arg2: 'typing.List[TestCluster.Structs.SimpleStruct]' = field(default_factory=lambda: []) |
| arg3: 'typing.List[TestCluster.Enums.SimpleEnum]' = field(default_factory=lambda: []) |
| arg4: 'typing.List[bool]' = field(default_factory=lambda: []) |
| arg5: 'TestCluster.Enums.SimpleEnum' = 0 |
| arg6: 'bool' = False |
| |
| @dataclass |
| class TestAddArguments(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=TestCluster.Enums.SimpleEnum), |
| ]) |
| |
| arg1: 'uint' = 0 |
| arg2: 'TestCluster.Enums.SimpleEnum' = 0 |
| |
| @dataclass |
| class TestStructArrayArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[TestCluster.Structs.NestedStructList]), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=typing.List[TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=typing.List[TestCluster.Enums.SimpleEnum]), |
| ClusterObjectFieldDescriptor(Label="arg4", Tag=3, Type=typing.List[bool]), |
| ClusterObjectFieldDescriptor(Label="arg5", Tag=4, Type=TestCluster.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="arg6", Tag=5, Type=bool), |
| ]) |
| |
| arg1: 'typing.List[TestCluster.Structs.NestedStructList]' = field(default_factory=lambda: []) |
| arg2: 'typing.List[TestCluster.Structs.SimpleStruct]' = field(default_factory=lambda: []) |
| arg3: 'typing.List[TestCluster.Enums.SimpleEnum]' = field(default_factory=lambda: []) |
| arg4: 'typing.List[bool]' = field(default_factory=lambda: []) |
| arg5: 'TestCluster.Enums.SimpleEnum' = 0 |
| arg6: 'bool' = False |
| |
| @dataclass |
| class TestNullableOptionalResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.SimpleStruct), |
| ]) |
| |
| arg1: 'TestCluster.Structs.SimpleStruct' = field(default_factory=lambda: TestCluster.Structs.SimpleStruct()) |
| |
| @dataclass |
| class TestComplexNullableOptionalResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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[TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="optionalStructWasPresent", Tag=16, Type=bool), |
| ClusterObjectFieldDescriptor(Label="optionalStructValue", Tag=17, Type=typing.Optional[TestCluster.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[TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableListWasNull", Tag=21, Type=bool), |
| ClusterObjectFieldDescriptor(Label="nullableListValue", Tag=22, Type=typing.Optional[typing.List[TestCluster.Enums.SimpleEnum]]), |
| ClusterObjectFieldDescriptor(Label="optionalListWasPresent", Tag=23, Type=bool), |
| ClusterObjectFieldDescriptor(Label="optionalListValue", Tag=24, Type=typing.Optional[typing.List[TestCluster.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[TestCluster.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[TestCluster.Structs.SimpleStruct]' = None |
| optionalStructWasPresent: 'bool' = False |
| optionalStructValue: 'typing.Optional[TestCluster.Structs.SimpleStruct]' = None |
| nullableOptionalStructWasPresent: 'bool' = False |
| nullableOptionalStructWasNull: 'typing.Optional[bool]' = None |
| nullableOptionalStructValue: 'typing.Optional[TestCluster.Structs.SimpleStruct]' = None |
| nullableListWasNull: 'bool' = False |
| nullableListValue: 'typing.Optional[typing.List[TestCluster.Enums.SimpleEnum]]' = None |
| optionalListWasPresent: 'bool' = False |
| optionalListValue: 'typing.Optional[typing.List[TestCluster.Enums.SimpleEnum]]' = None |
| nullableOptionalListWasPresent: 'bool' = False |
| nullableOptionalListWasNull: 'typing.Optional[bool]' = None |
| nullableOptionalListValue: 'typing.Optional[typing.List[TestCluster.Enums.SimpleEnum]]' = None |
| |
| @dataclass |
| class TestNestedStructArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStruct), |
| ]) |
| |
| arg1: 'TestCluster.Structs.NestedStruct' = field(default_factory=lambda: TestCluster.Structs.NestedStruct()) |
| |
| @dataclass |
| class BooleanResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[TestCluster.Structs.SimpleStruct]), |
| ]) |
| |
| arg1: 'typing.List[TestCluster.Structs.SimpleStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class SimpleStructResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.SimpleStruct), |
| ]) |
| |
| arg1: 'TestCluster.Structs.SimpleStruct' = field(default_factory=lambda: TestCluster.Structs.SimpleStruct()) |
| |
| @dataclass |
| class TestListInt8UArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = True |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = False |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000B |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStructList), |
| ]) |
| |
| arg1: 'TestCluster.Structs.NestedStructList' = field(default_factory=lambda: TestCluster.Structs.NestedStructList()) |
| |
| @dataclass |
| class TestListNestedStructListArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000C |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=typing.List[TestCluster.Structs.NestedStructList]), |
| ]) |
| |
| arg1: 'typing.List[TestCluster.Structs.NestedStructList]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class TestListInt8UReverseRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000D |
| is_client: typing.ClassVar[bool] = True |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000E |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=TestCluster.Enums.SimpleEnum), |
| ]) |
| |
| arg1: 'uint' = 0 |
| arg2: 'TestCluster.Enums.SimpleEnum' = 0 |
| |
| @dataclass |
| class TestNullableOptionalRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000F |
| is_client: typing.ClassVar[bool] = True |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0010 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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, TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="optionalStruct", Tag=7, Type=typing.Optional[TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalStruct", Tag=8, Type=typing.Union[None, Nullable, TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="nullableList", Tag=9, Type=typing.Union[Nullable, typing.List[TestCluster.Enums.SimpleEnum]]), |
| ClusterObjectFieldDescriptor(Label="optionalList", Tag=10, Type=typing.Optional[typing.List[TestCluster.Enums.SimpleEnum]]), |
| ClusterObjectFieldDescriptor(Label="nullableOptionalList", Tag=11, Type=typing.Union[None, Nullable, typing.List[TestCluster.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, TestCluster.Structs.SimpleStruct]' = NullValue |
| optionalStruct: 'typing.Optional[TestCluster.Structs.SimpleStruct]' = None |
| nullableOptionalStruct: 'typing.Union[None, Nullable, TestCluster.Structs.SimpleStruct]' = None |
| nullableList: 'typing.Union[Nullable, typing.List[TestCluster.Enums.SimpleEnum]]' = NullValue |
| optionalList: 'typing.Optional[typing.List[TestCluster.Enums.SimpleEnum]]' = None |
| nullableOptionalList: 'typing.Union[None, Nullable, typing.List[TestCluster.Enums.SimpleEnum]]' = None |
| |
| @dataclass |
| class SimpleStructEchoRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0011 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=TestCluster.Structs.SimpleStruct), |
| ]) |
| |
| arg1: 'TestCluster.Structs.SimpleStruct' = field(default_factory=lambda: TestCluster.Structs.SimpleStruct()) |
| |
| @dataclass |
| class TimedInvokeRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0012 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class TestSimpleOptionalArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0013 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0014 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="arg2", Tag=1, Type=TestCluster.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="arg3", Tag=2, Type=bool), |
| ]) |
| |
| arg1: 'uint' = 0 |
| arg2: 'TestCluster.Enums.SimpleEnum' = 0 |
| arg3: 'bool' = False |
| |
| |
| class Attributes: |
| @dataclass |
| class Boolean(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| value: 'float' = 0.0 |
| |
| @dataclass |
| class FloatDouble(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[TestCluster.Structs.TestListStructOctet]) |
| |
| value: 'typing.List[TestCluster.Structs.TestListStructOctet]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class LongOctetString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[TestCluster.Structs.NullablesAndOptionalsStruct]) |
| |
| value: 'typing.List[TestCluster.Structs.NullablesAndOptionalsStruct]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EnumAttr(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=TestCluster.Enums.SimpleEnum) |
| |
| value: 'TestCluster.Enums.SimpleEnum' = 0 |
| |
| @dataclass |
| class StructAttr(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=TestCluster.Structs.SimpleStruct) |
| |
| value: 'TestCluster.Structs.SimpleStruct' = field(default_factory=lambda: TestCluster.Structs.SimpleStruct()) |
| |
| @dataclass |
| class RangeRestrictedInt8u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 0x050F |
| |
| @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 TimedWriteBoolean(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000030 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000000FF |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| value: 'bool' = False |
| |
| @dataclass |
| class NullableBoolean(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008000 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008001 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008002 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008003 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008004 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008005 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008006 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008007 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008008 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008009 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000800A |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000800B |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000800C |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000800D |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000800E |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000800F |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008010 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008011 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008012 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008013 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008014 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008015 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008016 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, float]) |
| |
| value: 'typing.Union[Nullable, float]' = NullValue |
| |
| @dataclass |
| class NullableFloatDouble(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008018 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008019 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000801E |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, TestCluster.Enums.SimpleEnum]) |
| |
| value: 'typing.Union[Nullable, TestCluster.Enums.SimpleEnum]' = NullValue |
| |
| @dataclass |
| class NullableStruct(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, TestCluster.Structs.SimpleStruct]) |
| |
| value: 'typing.Union[Nullable, TestCluster.Structs.SimpleStruct]' = NullValue |
| |
| @dataclass |
| class NullableRangeRestrictedInt8u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008026 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008027 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008028 |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00008029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int]) |
| |
| value: 'typing.Union[Nullable, int]' = NullValue |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @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 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @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 0x050F |
| |
| @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=TestCluster.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor(Label="arg3", Tag=3, Type=bool), |
| ClusterObjectFieldDescriptor(Label="arg4", Tag=4, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor(Label="arg5", Tag=5, Type=typing.List[TestCluster.Structs.SimpleStruct]), |
| ClusterObjectFieldDescriptor(Label="arg6", Tag=6, Type=typing.List[TestCluster.Enums.SimpleEnum]), |
| ]) |
| |
| arg1: 'uint' = 0 |
| arg2: 'TestCluster.Enums.SimpleEnum' = 0 |
| arg3: 'bool' = False |
| arg4: 'TestCluster.Structs.SimpleStruct' = field(default_factory=lambda: TestCluster.Structs.SimpleStruct()) |
| arg5: 'typing.List[TestCluster.Structs.SimpleStruct]' = field(default_factory=lambda: []) |
| arg6: 'typing.List[TestCluster.Enums.SimpleEnum]' = field(default_factory=lambda: []) |
| |
| |
| @dataclass |
| class Messaging(Cluster): |
| id: typing.ClassVar[int] = 0x0703 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class EventId(IntEnum): |
| kMeterCoverRemoved = 0x00 |
| kMeterCoverClosed = 0x01 |
| kStrongMagneticField = 0x02 |
| kNoStrongMagneticField = 0x03 |
| kBatteryFailure = 0x04 |
| kLowBattery = 0x05 |
| kProgramMemoryError = 0x06 |
| kRamError = 0x07 |
| kNvMemoryError = 0x08 |
| kMeasurementSystemError = 0x09 |
| kWatchdogError = 0x0A |
| kSupplyDisconnectFailure = 0x0B |
| kSupplyConnectFailure = 0x0C |
| kMeasurmentSoftwareChanged = 0x0D |
| kDstEnabled = 0x0E |
| kDstDisabled = 0x0F |
| kClockAdjBackward = 0x10 |
| kClockAdjForward = 0x11 |
| kClockInvalid = 0x12 |
| kCommsErrorHan = 0x13 |
| kCommsOkHan = 0x14 |
| kFraudAttempt = 0x15 |
| kPowerLoss = 0x16 |
| kIncorrectProtocol = 0x17 |
| kUnusualHanTraffic = 0x18 |
| kUnexpectedClockChange = 0x19 |
| kCommsUsingUnauthenticatedComponent = 0x1A |
| kErrorRegClear = 0x1B |
| kAlarmRegClear = 0x1C |
| kUnexpectedHwReset = 0x1D |
| kUnexpectedProgramExecution = 0x1E |
| kEventLogCleared = 0x1F |
| kManualDisconnect = 0x20 |
| kManualConnect = 0x21 |
| kRemoteDisconnection = 0x22 |
| kLocalDisconnection = 0x23 |
| kLimitThresholdExceeded = 0x24 |
| kLimitThresholdOk = 0x25 |
| kLimitThresholdChanged = 0x26 |
| kMaximumDemandExceeded = 0x27 |
| kProfileCleared = 0x28 |
| kFirmwareReadyForActivation = 0x29 |
| kFirmwareActivated = 0x2A |
| kPatchFailure = 0x2B |
| kTouTariffActivation = 0x2C |
| k8x8Tariffactivated = 0x2D |
| kSingleTariffRateActivated = 0x2E |
| kAsynchronousBillingOccurred = 0x2F |
| kSynchronousBillingOccurred = 0x30 |
| kIncorrectPolarity = 0x80 |
| kCurrentNoVoltage = 0x81 |
| kUnderVoltage = 0x82 |
| kOverVoltage = 0x83 |
| kNormalVoltage = 0x84 |
| kPfBelowThreshold = 0x85 |
| kPfAboveThreshold = 0x86 |
| kTerminalCoverRemoved = 0x87 |
| kTerminalCoverClosed = 0x88 |
| kReverseFlow = 0xA0 |
| kTiltTamper = 0xA1 |
| kBatteryCoverRemoved = 0xA2 |
| kBatteryCoverClosed = 0xA3 |
| kExcessFlow = 0xA4 |
| kCreditOk = 0xC0 |
| kLowCredit = 0xC1 |
| kEmergencyCreditInUse = 0xC0 |
| kEmergencyCreditExhausted = 0xC1 |
| kZeroCreditEcNotSelected = 0xC2 |
| kSupplyOn = 0xC3 |
| kSupplyOffAarmed = 0xC4 |
| kSupplyOff = 0xC5 |
| kDiscountApplied = 0xC6 |
| kManufacturerSpecificA = 0xE0 |
| kManufacturerSpecificB = 0xE1 |
| kManufacturerSpecificC = 0xE2 |
| kManufacturerSpecificD = 0xE3 |
| kManufacturerSpecificE = 0xE4 |
| kManufacturerSpecificF = 0xE5 |
| kManufacturerSpecificG = 0xE6 |
| kManufacturerSpecificH = 0xE7 |
| kManufacturerSpecificI = 0xE8 |
| |
| class MessagingControlConfirmation(IntEnum): |
| kNotRequired = 0x00 |
| kRequired = 0x80 |
| |
| class MessagingControlEnhancedConfirmation(IntEnum): |
| kNotRequired = 0x00 |
| kRequired = 0x20 |
| |
| class MessagingControlImportance(IntEnum): |
| kLow = 0x00 |
| kMedium = 0x04 |
| kHigh = 0x08 |
| kCritical = 0x0C |
| |
| class MessagingControlTransmission(IntEnum): |
| kNormal = 0x00 |
| kNormalAndAnonymous = 0x01 |
| kAnonymous = 0x02 |
| kReserved = 0x03 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class DisplayMessage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="messageId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="messageControl", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="durationInMinutes", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="message", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor(Label="optionalExtendedMessageControl", Tag=5, Type=uint), |
| ]) |
| |
| messageId: 'uint' = 0 |
| messageControl: 'uint' = 0 |
| startTime: 'uint' = 0 |
| durationInMinutes: 'uint' = 0 |
| message: 'str' = "" |
| optionalExtendedMessageControl: 'uint' = 0 |
| |
| @dataclass |
| class GetLastMessage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class CancelMessage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="messageId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="messageControl", Tag=1, Type=uint), |
| ]) |
| |
| messageId: 'uint' = 0 |
| messageControl: 'uint' = 0 |
| |
| @dataclass |
| class MessageConfirmation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="messageId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="confirmationTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="messageConfirmationControl", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="messageResponse", Tag=3, Type=bytes), |
| ]) |
| |
| messageId: 'uint' = 0 |
| confirmationTime: 'uint' = 0 |
| messageConfirmationControl: 'uint' = 0 |
| messageResponse: 'bytes' = b"" |
| |
| @dataclass |
| class DisplayProtectedMessage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="messageId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="messageControl", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="durationInMinutes", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="message", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor(Label="optionalExtendedMessageControl", Tag=5, Type=uint), |
| ]) |
| |
| messageId: 'uint' = 0 |
| messageControl: 'uint' = 0 |
| startTime: 'uint' = 0 |
| durationInMinutes: 'uint' = 0 |
| message: 'str' = "" |
| optionalExtendedMessageControl: 'uint' = 0 |
| |
| @dataclass |
| class GetMessageCancellation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="earliestImplementationTime", Tag=0, Type=uint), |
| ]) |
| |
| earliestImplementationTime: 'uint' = 0 |
| |
| @dataclass |
| class CancelAllMessages(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="implementationDateTime", Tag=0, Type=uint), |
| ]) |
| |
| implementationDateTime: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0703 |
| |
| @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 0x0703 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0703 |
| |
| @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 ApplianceIdentification(Cluster): |
| id: typing.ClassVar[int] = 0x0B00 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="basicIdentification", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="companyName", Tag=0x00000010, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="companyId", Tag=0x00000011, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="brandName", Tag=0x00000012, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="brandId", Tag=0x00000013, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="model", Tag=0x00000014, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="partNumber", Tag=0x00000015, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="productRevision", Tag=0x00000016, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="softwareRevision", Tag=0x00000017, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="productTypeName", Tag=0x00000018, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="productTypeId", Tag=0x00000019, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="cecedSpecificationVersion", Tag=0x0000001A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| basicIdentification: 'uint' = None |
| companyName: 'typing.Optional[str]' = None |
| companyId: 'typing.Optional[uint]' = None |
| brandName: 'typing.Optional[str]' = None |
| brandId: 'typing.Optional[uint]' = None |
| model: 'typing.Optional[bytes]' = None |
| partNumber: 'typing.Optional[bytes]' = None |
| productRevision: 'typing.Optional[bytes]' = None |
| softwareRevision: 'typing.Optional[bytes]' = None |
| productTypeName: 'typing.Optional[bytes]' = None |
| productTypeId: 'typing.Optional[uint]' = None |
| cecedSpecificationVersion: 'typing.Optional[uint]' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class BasicIdentification(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @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 CompanyName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[str]) |
| |
| value: 'typing.Optional[str]' = None |
| |
| @dataclass |
| class CompanyId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @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 BrandName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @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 BrandId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @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 Model(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes]) |
| |
| value: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class PartNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes]) |
| |
| value: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class ProductRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes]) |
| |
| value: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class SoftwareRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes]) |
| |
| value: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class ProductTypeName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes]) |
| |
| value: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class ProductTypeId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @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 CecedSpecificationVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @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 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @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 MeterIdentification(Cluster): |
| id: typing.ClassVar[int] = 0x0B01 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="companyName", Tag=0x00000000, Type=str), |
| ClusterObjectFieldDescriptor(Label="meterTypeId", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="dataQualityId", Tag=0x00000004, Type=uint), |
| ClusterObjectFieldDescriptor(Label="customerName", Tag=0x00000005, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="model", Tag=0x00000006, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="partNumber", Tag=0x00000007, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="productRevision", Tag=0x00000008, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="softwareRevision", Tag=0x0000000A, Type=typing.Optional[bytes]), |
| ClusterObjectFieldDescriptor(Label="utilityName", Tag=0x0000000B, Type=typing.Optional[str]), |
| ClusterObjectFieldDescriptor(Label="pod", Tag=0x0000000C, Type=str), |
| ClusterObjectFieldDescriptor(Label="availablePower", Tag=0x0000000D, Type=int), |
| ClusterObjectFieldDescriptor(Label="powerThreshold", Tag=0x0000000E, Type=int), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| companyName: 'str' = None |
| meterTypeId: 'uint' = None |
| dataQualityId: 'uint' = None |
| customerName: 'typing.Optional[str]' = None |
| model: 'typing.Optional[bytes]' = None |
| partNumber: 'typing.Optional[bytes]' = None |
| productRevision: 'typing.Optional[bytes]' = None |
| softwareRevision: 'typing.Optional[bytes]' = None |
| utilityName: 'typing.Optional[str]' = None |
| pod: 'str' = None |
| availablePower: 'int' = None |
| powerThreshold: 'int' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| |
| class Attributes: |
| @dataclass |
| class CompanyName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class MeterTypeId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @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 DataQualityId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @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 CustomerName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @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 Model(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes]) |
| |
| value: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class PartNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes]) |
| |
| value: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class ProductRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes]) |
| |
| value: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class SoftwareRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes]) |
| |
| value: 'typing.Optional[bytes]' = None |
| |
| @dataclass |
| class UtilityName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @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 Pod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| value: 'str' = "" |
| |
| @dataclass |
| class AvailablePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @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 PowerThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @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 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @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 ApplianceEventsAndAlert(Cluster): |
| id: typing.ClassVar[int] = 0x0B02 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| class Enums: |
| class EventIdentification(IntEnum): |
| kEndOfCycle = 0x01 |
| kTemperatureReached = 0x04 |
| kEndOfCooking = 0x05 |
| kSwitchingOff = 0x06 |
| kWrongData = 0x07 |
| |
| |
| |
| class Commands: |
| @dataclass |
| class GetAlerts(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B02 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class GetAlertsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B02 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="alertsCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="alertStructures", Tag=1, Type=typing.List[uint]), |
| ]) |
| |
| alertsCount: 'uint' = 0 |
| alertStructures: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class AlertsNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B02 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="alertsCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="alertStructures", Tag=1, Type=typing.List[uint]), |
| ]) |
| |
| alertsCount: 'uint' = 0 |
| alertStructures: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class EventsNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B02 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="eventHeader", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="eventId", Tag=1, Type=ApplianceEventsAndAlert.Enums.EventIdentification), |
| ]) |
| |
| eventHeader: 'uint' = 0 |
| eventId: 'ApplianceEventsAndAlert.Enums.EventIdentification' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B02 |
| |
| @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 0x0B02 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B02 |
| |
| @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 ApplianceStatistics(Cluster): |
| id: typing.ClassVar[int] = 0x0B03 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="logMaxSize", Tag=0x00000000, Type=uint), |
| ClusterObjectFieldDescriptor(Label="logQueueMaxSize", Tag=0x00000001, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint), |
| ]) |
| |
| logMaxSize: 'uint' = None |
| logQueueMaxSize: 'uint' = None |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class LogNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="timeStamp", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="logId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="logLength", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="logPayload", Tag=3, Type=typing.List[uint]), |
| ]) |
| |
| timeStamp: 'uint' = 0 |
| logId: 'uint' = 0 |
| logLength: 'uint' = 0 |
| logPayload: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class LogRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="logId", Tag=0, Type=uint), |
| ]) |
| |
| logId: 'uint' = 0 |
| |
| @dataclass |
| class LogResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="timeStamp", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="logId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="logLength", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="logPayload", Tag=3, Type=typing.List[uint]), |
| ]) |
| |
| timeStamp: 'uint' = 0 |
| logId: 'uint' = 0 |
| logLength: 'uint' = 0 |
| logPayload: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class LogQueueRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class LogQueueResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="logQueueSize", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="logIds", Tag=1, Type=typing.List[uint]), |
| ]) |
| |
| logQueueSize: 'uint' = 0 |
| logIds: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class StatisticsAvailable(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="logQueueSize", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="logIds", Tag=1, Type=typing.List[uint]), |
| ]) |
| |
| logQueueSize: 'uint' = 0 |
| logIds: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| |
| class Attributes: |
| @dataclass |
| class LogMaxSize(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B03 |
| |
| @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 LogQueueMaxSize(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B03 |
| |
| @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 AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B03 |
| |
| @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 0x0B03 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B03 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |
| @dataclass |
| class ElectricalMeasurement(Cluster): |
| id: typing.ClassVar[int] = 0x0B04 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="measurementType", Tag=0x00000000, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcVoltage", Tag=0x00000100, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcVoltageMin", Tag=0x00000101, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcVoltageMax", Tag=0x00000102, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcCurrent", Tag=0x00000103, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcCurrentMin", Tag=0x00000104, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcCurrentMax", Tag=0x00000105, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcPower", Tag=0x00000106, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcPowerMin", Tag=0x00000107, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcPowerMax", Tag=0x00000108, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="dcVoltageMultiplier", Tag=0x00000200, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcVoltageDivisor", Tag=0x00000201, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcCurrentMultiplier", Tag=0x00000202, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcCurrentDivisor", Tag=0x00000203, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcPowerMultiplier", Tag=0x00000204, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="dcPowerDivisor", Tag=0x00000205, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acFrequency", Tag=0x00000300, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acFrequencyMin", Tag=0x00000301, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acFrequencyMax", Tag=0x00000302, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="neutralCurrent", Tag=0x00000303, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="totalActivePower", Tag=0x00000304, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="totalReactivePower", Tag=0x00000305, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="totalApparentPower", Tag=0x00000306, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="measured1stHarmonicCurrent", Tag=0x00000307, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measured3rdHarmonicCurrent", Tag=0x00000308, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measured5thHarmonicCurrent", Tag=0x00000309, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measured7thHarmonicCurrent", Tag=0x0000030A, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measured9thHarmonicCurrent", Tag=0x0000030B, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measured11thHarmonicCurrent", Tag=0x0000030C, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase1stHarmonicCurrent", Tag=0x0000030D, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase3rdHarmonicCurrent", Tag=0x0000030E, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase5thHarmonicCurrent", Tag=0x0000030F, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase7thHarmonicCurrent", Tag=0x00000310, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase9thHarmonicCurrent", Tag=0x00000311, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="measuredPhase11thHarmonicCurrent", Tag=0x00000312, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="acFrequencyMultiplier", Tag=0x00000400, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acFrequencyDivisor", Tag=0x00000401, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerMultiplier", Tag=0x00000402, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerDivisor", Tag=0x00000403, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="harmonicCurrentMultiplier", Tag=0x00000404, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="phaseHarmonicCurrentMultiplier", Tag=0x00000405, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="instantaneousVoltage", Tag=0x00000500, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="instantaneousLineCurrent", Tag=0x00000501, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="instantaneousActiveCurrent", Tag=0x00000502, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="instantaneousReactiveCurrent", Tag=0x00000503, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="instantaneousPower", Tag=0x00000504, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltage", Tag=0x00000505, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMin", Tag=0x00000506, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMax", Tag=0x00000507, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrent", Tag=0x00000508, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMin", Tag=0x00000509, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMax", Tag=0x0000050A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activePower", Tag=0x0000050B, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMin", Tag=0x0000050C, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMax", Tag=0x0000050D, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="reactivePower", Tag=0x0000050E, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="apparentPower", Tag=0x0000050F, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerFactor", Tag=0x00000510, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="averageRmsVoltageMeasurementPeriod", Tag=0x00000511, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="averageRmsUnderVoltageCounter", Tag=0x00000513, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeOverVoltagePeriod", Tag=0x00000514, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeUnderVoltagePeriod", Tag=0x00000515, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSagPeriod", Tag=0x00000516, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSwellPeriod", Tag=0x00000517, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acVoltageMultiplier", Tag=0x00000600, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acVoltageDivisor", Tag=0x00000601, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acCurrentMultiplier", Tag=0x00000602, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acCurrentDivisor", Tag=0x00000603, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acPowerMultiplier", Tag=0x00000604, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acPowerDivisor", Tag=0x00000605, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="overloadAlarmsMask", Tag=0x00000700, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="voltageOverload", Tag=0x00000701, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="currentOverload", Tag=0x00000702, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="acOverloadAlarmsMask", Tag=0x00000800, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="acVoltageOverload", Tag=0x00000801, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="acCurrentOverload", Tag=0x00000802, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="acActivePowerOverload", Tag=0x00000803, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="acReactivePowerOverload", Tag=0x00000804, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="averageRmsOverVoltage", Tag=0x00000805, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="averageRmsUnderVoltage", Tag=0x00000806, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeOverVoltage", Tag=0x00000807, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeUnderVoltage", Tag=0x00000808, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSag", Tag=0x00000809, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSwell", Tag=0x0000080A, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="lineCurrentPhaseB", Tag=0x00000901, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activeCurrentPhaseB", Tag=0x00000902, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="reactiveCurrentPhaseB", Tag=0x00000903, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltagePhaseB", Tag=0x00000905, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMinPhaseB", Tag=0x00000906, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMaxPhaseB", Tag=0x00000907, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentPhaseB", Tag=0x00000908, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMinPhaseB", Tag=0x00000909, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMaxPhaseB", Tag=0x0000090A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activePowerPhaseB", Tag=0x0000090B, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMinPhaseB", Tag=0x0000090C, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMaxPhaseB", Tag=0x0000090D, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="reactivePowerPhaseB", Tag=0x0000090E, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="apparentPowerPhaseB", Tag=0x0000090F, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerFactorPhaseB", Tag=0x00000910, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="averageRmsVoltageMeasurementPeriodPhaseB", Tag=0x00000911, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="averageRmsOverVoltageCounterPhaseB", Tag=0x00000912, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="averageRmsUnderVoltageCounterPhaseB", Tag=0x00000913, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeOverVoltagePeriodPhaseB", Tag=0x00000914, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeUnderVoltagePeriodPhaseB", Tag=0x00000915, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSagPeriodPhaseB", Tag=0x00000916, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSwellPeriodPhaseB", Tag=0x00000917, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="lineCurrentPhaseC", Tag=0x00000A01, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activeCurrentPhaseC", Tag=0x00000A02, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="reactiveCurrentPhaseC", Tag=0x00000A03, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltagePhaseC", Tag=0x00000A05, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMinPhaseC", Tag=0x00000A06, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageMaxPhaseC", Tag=0x00000A07, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentPhaseC", Tag=0x00000A08, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMinPhaseC", Tag=0x00000A09, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsCurrentMaxPhaseC", Tag=0x00000A0A, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="activePowerPhaseC", Tag=0x00000A0B, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMinPhaseC", Tag=0x00000A0C, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="activePowerMaxPhaseC", Tag=0x00000A0D, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="reactivePowerPhaseC", Tag=0x00000A0E, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="apparentPowerPhaseC", Tag=0x00000A0F, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="powerFactorPhaseC", Tag=0x00000A10, Type=typing.Optional[int]), |
| ClusterObjectFieldDescriptor(Label="averageRmsVoltageMeasurementPeriodPhaseC", Tag=0x00000A11, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="averageRmsOverVoltageCounterPhaseC", Tag=0x00000A12, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="averageRmsUnderVoltageCounterPhaseC", Tag=0x00000A13, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeOverVoltagePeriodPhaseC", Tag=0x00000A14, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsExtremeUnderVoltagePeriodPhaseC", Tag=0x00000A15, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSagPeriodPhaseC", Tag=0x00000A16, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="rmsVoltageSwellPeriodPhaseC", Tag=0x00000A17, Type=typing.Optional[uint]), |
| ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]), |
| ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=typing.Optional[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 |
| attributeList: 'typing.List[uint]' = None |
| featureMap: 'typing.Optional[uint]' = None |
| clusterRevision: 'uint' = None |
| |
| |
| |
| class Commands: |
| @dataclass |
| class GetProfileInfoResponseCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="profileCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="profileIntervalPeriod", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="maxNumberOfIntervals", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="listOfAttributes", Tag=3, Type=typing.List[uint]), |
| ]) |
| |
| profileCount: 'uint' = 0 |
| profileIntervalPeriod: 'uint' = 0 |
| maxNumberOfIntervals: 'uint' = 0 |
| listOfAttributes: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetProfileInfoCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ]) |
| |
| |
| @dataclass |
| class GetMeasurementProfileResponseCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="startTime", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="profileIntervalPeriod", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numberOfIntervalsDelivered", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor(Label="attributeId", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor(Label="intervals", Tag=5, Type=typing.List[uint]), |
| ]) |
| |
| startTime: 'uint' = 0 |
| status: 'uint' = 0 |
| profileIntervalPeriod: 'uint' = 0 |
| numberOfIntervalsDelivered: 'uint' = 0 |
| attributeId: 'uint' = 0 |
| intervals: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class GetMeasurementProfileCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields = [ |
| ClusterObjectFieldDescriptor(Label="attributeId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor(Label="startTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor(Label="numberOfIntervals", Tag=2, Type=uint), |
| ]) |
| |
| attributeId: 'uint' = 0 |
| startTime: 'uint' = 0 |
| numberOfIntervals: 'uint' = 0 |
| |
| |
| class Attributes: |
| @dataclass |
| class MeasurementType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000100 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcVoltageMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000101 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcVoltageMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000102 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000103 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcCurrentMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000104 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcCurrentMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000105 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000106 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcPowerMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000107 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcPowerMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000108 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class DcVoltageMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000200 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcVoltageDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000201 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000202 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcCurrentDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000203 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcPowerMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000204 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class DcPowerDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000205 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000300 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcFrequencyMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000301 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcFrequencyMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000302 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class NeutralCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000303 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class TotalActivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000304 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class TotalReactivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000305 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class TotalApparentPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000306 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class Measured1stHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000307 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Measured3rdHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000308 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Measured5thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000309 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Measured7thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Measured9thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class Measured11thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase1stHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase3rdHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase5thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000030F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase7thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000310 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase9thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000311 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class MeasuredPhase11thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000312 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AcFrequencyMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000400 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcFrequencyDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000401 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PowerMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000402 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PowerDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000403 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class HarmonicCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000404 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class PhaseHarmonicCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000405 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class InstantaneousVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000500 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class InstantaneousLineCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000501 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class InstantaneousActiveCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000502 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class InstantaneousReactiveCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000503 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class InstantaneousPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000504 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000505 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000506 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000507 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000508 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000509 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ReactivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ApparentPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000050F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PowerFactor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000510 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AverageRmsVoltageMeasurementPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000511 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AverageRmsUnderVoltageCounter(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000513 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeOverVoltagePeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000514 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeUnderVoltagePeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000515 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSagPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000516 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSwellPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000517 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcVoltageMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000600 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcVoltageDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000601 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000602 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcCurrentDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000603 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcPowerMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000604 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcPowerDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000605 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class OverloadAlarmsMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000700 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class VoltageOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000701 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class CurrentOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000702 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AcOverloadAlarmsMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000800 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AcVoltageOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000801 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AcCurrentOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000802 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AcActivePowerOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000803 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AcReactivePowerOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000804 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AverageRmsOverVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000805 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AverageRmsUnderVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000806 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsExtremeOverVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000807 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsExtremeUnderVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000808 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsVoltageSag(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000809 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsVoltageSwell(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000080A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class LineCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000901 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActiveCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000902 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ReactiveCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000903 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsVoltagePhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000905 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMinPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000906 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMaxPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000907 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000908 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMinPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000909 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMaxPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActivePowerPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMinPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMaxPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ReactivePowerPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ApparentPowerPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000090F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PowerFactorPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000910 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AverageRmsVoltageMeasurementPeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000911 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AverageRmsOverVoltageCounterPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000912 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AverageRmsUnderVoltageCounterPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000913 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeOverVoltagePeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000914 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeUnderVoltagePeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000915 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSagPeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000916 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSwellPeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000917 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class LineCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A01 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActiveCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A02 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ReactiveCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A03 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class RmsVoltagePhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A05 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMinPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A06 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageMaxPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A07 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A08 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMinPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A09 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsCurrentMaxPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ActivePowerPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMinPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ActivePowerMaxPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ReactivePowerPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class ApparentPowerPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A0F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class PowerFactorPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A10 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[int]) |
| |
| value: 'typing.Optional[int]' = None |
| |
| @dataclass |
| class AverageRmsVoltageMeasurementPeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A11 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AverageRmsOverVoltageCounterPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A12 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AverageRmsUnderVoltageCounterPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A13 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeOverVoltagePeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A14 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsExtremeUnderVoltagePeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A15 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSagPeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A16 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class RmsVoltageSwellPeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00000A17 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class AttributeList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFB |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.List[uint]) |
| |
| value: 'typing.List[uint]' = field(default_factory=lambda: []) |
| |
| @dataclass |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=typing.Optional[uint]) |
| |
| value: 'typing.Optional[uint]' = None |
| |
| @dataclass |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000FFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| value: 'uint' = 0 |
| |
| |
| |