| ''' |
| /* |
| * |
| * 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 |
| import typing |
| from enum import IntEnum |
| from chip import ChipUtility |
| |
| from chip.tlv import uint |
| |
| from .ClusterObjects import ClusterObject, ClusterObjectDescriptor, ClusterObjectFieldDescriptor, ClusterCommand, ClusterAttributeDescriptor |
| |
| |
| @dataclass |
| class PowerConfiguration: |
| id: typing.ClassVar[int] = 0x0001 |
| |
| class Attributes: |
| class MainsVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MainsFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MainsAlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MainsVoltageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MainsVoltageMaxThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MainsVoltageDwellTrip(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryPercentageRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryManufacturer(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class BatterySize(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryAhrRating(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryQuantity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryRatedVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryAlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryVoltageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryVoltageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryVoltageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryVoltageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryPercentageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryPercentageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryPercentageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryPercentageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryAlarmState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2Voltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2PercentageRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2Manufacturer(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class Battery2Size(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0051 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2AhrRating(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0052 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2Quantity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0053 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2RatedVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0054 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2AlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0055 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2VoltageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0056 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2VoltageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0057 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2VoltageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0058 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2VoltageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0059 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2PercentageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x005A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2PercentageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x005B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2PercentageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x005C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2PercentageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x005D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery2AlarmState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x005E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3Voltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0060 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3PercentageRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0061 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3Manufacturer(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0070 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class Battery3Size(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0071 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3AhrRating(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0072 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3Quantity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0073 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3RatedVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0074 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3AlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0075 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3VoltageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0076 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3VoltageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0077 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3VoltageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0078 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3VoltageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0079 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3PercentageMinThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x007A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3PercentageThreshold1(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x007B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3PercentageThreshold2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x007C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3PercentageThreshold3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x007D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Battery3AlarmState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x007E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class DeviceTemperatureConfiguration: |
| id: typing.ClassVar[int] = 0x0002 |
| |
| class Attributes: |
| class CurrentTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MinTempExperienced(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MaxTempExperienced(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class OverTempTotalDwell(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DeviceTempAlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LowTempThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class HighTempThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class LowTempDwellTripPoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class HighTempDwellTripPoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class Identify: |
| id: typing.ClassVar[int] = 0x0003 |
| |
| 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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="IdentifyTime", Tag=0, Type=uint), |
| ]) |
| |
| IdentifyTime: 'uint' = None |
| |
| @dataclass |
| class IdentifyQueryResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0003 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Timeout", Tag=0, Type=uint), |
| ]) |
| |
| Timeout: 'uint' = None |
| |
| @dataclass |
| class IdentifyQuery(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0003 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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 |
| |
| @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' = None |
| EffectVariant: 'Identify.Enums.IdentifyEffectVariant' = None |
| |
| class Attributes: |
| class IdentifyTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class IdentifyType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class Groups: |
| id: typing.ClassVar[int] = 0x0004 |
| |
| class Commands: |
| @dataclass |
| class AddGroup(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| GroupName: 'str' = None |
| |
| @dataclass |
| class AddGroupResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| GroupId: 'uint' = None |
| |
| @dataclass |
| class ViewGroup(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="GroupId", Tag=0, Type=uint), |
| ]) |
| |
| GroupId: 'uint' = None |
| |
| @dataclass |
| class ViewGroupResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| GroupId: 'uint' = None |
| GroupName: 'str' = None |
| |
| @dataclass |
| class GetGroupMembership(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="GroupCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="GroupList", Tag=1, Type=uint, IsArray=True), |
| ]) |
| |
| GroupCount: 'uint' = None |
| GroupList: typing.List['uint'] = None |
| |
| @dataclass |
| class GetGroupMembershipResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Capacity", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="GroupCount", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="GroupList", Tag=2, Type=uint, IsArray=True), |
| ]) |
| |
| Capacity: 'uint' = None |
| GroupCount: 'uint' = None |
| GroupList: typing.List['uint'] = None |
| |
| @dataclass |
| class RemoveGroup(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="GroupId", Tag=0, Type=uint), |
| ]) |
| |
| GroupId: 'uint' = None |
| |
| @dataclass |
| class RemoveGroupResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @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' = None |
| GroupId: 'uint' = None |
| |
| @dataclass |
| class RemoveAllGroups(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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 |
| |
| @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' = None |
| GroupName: 'str' = None |
| |
| class Attributes: |
| class NameSupport(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class Scenes: |
| id: typing.ClassVar[int] = 0x0005 |
| |
| class Structs: |
| @dataclass |
| class SceneExtensionFieldSet(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ClusterId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Length", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Value", Tag=2, Type=uint), |
| ]) |
| |
| ClusterId: 'uint' = None |
| Length: 'uint' = None |
| Value: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class AddScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), |
| ]) |
| |
| GroupId: 'uint' = None |
| SceneId: 'uint' = None |
| TransitionTime: 'uint' = None |
| SceneName: 'str' = None |
| ExtensionFieldSets: typing.List['Scenes.Structs.SceneExtensionFieldSet'] = None |
| |
| @dataclass |
| class AddSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| GroupId: 'uint' = None |
| SceneId: 'uint' = None |
| |
| @dataclass |
| class ViewScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| SceneId: 'uint' = None |
| |
| @dataclass |
| class ViewSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), |
| ]) |
| |
| Status: 'uint' = None |
| GroupId: 'uint' = None |
| SceneId: 'uint' = None |
| TransitionTime: 'uint' = None |
| SceneName: 'str' = None |
| ExtensionFieldSets: typing.List['Scenes.Structs.SceneExtensionFieldSet'] = None |
| |
| @dataclass |
| class RemoveScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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' = None |
| SceneId: 'uint' = None |
| |
| @dataclass |
| class RemoveSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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' = None |
| GroupId: 'uint' = None |
| SceneId: 'uint' = None |
| |
| @dataclass |
| class RemoveAllScenes(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="GroupId", Tag=0, Type=uint), |
| ]) |
| |
| GroupId: 'uint' = None |
| |
| @dataclass |
| class RemoveAllScenesResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @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' = None |
| GroupId: 'uint' = None |
| |
| @dataclass |
| class StoreScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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' = None |
| SceneId: 'uint' = None |
| |
| @dataclass |
| class StoreSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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' = None |
| GroupId: 'uint' = None |
| SceneId: 'uint' = None |
| |
| @dataclass |
| class RecallScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @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' = None |
| SceneId: 'uint' = None |
| TransitionTime: 'uint' = None |
| |
| @dataclass |
| class GetSceneMembership(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="GroupId", Tag=0, Type=uint), |
| ]) |
| |
| GroupId: 'uint' = None |
| |
| @dataclass |
| class GetSceneMembershipResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @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=uint, IsArray=True), |
| ]) |
| |
| Status: 'uint' = None |
| Capacity: 'uint' = None |
| GroupId: 'uint' = None |
| SceneCount: 'uint' = None |
| SceneList: typing.List['uint'] = None |
| |
| @dataclass |
| class EnhancedAddScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0040 |
| |
| @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=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), |
| ]) |
| |
| GroupId: 'uint' = None |
| SceneId: 'uint' = None |
| TransitionTime: 'uint' = None |
| SceneName: 'str' = None |
| ExtensionFieldSets: typing.List['Scenes.Structs.SceneExtensionFieldSet'] = None |
| |
| @dataclass |
| class EnhancedAddSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0040 |
| |
| @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' = None |
| GroupId: 'uint' = None |
| SceneId: 'uint' = None |
| |
| @dataclass |
| class EnhancedViewScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0041 |
| |
| @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' = None |
| SceneId: 'uint' = None |
| |
| @dataclass |
| class EnhancedViewSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0041 |
| |
| @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=Scenes.Structs.SceneExtensionFieldSet, IsArray=True), |
| ]) |
| |
| Status: 'uint' = None |
| GroupId: 'uint' = None |
| SceneId: 'uint' = None |
| TransitionTime: 'uint' = None |
| SceneName: 'str' = None |
| ExtensionFieldSets: typing.List['Scenes.Structs.SceneExtensionFieldSet'] = None |
| |
| @dataclass |
| class CopyScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0042 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Mode", Tag=0, Type=int), |
| 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: 'int' = None |
| GroupIdFrom: 'uint' = None |
| SceneIdFrom: 'uint' = None |
| GroupIdTo: 'uint' = None |
| SceneIdTo: 'uint' = None |
| |
| @dataclass |
| class CopySceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0042 |
| |
| @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' = None |
| GroupIdFrom: 'uint' = None |
| SceneIdFrom: 'uint' = None |
| |
| class Attributes: |
| class SceneCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentScene(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentGroup(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SceneValid(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class NameSupport(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LastConfiguredBy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class OnOff: |
| id: typing.ClassVar[int] = 0x0006 |
| |
| 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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SampleMfgSpecificOffWithTransition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SampleMfgSpecificOnWithTransition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SampleMfgSpecificOnWithTransition2(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SampleMfgSpecificToggleWithTransition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SampleMfgSpecificToggleWithTransition2(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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 |
| |
| @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' = None |
| EffectVariant: 'OnOff.Enums.OnOffDelayedAllOffEffectVariant' = None |
| |
| @dataclass |
| class OnWithRecallGlobalScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0041 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="OnOffControl", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="OnTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="OffWaitTime", Tag=2, Type=uint), |
| ]) |
| |
| OnOffControl: 'int' = None |
| OnTime: 'uint' = None |
| OffWaitTime: 'uint' = None |
| |
| class Attributes: |
| class OnOff(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class SampleMfgSpecificAttribute0x00000x1002(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SampleMfgSpecificAttribute0x00000x1049(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SampleMfgSpecificAttribute0x00010x1002(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SampleMfgSpecificAttribute0x00010x1040(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class GlobalSceneControl(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class OnTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OffWaitTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class StartUpOnOff(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class OnOffSwitchConfiguration: |
| id: typing.ClassVar[int] = 0x0007 |
| |
| class Attributes: |
| class SwitchType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SwitchActions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class LevelControl: |
| id: typing.ClassVar[int] = 0x0008 |
| |
| 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 |
| |
| @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' = None |
| TransitionTime: 'uint' = None |
| OptionMask: 'uint' = None |
| OptionOverride: 'uint' = None |
| |
| @dataclass |
| class Move(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| Rate: 'uint' = None |
| OptionMask: 'uint' = None |
| OptionOverride: 'uint' = None |
| |
| @dataclass |
| class Step(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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' = None |
| StepSize: 'uint' = None |
| TransitionTime: 'uint' = None |
| OptionMask: 'uint' = None |
| OptionOverride: 'uint' = None |
| |
| @dataclass |
| class Stop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @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' = None |
| OptionOverride: 'uint' = None |
| |
| @dataclass |
| class MoveToLevelWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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' = None |
| TransitionTime: 'uint' = None |
| |
| @dataclass |
| class MoveWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @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' = None |
| Rate: 'uint' = None |
| |
| @dataclass |
| class StepWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @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' = None |
| StepSize: 'uint' = None |
| TransitionTime: 'uint' = None |
| |
| @dataclass |
| class StopWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class CurrentLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RemainingTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MinLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MaxLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MinFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MaxFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Options(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OnOffTransitionTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OnLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OnTransitionTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OffTransitionTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DefaultMoveRate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class StartUpCurrentLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class Alarms: |
| id: typing.ClassVar[int] = 0x0009 |
| |
| class Commands: |
| @dataclass |
| class ResetAlarm(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| ClusterId: 'uint' = None |
| |
| @dataclass |
| class Alarm(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| ClusterId: 'uint' = None |
| |
| @dataclass |
| class ResetAllAlarms(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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 |
| |
| @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' = None |
| AlarmCode: 'uint' = None |
| ClusterId: 'uint' = None |
| TimeStamp: 'uint' = None |
| |
| @dataclass |
| class GetAlarm(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class AlarmCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class Time: |
| id: typing.ClassVar[int] = 0x000A |
| |
| class Attributes: |
| class Time(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TimeStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TimeZone(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class DstStart(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DstEnd(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DstShift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class StandardTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LocalTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LastSetTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ValidUntilTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class BinaryInputBasic: |
| id: typing.ClassVar[int] = 0x000F |
| |
| class Attributes: |
| class ActiveText(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class Description(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class InactiveText(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class OutOfService(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0051 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class Polarity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0054 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PresentValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0055 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class Reliability(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0067 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class StatusFlags(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x006F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ApplicationType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0100 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class PowerProfile: |
| id: typing.ClassVar[int] = 0x001A |
| |
| class Structs: |
| @dataclass |
| class PowerProfileRecord(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="EnergyPhaseId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileRemoteControl", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileState", Tag=3, Type=uint), |
| ]) |
| |
| PowerProfileId: 'uint' = None |
| EnergyPhaseId: 'uint' = None |
| PowerProfileRemoteControl: 'bool' = None |
| PowerProfileState: 'uint' = None |
| |
| @dataclass |
| class ScheduledPhase(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="EnergyPhaseId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="ScheduledTime", Tag=1, Type=uint), |
| ]) |
| |
| EnergyPhaseId: 'uint' = None |
| ScheduledTime: 'uint' = None |
| |
| @dataclass |
| class TransferredPhase(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="EnergyPhaseId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="MacroPhaseId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="ExpectedDuration", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="PeakPower", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Energy", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="MaxActivationDelay", Tag=5, Type=uint), |
| ]) |
| |
| EnergyPhaseId: 'uint' = None |
| MacroPhaseId: 'uint' = None |
| ExpectedDuration: 'uint' = None |
| PeakPower: 'uint' = None |
| Energy: 'uint' = None |
| MaxActivationDelay: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class PowerProfileRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| PowerProfileId: 'uint' = None |
| |
| @dataclass |
| class PowerProfileNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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=PowerProfile.Structs.TransferredPhase, IsArray=True), |
| ]) |
| |
| TotalProfileNum: 'uint' = None |
| PowerProfileId: 'uint' = None |
| NumOfTransferredPhases: 'uint' = None |
| TransferredPhases: typing.List['PowerProfile.Structs.TransferredPhase'] = None |
| |
| @dataclass |
| class PowerProfileStateRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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 |
| |
| @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=PowerProfile.Structs.TransferredPhase, IsArray=True), |
| ]) |
| |
| TotalProfileNum: 'uint' = None |
| PowerProfileId: 'uint' = None |
| NumOfTransferredPhases: 'uint' = None |
| TransferredPhases: typing.List['PowerProfile.Structs.TransferredPhase'] = None |
| |
| @dataclass |
| class GetPowerProfilePriceResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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' = None |
| Currency: 'uint' = None |
| Price: 'uint' = None |
| PriceTrailingDigit: 'uint' = None |
| |
| @dataclass |
| class PowerProfileStateResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileRecords", Tag=1, Type=PowerProfile.Structs.PowerProfileRecord, IsArray=True), |
| ]) |
| |
| PowerProfileCount: 'uint' = None |
| PowerProfileRecords: typing.List['PowerProfile.Structs.PowerProfileRecord'] = None |
| |
| @dataclass |
| class GetOverallSchedulePriceResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @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' = None |
| Price: 'uint' = None |
| PriceTrailingDigit: 'uint' = None |
| |
| @dataclass |
| class GetPowerProfilePrice(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| PowerProfileId: 'uint' = None |
| |
| @dataclass |
| class EnergyPhasesScheduleNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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=PowerProfile.Structs.ScheduledPhase, IsArray=True), |
| ]) |
| |
| PowerProfileId: 'uint' = None |
| NumOfScheduledPhases: 'uint' = None |
| ScheduledPhases: typing.List['PowerProfile.Structs.ScheduledPhase'] = None |
| |
| @dataclass |
| class PowerProfilesStateNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileRecords", Tag=1, Type=PowerProfile.Structs.PowerProfileRecord, IsArray=True), |
| ]) |
| |
| PowerProfileCount: 'uint' = None |
| PowerProfileRecords: typing.List['PowerProfile.Structs.PowerProfileRecord'] = None |
| |
| @dataclass |
| class EnergyPhasesScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @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=PowerProfile.Structs.ScheduledPhase, IsArray=True), |
| ]) |
| |
| PowerProfileId: 'uint' = None |
| NumOfScheduledPhases: 'uint' = None |
| ScheduledPhases: typing.List['PowerProfile.Structs.ScheduledPhase'] = None |
| |
| @dataclass |
| class GetOverallSchedulePrice(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| PowerProfileId: 'uint' = None |
| |
| @dataclass |
| class EnergyPhasesScheduleRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| PowerProfileId: 'uint' = None |
| |
| @dataclass |
| class EnergyPhasesScheduleStateRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="PowerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| PowerProfileId: 'uint' = None |
| |
| @dataclass |
| class EnergyPhasesScheduleStateResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @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=PowerProfile.Structs.ScheduledPhase, IsArray=True), |
| ]) |
| |
| PowerProfileId: 'uint' = None |
| NumOfScheduledPhases: 'uint' = None |
| ScheduledPhases: typing.List['PowerProfile.Structs.ScheduledPhase'] = None |
| |
| @dataclass |
| class GetPowerProfilePriceExtendedResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @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' = None |
| Currency: 'uint' = None |
| Price: 'uint' = None |
| PriceTrailingDigit: 'uint' = None |
| |
| @dataclass |
| class EnergyPhasesScheduleStateNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @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=PowerProfile.Structs.ScheduledPhase, IsArray=True), |
| ]) |
| |
| PowerProfileId: 'uint' = None |
| NumOfScheduledPhases: 'uint' = None |
| ScheduledPhases: typing.List['PowerProfile.Structs.ScheduledPhase'] = None |
| |
| @dataclass |
| class PowerProfileScheduleConstraintsNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0009 |
| |
| @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' = None |
| StartAfter: 'uint' = None |
| StopBefore: 'uint' = None |
| |
| @dataclass |
| class PowerProfileScheduleConstraintsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x000A |
| |
| @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' = None |
| StartAfter: 'uint' = None |
| StopBefore: 'uint' = None |
| |
| @dataclass |
| class GetPowerProfilePriceExtended(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x000B |
| |
| @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' = None |
| PowerProfileId: 'uint' = None |
| PowerProfileStartTime: 'uint' = None |
| |
| class Attributes: |
| class TotalProfileNum(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MultipleScheduling(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class EnergyFormatting(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class EnergyRemote(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class ScheduleMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ApplianceControl: |
| id: typing.ClassVar[int] = 0x001B |
| |
| 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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="CommandId", Tag=0, Type=ApplianceControl.Enums.CommandIdentification), |
| ]) |
| |
| CommandId: 'ApplianceControl.Enums.CommandIdentification' = None |
| |
| @dataclass |
| class SignalStateResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ApplianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus), |
| ClusterObjectFieldDescriptor( |
| Label="RemoteEnableFlagsAndDeviceStatus2", Tag=1, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="ApplianceStatus2", Tag=2, Type=ApplianceControl.Enums.ApplianceStatus), |
| ]) |
| |
| ApplianceStatus: 'ApplianceControl.Enums.ApplianceStatus' = None |
| RemoteEnableFlagsAndDeviceStatus2: 'int' = None |
| ApplianceStatus2: 'ApplianceControl.Enums.ApplianceStatus' = None |
| |
| @dataclass |
| class SignalState(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ApplianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus), |
| ClusterObjectFieldDescriptor( |
| Label="RemoteEnableFlagsAndDeviceStatus2", Tag=1, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="ApplianceStatus2", Tag=2, Type=ApplianceControl.Enums.ApplianceStatus), |
| ]) |
| |
| ApplianceStatus: 'ApplianceControl.Enums.ApplianceStatus' = None |
| RemoteEnableFlagsAndDeviceStatus2: 'int' = None |
| ApplianceStatus2: 'ApplianceControl.Enums.ApplianceStatus' = None |
| |
| @dataclass |
| class WriteFunctions(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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=uint, IsArray=True), |
| ]) |
| |
| FunctionId: 'uint' = None |
| FunctionDataType: 'uint' = None |
| FunctionData: typing.List['uint'] = None |
| |
| @dataclass |
| class OverloadPauseResume(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @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 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="WarningEvent", Tag=0, Type=ApplianceControl.Enums.WarningEvent), |
| ]) |
| |
| WarningEvent: 'ApplianceControl.Enums.WarningEvent' = None |
| |
| class Attributes: |
| class StartTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FinishTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RemainingTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class Descriptor: |
| id: typing.ClassVar[int] = 0x001D |
| |
| class Structs: |
| @dataclass |
| class DeviceType(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Type", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Revision", Tag=1, Type=uint), |
| ]) |
| |
| Type: 'uint' = None |
| Revision: 'uint' = None |
| |
| class Attributes: |
| class DeviceList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=Descriptor.Structs.DeviceType, IsArray=True) |
| |
| class ServerList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) |
| |
| class ClientList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) |
| |
| class PartsList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class PollControl: |
| id: typing.ClassVar[int] = 0x0020 |
| |
| class Commands: |
| @dataclass |
| class CheckIn(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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 |
| |
| @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' = None |
| FastPollTimeout: 'uint' = None |
| |
| @dataclass |
| class FastPollStop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NewLongPollInterval", Tag=0, Type=uint), |
| ]) |
| |
| NewLongPollInterval: 'uint' = None |
| |
| @dataclass |
| class SetShortPollInterval(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NewShortPollInterval", Tag=0, Type=uint), |
| ]) |
| |
| NewShortPollInterval: 'uint' = None |
| |
| class Attributes: |
| class CheckInInterval(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LongPollInterval(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ShortPollInterval(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FastPollTimeout(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CheckInIntervalMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LongPollIntervalMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FastPollTimeoutMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class Basic: |
| id: typing.ClassVar[int] = 0x0028 |
| |
| class Commands: |
| @dataclass |
| class StartUp(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0028 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MfgSpecificPing(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0028 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ShutDown(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0028 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Leave(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0028 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class InteractionModelVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class VendorName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class VendorID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ProductName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class ProductID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class UserLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class Location(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class HardwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class HardwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class SoftwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SoftwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class ManufacturingDate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class PartNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class ProductURL(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class ProductLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class SerialNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class LocalConfigDisabled(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class Reachable(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class OtaSoftwareUpdateProvider: |
| id: typing.ClassVar[int] = 0x0029 |
| |
| 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 |
| |
| class Commands: |
| @dataclass |
| class QueryImage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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="HardwareVersion", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="SoftwareVersion", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="ProtocolsSupported", Tag=4, Type=OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol), |
| ClusterObjectFieldDescriptor( |
| Label="Location", Tag=5, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="RequestorCanConsent", Tag=6, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="MetadataForProvider", Tag=7, Type=bytes), |
| ]) |
| |
| VendorId: 'uint' = None |
| ProductId: 'uint' = None |
| HardwareVersion: 'uint' = None |
| SoftwareVersion: 'uint' = None |
| ProtocolsSupported: 'OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol' = None |
| Location: 'str' = None |
| RequestorCanConsent: 'bool' = None |
| MetadataForProvider: 'bytes' = None |
| |
| @dataclass |
| class ApplyUpdateRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| NewVersion: 'uint' = None |
| |
| @dataclass |
| class NotifyUpdateApplied(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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' = None |
| SoftwareVersion: 'uint' = None |
| |
| @dataclass |
| class QueryImageResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAQueryStatus), |
| ClusterObjectFieldDescriptor( |
| Label="DelayedActionTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="ImageURI", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="SoftwareVersion", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="SoftwareVersionString", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="UpdateToken", Tag=5, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="UserConsentNeeded", Tag=6, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="MetadataForRequestor", Tag=7, Type=bytes), |
| ]) |
| |
| Status: 'OtaSoftwareUpdateProvider.Enums.OTAQueryStatus' = None |
| DelayedActionTime: 'uint' = None |
| ImageURI: 'str' = None |
| SoftwareVersion: 'uint' = None |
| SoftwareVersionString: 'str' = None |
| UpdateToken: 'bytes' = None |
| UserConsentNeeded: 'bool' = None |
| MetadataForRequestor: 'bytes' = None |
| |
| @dataclass |
| class ApplyUpdateRequestResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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' = None |
| DelayedActionTime: 'uint' = None |
| |
| class Attributes: |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class OtaSoftwareUpdateRequestor: |
| id: typing.ClassVar[int] = 0x002A |
| |
| class Enums: |
| class OTAAnnouncementReason(IntEnum): |
| kSimpleAnnouncement = 0x00 |
| kUpdateAvailable = 0x01 |
| kUrgentUpdateAvailable = 0x02 |
| |
| class Commands: |
| @dataclass |
| class AnnounceOtaProvider(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x002A |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ProviderLocation", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="VendorId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="AnnouncementReason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason), |
| ClusterObjectFieldDescriptor( |
| Label="MetadataForNode", Tag=3, Type=bytes), |
| ]) |
| |
| ProviderLocation: 'bytes' = None |
| VendorId: 'uint' = None |
| AnnouncementReason: 'OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason' = None |
| MetadataForNode: 'bytes' = None |
| |
| class Attributes: |
| class DefaultOtaProvider(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class UpdatePossible(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class PowerSource: |
| id: typing.ClassVar[int] = 0x002F |
| |
| class Attributes: |
| class Status(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Order(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Description(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class WiredAssessedInputVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class WiredAssessedInputFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class WiredCurrentType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class WiredAssessedCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class WiredNominalVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class WiredMaximumCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class WiredPresent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class ActiveWiredFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) |
| |
| class BatteryVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryPercentRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryTimeRemaining(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryChargeLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryReplacementNeeded(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class BatteryReplaceability(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryPresent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class ActiveBatteryFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) |
| |
| class BatteryReplacementDescription(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class BatteryCommonDesignation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryANSIDesignation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class BatteryIECDesignation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class BatteryApprovedChemistry(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryCapacity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryQuantity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryChargeState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryTimeToFullCharge(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BatteryFunctionalWhileCharging(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class BatteryChargingCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ActiveBatteryChargeFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class GeneralCommissioning: |
| id: typing.ClassVar[int] = 0x0030 |
| |
| class Enums: |
| class GeneralCommissioningError(IntEnum): |
| kOk = 0x00 |
| kValueOutsideRange = 0x01 |
| kInvalidAuthentication = 0x02 |
| |
| 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=0, Type=uint), |
| ]) |
| |
| FailSafeExpiryLengthMs: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class ArmFailSafe(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| Breadcrumb: 'uint' = None |
| TimeoutMs: 'uint' = None |
| |
| @dataclass |
| class ArmFailSafeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| DebugText: 'str' = None |
| |
| @dataclass |
| class SetRegulatoryConfig(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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' = None |
| CountryCode: 'str' = None |
| Breadcrumb: 'uint' = None |
| TimeoutMs: 'uint' = None |
| |
| @dataclass |
| class SetRegulatoryConfigResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @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' = None |
| DebugText: 'str' = None |
| |
| @dataclass |
| class CommissioningComplete(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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 |
| |
| @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' = None |
| DebugText: 'str' = None |
| |
| class Attributes: |
| class Breadcrumb(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BasicCommissioningInfoList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Structs.BasicCommissioningInfoType, IsArray=True) |
| |
| class RegulatoryConfigList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Enums.RegulatoryLocationType, IsArray=True) |
| |
| class LocationCapabilityList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Enums.RegulatoryLocationType, IsArray=True) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class NetworkCommissioning: |
| id: typing.ClassVar[int] = 0x0031 |
| |
| class Enums: |
| class NetworkCommissioningError(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 |
| kLabel9 = 0x0C |
| kLabel10 = 0x0D |
| kLabel11 = 0x0E |
| kLabel12 = 0x0F |
| kLabel13 = 0x10 |
| kLabel14 = 0x11 |
| kLabel15 = 0x12 |
| kUnknownError = 0x13 |
| |
| class Structs: |
| @dataclass |
| class ThreadInterfaceScanResult(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="DiscoveryResponse", Tag=0, Type=bytes), |
| ]) |
| |
| DiscoveryResponse: 'bytes' = None |
| |
| @dataclass |
| class WiFiInterfaceScanResult(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Security", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Ssid", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="Bssid", Tag=2, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="Channel", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="FrequencyBand", Tag=4, Type=uint), |
| ]) |
| |
| Security: 'uint' = None |
| Ssid: 'bytes' = None |
| Bssid: 'bytes' = None |
| Channel: 'uint' = None |
| FrequencyBand: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class ScanNetworks(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Ssid", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="Breadcrumb", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="TimeoutMs", Tag=2, Type=uint), |
| ]) |
| |
| Ssid: 'bytes' = None |
| Breadcrumb: 'uint' = None |
| TimeoutMs: 'uint' = None |
| |
| @dataclass |
| class ScanNetworksResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ErrorCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="DebugText", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="WifiScanResults", Tag=2, Type=NetworkCommissioning.Structs.WiFiInterfaceScanResult, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="ThreadScanResults", Tag=3, Type=NetworkCommissioning.Structs.ThreadInterfaceScanResult, IsArray=True), |
| ]) |
| |
| ErrorCode: 'uint' = None |
| DebugText: 'str' = None |
| WifiScanResults: typing.List['NetworkCommissioning.Structs.WiFiInterfaceScanResult'] = None |
| ThreadScanResults: typing.List['NetworkCommissioning.Structs.ThreadInterfaceScanResult'] = None |
| |
| @dataclass |
| class AddWiFiNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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), |
| ClusterObjectFieldDescriptor( |
| Label="TimeoutMs", Tag=3, Type=uint), |
| ]) |
| |
| Ssid: 'bytes' = None |
| Credentials: 'bytes' = None |
| Breadcrumb: 'uint' = None |
| TimeoutMs: 'uint' = None |
| |
| @dataclass |
| class AddWiFiNetworkResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ErrorCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="DebugText", Tag=1, Type=str), |
| ]) |
| |
| ErrorCode: 'uint' = None |
| DebugText: 'str' = None |
| |
| @dataclass |
| class UpdateWiFiNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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), |
| ClusterObjectFieldDescriptor( |
| Label="TimeoutMs", Tag=3, Type=uint), |
| ]) |
| |
| Ssid: 'bytes' = None |
| Credentials: 'bytes' = None |
| Breadcrumb: 'uint' = None |
| TimeoutMs: 'uint' = None |
| |
| @dataclass |
| class UpdateWiFiNetworkResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ErrorCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="DebugText", Tag=1, Type=str), |
| ]) |
| |
| ErrorCode: 'uint' = None |
| DebugText: 'str' = None |
| |
| @dataclass |
| class AddThreadNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="OperationalDataset", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="Breadcrumb", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="TimeoutMs", Tag=2, Type=uint), |
| ]) |
| |
| OperationalDataset: 'bytes' = None |
| Breadcrumb: 'uint' = None |
| TimeoutMs: 'uint' = None |
| |
| @dataclass |
| class AddThreadNetworkResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ErrorCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="DebugText", Tag=1, Type=str), |
| ]) |
| |
| ErrorCode: 'uint' = None |
| DebugText: 'str' = None |
| |
| @dataclass |
| class UpdateThreadNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="OperationalDataset", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="Breadcrumb", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="TimeoutMs", Tag=2, Type=uint), |
| ]) |
| |
| OperationalDataset: 'bytes' = None |
| Breadcrumb: 'uint' = None |
| TimeoutMs: 'uint' = None |
| |
| @dataclass |
| class UpdateThreadNetworkResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0009 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ErrorCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="DebugText", Tag=1, Type=str), |
| ]) |
| |
| ErrorCode: 'uint' = None |
| DebugText: 'str' = None |
| |
| @dataclass |
| class RemoveNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x000A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NetworkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="Breadcrumb", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="TimeoutMs", Tag=2, Type=uint), |
| ]) |
| |
| NetworkID: 'bytes' = None |
| Breadcrumb: 'uint' = None |
| TimeoutMs: 'uint' = None |
| |
| @dataclass |
| class RemoveNetworkResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x000B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ErrorCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="DebugText", Tag=1, Type=str), |
| ]) |
| |
| ErrorCode: 'uint' = None |
| DebugText: 'str' = None |
| |
| @dataclass |
| class EnableNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x000C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NetworkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="Breadcrumb", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="TimeoutMs", Tag=2, Type=uint), |
| ]) |
| |
| NetworkID: 'bytes' = None |
| Breadcrumb: 'uint' = None |
| TimeoutMs: 'uint' = None |
| |
| @dataclass |
| class EnableNetworkResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x000D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ErrorCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="DebugText", Tag=1, Type=str), |
| ]) |
| |
| ErrorCode: 'uint' = None |
| DebugText: 'str' = None |
| |
| @dataclass |
| class DisableNetwork(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x000E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NetworkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="Breadcrumb", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="TimeoutMs", Tag=2, Type=uint), |
| ]) |
| |
| NetworkID: 'bytes' = None |
| Breadcrumb: 'uint' = None |
| TimeoutMs: 'uint' = None |
| |
| @dataclass |
| class DisableNetworkResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x000F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ErrorCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="DebugText", Tag=1, Type=str), |
| ]) |
| |
| ErrorCode: 'uint' = None |
| DebugText: 'str' = None |
| |
| @dataclass |
| class GetLastNetworkCommissioningResult(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0031 |
| command_id: typing.ClassVar[int] = 0x0010 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="TimeoutMs", Tag=0, Type=uint), |
| ]) |
| |
| TimeoutMs: 'uint' = None |
| |
| class Attributes: |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class DiagnosticLogs: |
| id: typing.ClassVar[int] = 0x0032 |
| |
| 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 |
| |
| @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' = None |
| RequestedProtocol: 'DiagnosticLogs.Enums.LogsTransferProtocol' = None |
| TransferFileDesignator: 'bytes' = None |
| |
| @dataclass |
| class RetrieveLogsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0032 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| Content: 'bytes' = None |
| TimeStamp: 'uint' = None |
| TimeSinceBoot: 'uint' = None |
| |
| class Attributes: |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class GeneralDiagnostics: |
| id: typing.ClassVar[int] = 0x0033 |
| |
| 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=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="FabricConnected", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="OffPremiseServicesReachableIPv4", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="OffPremiseServicesReachableIPv6", Tag=3, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="HardwareAddress", Tag=4, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="Type", Tag=5, Type=GeneralDiagnostics.Enums.InterfaceType), |
| ]) |
| |
| Name: 'str' = None |
| FabricConnected: 'bool' = None |
| OffPremiseServicesReachableIPv4: 'bool' = None |
| OffPremiseServicesReachableIPv6: 'bool' = None |
| HardwareAddress: 'bytes' = None |
| Type: 'GeneralDiagnostics.Enums.InterfaceType' = None |
| |
| class Attributes: |
| class NetworkInterfaces(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=GeneralDiagnostics.Structs.NetworkInterfaceType, IsArray=True) |
| |
| class RebootCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class UpTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TotalOperationalHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BootReasons(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ActiveHardwareFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) |
| |
| class ActiveRadioFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) |
| |
| class ActiveNetworkFaults(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class SoftwareDiagnostics: |
| id: typing.ClassVar[int] = 0x0034 |
| |
| class Structs: |
| @dataclass |
| class ThreadMetrics(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Id", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Name", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="StackFreeCurrent", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="StackFreeMinimum", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="StackSize", Tag=4, Type=uint), |
| ]) |
| |
| Id: 'uint' = None |
| Name: 'str' = None |
| StackFreeCurrent: 'uint' = None |
| StackFreeMinimum: 'uint' = None |
| StackSize: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class ResetWatermarks(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0034 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class ThreadMetrics(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=SoftwareDiagnostics.Structs.ThreadMetrics, IsArray=True) |
| |
| class CurrentHeapFree(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentHeapUsed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentHeapHighWatermark(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ThreadNetworkDiagnostics: |
| id: typing.ClassVar[int] = 0x0035 |
| |
| 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 Structs: |
| @dataclass |
| class NeighborTable(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ExtAddress", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Age", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Rloc16", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LinkFrameCounter", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="MleFrameCounter", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Lqi", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="AverageRssi", Tag=6, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="LastRssi", Tag=7, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="FrameErrorRate", Tag=8, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="MessageErrorRate", Tag=9, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="RxOnWhenIdle", Tag=10, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="FullThreadDevice", Tag=11, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="FullNetworkData", Tag=12, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="IsChild", Tag=13, Type=bool), |
| ]) |
| |
| ExtAddress: 'uint' = None |
| Age: 'uint' = None |
| Rloc16: 'uint' = None |
| LinkFrameCounter: 'uint' = None |
| MleFrameCounter: 'uint' = None |
| Lqi: 'uint' = None |
| AverageRssi: 'int' = None |
| LastRssi: 'int' = None |
| FrameErrorRate: 'uint' = None |
| MessageErrorRate: 'uint' = None |
| RxOnWhenIdle: 'bool' = None |
| FullThreadDevice: 'bool' = None |
| FullNetworkData: 'bool' = None |
| IsChild: 'bool' = None |
| |
| @dataclass |
| class OperationalDatasetComponents(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ActiveTimestampPresent", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="PendingTimestampPresent", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="MasterKeyPresent", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="NetworkNamePresent", Tag=3, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="ExtendedPanIdPresent", Tag=4, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="MeshLocalPrefixPresent", Tag=5, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="DelayPresent", Tag=6, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="PanIdPresent", Tag=7, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="ChannelPresent", Tag=8, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="PskcPresent", Tag=9, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="SecurityPolicyPresent", Tag=10, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="ChannelMaskPresent", Tag=11, Type=bool), |
| ]) |
| |
| ActiveTimestampPresent: 'bool' = None |
| PendingTimestampPresent: 'bool' = None |
| MasterKeyPresent: 'bool' = None |
| NetworkNamePresent: 'bool' = None |
| ExtendedPanIdPresent: 'bool' = None |
| MeshLocalPrefixPresent: 'bool' = None |
| DelayPresent: 'bool' = None |
| PanIdPresent: 'bool' = None |
| ChannelPresent: 'bool' = None |
| PskcPresent: 'bool' = None |
| SecurityPolicyPresent: 'bool' = None |
| ChannelMaskPresent: 'bool' = None |
| |
| @dataclass |
| class RouteTable(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ExtAddress", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Rloc16", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="RouterId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="NextHop", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="PathCost", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LQIIn", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LQIOut", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Age", Tag=7, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Allocated", Tag=8, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="LinkEstablished", Tag=9, Type=bool), |
| ]) |
| |
| ExtAddress: 'uint' = None |
| Rloc16: 'uint' = None |
| RouterId: 'uint' = None |
| NextHop: 'uint' = None |
| PathCost: 'uint' = None |
| LQIIn: 'uint' = None |
| LQIOut: 'uint' = None |
| Age: 'uint' = None |
| Allocated: 'bool' = None |
| LinkEstablished: 'bool' = None |
| |
| @dataclass |
| class SecurityPolicy(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="RotationTime", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Flags", Tag=1, Type=uint), |
| ]) |
| |
| RotationTime: 'uint' = None |
| Flags: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class ResetCounts(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0035 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class Channel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RoutingRole(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NetworkName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class PanId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ExtendedPanId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MeshLocalPrefix(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class OverrunCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NeighborTableList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ThreadNetworkDiagnostics.Structs.NeighborTable, IsArray=True) |
| |
| class RouteTableList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ThreadNetworkDiagnostics.Structs.RouteTable, IsArray=True) |
| |
| class PartitionId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Weighting(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DataVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class StableDataVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LeaderRouterId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DetachedRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ChildRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RouterRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LeaderRoleCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AttachAttemptCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PartitionIdChangeCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BetterPartitionAttachAttemptCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ParentChangeCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxTotalCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxUnicastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxBroadcastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxAckRequestedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxAckedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxNoAckRequestedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxDataCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxDataPollCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxBeaconCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxBeaconRequestCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxOtherCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxRetryCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxDirectMaxRetryExpiryCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxIndirectMaxRetryExpiryCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxErrCcaCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxErrAbortCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxErrBusyChannelCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0026 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxTotalCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0027 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxUnicastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxBroadcastCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxDataCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxDataPollCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxBeaconCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x002C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxBeaconRequestCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x002D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxOtherCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x002E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxAddressFilteredCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x002F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxDestAddrFilteredCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxDuplicatedCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxErrNoFrameCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxErrUnknownNeighborCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxErrInvalidSrcAddrCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxErrSecCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxErrFcsCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RxErrOtherCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ActiveTimestamp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PendingTimestamp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Delay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SecurityPolicy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ThreadNetworkDiagnostics.Structs.SecurityPolicy, IsArray=True) |
| |
| class ChannelMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class OperationalDatasetComponents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents, IsArray=True) |
| |
| class ActiveNetworkFaultsList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ThreadNetworkDiagnostics.Enums.NetworkFault, IsArray=True) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class WiFiNetworkDiagnostics: |
| id: typing.ClassVar[int] = 0x0036 |
| |
| class Enums: |
| class SecurityType(IntEnum): |
| kUnspecified = 0x00 |
| kNone = 0x01 |
| kWep = 0x02 |
| kWpa = 0x03 |
| kWpa2 = 0x04 |
| kWpa3 = 0x05 |
| |
| 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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class Bssid(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class SecurityType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class WiFiVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ChannelNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Rssi(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class BeaconLostCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BeaconRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PacketMulticastRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PacketMulticastTxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PacketUnicastRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PacketUnicastTxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentMaxRate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OverrunCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class EthernetNetworkDiagnostics: |
| id: typing.ClassVar[int] = 0x0037 |
| |
| 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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class PHYRate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FullDuplex(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class PacketRxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PacketTxCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TxErrCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CollisionCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OverrunCount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CarrierDetect(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class TimeSinceReset(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class BridgedDeviceBasic: |
| id: typing.ClassVar[int] = 0x0039 |
| |
| class Commands: |
| @dataclass |
| class StartUp(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0039 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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 |
| |
| @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 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class VendorName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class VendorID(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ProductName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class UserLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class HardwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class HardwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class SoftwareVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SoftwareVersionString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class ManufacturingDate(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class PartNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class ProductURL(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class ProductLabel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class SerialNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class Reachable(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0039 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class Switch: |
| id: typing.ClassVar[int] = 0x003B |
| |
| class Attributes: |
| class NumberOfPositions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentPosition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MultiPressMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class AdministratorCommissioning: |
| id: typing.ClassVar[int] = 0x003C |
| |
| class Enums: |
| class StatusCode(IntEnum): |
| kSuccess = 0x00 |
| kBusy = 0x01 |
| kGeneralError = 0x02 |
| |
| class Commands: |
| @dataclass |
| class OpenCommissioningWindow(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003C |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| PAKEVerifier: 'bytes' = None |
| Discriminator: 'uint' = None |
| Iterations: 'uint' = None |
| Salt: 'bytes' = None |
| PasscodeID: 'uint' = None |
| |
| @dataclass |
| class OpenBasicCommissioningWindow(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003C |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="CommissioningTimeout", Tag=0, Type=uint), |
| ]) |
| |
| CommissioningTimeout: 'uint' = None |
| |
| @dataclass |
| class RevokeCommissioning(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003C |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class OperationalCredentials: |
| id: typing.ClassVar[int] = 0x003E |
| |
| 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=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="RootPublicKey", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="VendorId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="FabricId", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="NodeId", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Label", Tag=5, Type=str), |
| ]) |
| |
| FabricIndex: 'uint' = None |
| RootPublicKey: 'bytes' = None |
| VendorId: 'uint' = None |
| FabricId: 'uint' = None |
| NodeId: 'uint' = None |
| Label: 'str' = None |
| |
| @dataclass |
| class NOCStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="FabricIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Noc", Tag=1, Type=bytes), |
| ]) |
| |
| FabricIndex: 'uint' = None |
| Noc: 'bytes' = None |
| |
| class Commands: |
| @dataclass |
| class AttestationRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="AttestationNonce", Tag=0, Type=bytes), |
| ]) |
| |
| AttestationNonce: 'bytes' = None |
| |
| @dataclass |
| class AttestationResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| Signature: 'bytes' = None |
| |
| @dataclass |
| class CertificateChainRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="CertificateType", Tag=0, Type=uint), |
| ]) |
| |
| CertificateType: 'uint' = None |
| |
| @dataclass |
| class CertificateChainResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Certificate", Tag=0, Type=bytes), |
| ]) |
| |
| Certificate: 'bytes' = None |
| |
| @dataclass |
| class OpCSRRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="CSRNonce", Tag=0, Type=bytes), |
| ]) |
| |
| CSRNonce: 'bytes' = None |
| |
| @dataclass |
| class OpCSRResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @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' = None |
| AttestationSignature: 'bytes' = None |
| |
| @dataclass |
| class AddNOC(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NOCValue", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="ICACValue", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="IPKValue", Tag=2, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="CaseAdminNode", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="AdminVendorId", Tag=4, Type=uint), |
| ]) |
| |
| NOCValue: 'bytes' = None |
| ICACValue: 'bytes' = None |
| IPKValue: 'bytes' = None |
| CaseAdminNode: 'uint' = None |
| AdminVendorId: 'uint' = None |
| |
| @dataclass |
| class UpdateNOC(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NOCValue", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="ICACValue", Tag=1, Type=bytes), |
| ]) |
| |
| NOCValue: 'bytes' = None |
| ICACValue: 'bytes' = None |
| |
| @dataclass |
| class NOCResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @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' = None |
| FabricIndex: 'uint' = None |
| DebugText: 'str' = None |
| |
| @dataclass |
| class UpdateFabricLabel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0009 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Label", Tag=0, Type=str), |
| ]) |
| |
| Label: 'str' = None |
| |
| @dataclass |
| class RemoveFabric(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x000A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="FabricIndex", Tag=0, Type=uint), |
| ]) |
| |
| FabricIndex: 'uint' = None |
| |
| @dataclass |
| class AddTrustedRootCertificate(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x000B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="RootCertificate", Tag=0, Type=bytes), |
| ]) |
| |
| RootCertificate: 'bytes' = None |
| |
| @dataclass |
| class RemoveTrustedRootCertificate(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x000C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="TrustedRootIdentifier", Tag=0, Type=bytes), |
| ]) |
| |
| TrustedRootIdentifier: 'bytes' = None |
| |
| class Attributes: |
| class FabricsList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=OperationalCredentials.Structs.FabricDescriptor, IsArray=True) |
| |
| class SupportedFabrics(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CommissionedFabrics(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TrustedRootCertificates(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes, IsArray=True) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class FixedLabel: |
| id: typing.ClassVar[int] = 0x0040 |
| |
| class Structs: |
| @dataclass |
| class LabelStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Label", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="Value", Tag=1, Type=str), |
| ]) |
| |
| Label: 'str' = None |
| Value: 'str' = None |
| |
| class Attributes: |
| class LabelList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=FixedLabel.Structs.LabelStruct, IsArray=True) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ShadeConfiguration: |
| id: typing.ClassVar[int] = 0x0100 |
| |
| class Attributes: |
| class PhysicalClosedLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MotorStepSize(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Status(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClosedLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Mode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0100 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class DoorLock: |
| id: typing.ClassVar[int] = 0x0101 |
| |
| class Enums: |
| 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 Commands: |
| @dataclass |
| class LockDoor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Pin", Tag=0, Type=bytes), |
| ]) |
| |
| Pin: 'bytes' = None |
| |
| @dataclass |
| class LockDoorResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class UnlockDoor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Pin", Tag=0, Type=bytes), |
| ]) |
| |
| Pin: 'bytes' = None |
| |
| @dataclass |
| class UnlockDoorResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class Toggle(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Pin", Tag=0, Type=str), |
| ]) |
| |
| Pin: 'str' = None |
| |
| @dataclass |
| class ToggleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class UnlockWithTimeout(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="TimeoutInSeconds", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Pin", Tag=1, Type=bytes), |
| ]) |
| |
| TimeoutInSeconds: 'uint' = None |
| Pin: 'bytes' = None |
| |
| @dataclass |
| class UnlockWithTimeoutResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class GetLogRecord(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="LogIndex", Tag=0, Type=uint), |
| ]) |
| |
| LogIndex: 'uint' = None |
| |
| @dataclass |
| class GetLogRecordResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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' = None |
| Timestamp: 'uint' = None |
| EventType: 'uint' = None |
| Source: 'uint' = None |
| EventIdOrAlarmCode: 'uint' = None |
| UserId: 'uint' = None |
| Pin: 'bytes' = None |
| |
| @dataclass |
| class SetPin(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), |
| ClusterObjectFieldDescriptor( |
| Label="UserType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), |
| ClusterObjectFieldDescriptor( |
| Label="Pin", Tag=3, Type=bytes), |
| ]) |
| |
| UserId: 'uint' = None |
| UserStatus: 'DoorLock.Enums.DoorLockUserStatus' = None |
| UserType: 'DoorLock.Enums.DoorLockUserType' = None |
| Pin: 'bytes' = None |
| |
| @dataclass |
| class SetPinResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=DoorLock.Enums.DoorLockSetPinOrIdStatus), |
| ]) |
| |
| Status: 'DoorLock.Enums.DoorLockSetPinOrIdStatus' = None |
| |
| @dataclass |
| class GetPin(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ]) |
| |
| UserId: 'uint' = None |
| |
| @dataclass |
| class GetPinResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), |
| ClusterObjectFieldDescriptor( |
| Label="UserType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), |
| ClusterObjectFieldDescriptor( |
| Label="Pin", Tag=3, Type=bytes), |
| ]) |
| |
| UserId: 'uint' = None |
| UserStatus: 'DoorLock.Enums.DoorLockUserStatus' = None |
| UserType: 'DoorLock.Enums.DoorLockUserType' = None |
| Pin: 'bytes' = None |
| |
| @dataclass |
| class ClearPin(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ]) |
| |
| UserId: 'uint' = None |
| |
| @dataclass |
| class ClearPinResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class ClearAllPins(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ClearAllPinsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class SetUserStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0009 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserStatus", Tag=1, Type=uint), |
| ]) |
| |
| UserId: 'uint' = None |
| UserStatus: 'uint' = None |
| |
| @dataclass |
| class SetUserStatusResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0009 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class GetUserStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ]) |
| |
| UserId: 'uint' = None |
| |
| @dataclass |
| class GetUserStatusResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=1, Type=uint), |
| ]) |
| |
| UserId: 'uint' = None |
| Status: 'uint' = None |
| |
| @dataclass |
| class SetWeekdaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="DaysMask", Tag=2, Type=int), |
| 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), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| UserId: 'uint' = None |
| DaysMask: 'int' = None |
| StartHour: 'uint' = None |
| StartMinute: 'uint' = None |
| EndHour: 'uint' = None |
| EndMinute: 'uint' = None |
| |
| @dataclass |
| class SetWeekdayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class GetWeekdaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=1, Type=uint), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| UserId: 'uint' = None |
| |
| @dataclass |
| class GetWeekdayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=2, Type=uint), |
| 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), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| UserId: 'uint' = None |
| Status: 'uint' = None |
| DaysMask: 'uint' = None |
| StartHour: 'uint' = None |
| StartMinute: 'uint' = None |
| EndHour: 'uint' = None |
| EndMinute: 'uint' = None |
| |
| @dataclass |
| class ClearWeekdaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=1, Type=uint), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| UserId: 'uint' = None |
| |
| @dataclass |
| class ClearWeekdayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class SetYeardaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LocalStartTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LocalEndTime", Tag=3, Type=uint), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| UserId: 'uint' = None |
| LocalStartTime: 'uint' = None |
| LocalEndTime: 'uint' = None |
| |
| @dataclass |
| class SetYeardayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000E |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class GetYeardaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=1, Type=uint), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| UserId: 'uint' = None |
| |
| @dataclass |
| class GetYeardayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x000F |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LocalStartTime", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LocalEndTime", Tag=4, Type=uint), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| UserId: 'uint' = None |
| Status: 'uint' = None |
| LocalStartTime: 'uint' = None |
| LocalEndTime: 'uint' = None |
| |
| @dataclass |
| class ClearYeardaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0010 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=1, Type=uint), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| UserId: 'uint' = None |
| |
| @dataclass |
| class ClearYeardayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0010 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class SetHolidaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0011 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LocalStartTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LocalEndTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="OperatingModeDuringHoliday", Tag=3, Type=uint), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| LocalStartTime: 'uint' = None |
| LocalEndTime: 'uint' = None |
| OperatingModeDuringHoliday: 'uint' = None |
| |
| @dataclass |
| class SetHolidayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0011 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class GetHolidaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0012 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| |
| @dataclass |
| class GetHolidayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0012 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LocalStartTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LocalEndTime", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="OperatingModeDuringHoliday", Tag=4, Type=uint), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| Status: 'uint' = None |
| LocalStartTime: 'uint' = None |
| LocalEndTime: 'uint' = None |
| OperatingModeDuringHoliday: 'uint' = None |
| |
| @dataclass |
| class ClearHolidaySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0013 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ScheduleId", Tag=0, Type=uint), |
| ]) |
| |
| ScheduleId: 'uint' = None |
| |
| @dataclass |
| class ClearHolidayScheduleResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0013 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class SetUserType(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0014 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserType", Tag=1, Type=DoorLock.Enums.DoorLockUserType), |
| ]) |
| |
| UserId: 'uint' = None |
| UserType: 'DoorLock.Enums.DoorLockUserType' = None |
| |
| @dataclass |
| class SetUserTypeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0014 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class GetUserType(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0015 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ]) |
| |
| UserId: 'uint' = None |
| |
| @dataclass |
| class GetUserTypeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0015 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserType", Tag=1, Type=DoorLock.Enums.DoorLockUserType), |
| ]) |
| |
| UserId: 'uint' = None |
| UserType: 'DoorLock.Enums.DoorLockUserType' = None |
| |
| @dataclass |
| class SetRfid(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0016 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), |
| ClusterObjectFieldDescriptor( |
| Label="UserType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), |
| ClusterObjectFieldDescriptor( |
| Label="Id", Tag=3, Type=bytes), |
| ]) |
| |
| UserId: 'uint' = None |
| UserStatus: 'DoorLock.Enums.DoorLockUserStatus' = None |
| UserType: 'DoorLock.Enums.DoorLockUserType' = None |
| Id: 'bytes' = None |
| |
| @dataclass |
| class SetRfidResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0016 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=DoorLock.Enums.DoorLockSetPinOrIdStatus), |
| ]) |
| |
| Status: 'DoorLock.Enums.DoorLockSetPinOrIdStatus' = None |
| |
| @dataclass |
| class GetRfid(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0017 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ]) |
| |
| UserId: 'uint' = None |
| |
| @dataclass |
| class GetRfidResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0017 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="UserStatus", Tag=1, Type=DoorLock.Enums.DoorLockUserStatus), |
| ClusterObjectFieldDescriptor( |
| Label="UserType", Tag=2, Type=DoorLock.Enums.DoorLockUserType), |
| ClusterObjectFieldDescriptor( |
| Label="Rfid", Tag=3, Type=bytes), |
| ]) |
| |
| UserId: 'uint' = None |
| UserStatus: 'DoorLock.Enums.DoorLockUserStatus' = None |
| UserType: 'DoorLock.Enums.DoorLockUserType' = None |
| Rfid: 'bytes' = None |
| |
| @dataclass |
| class ClearRfid(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0018 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=0, Type=uint), |
| ]) |
| |
| UserId: 'uint' = None |
| |
| @dataclass |
| class ClearRfidResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0018 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class ClearAllRfids(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0019 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ClearAllRfidsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0019 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=uint), |
| ]) |
| |
| Status: 'uint' = None |
| |
| @dataclass |
| class OperationEventNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0020 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Source", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="EventCode", Tag=1, Type=DoorLock.Enums.DoorLockOperationEventCode), |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Pin", Tag=3, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="TimeStamp", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Data", Tag=5, Type=str), |
| ]) |
| |
| Source: 'uint' = None |
| EventCode: 'DoorLock.Enums.DoorLockOperationEventCode' = None |
| UserId: 'uint' = None |
| Pin: 'bytes' = None |
| TimeStamp: 'uint' = None |
| Data: 'str' = None |
| |
| @dataclass |
| class ProgrammingEventNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0021 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Source", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="EventCode", Tag=1, Type=DoorLock.Enums.DoorLockProgrammingEventCode), |
| ClusterObjectFieldDescriptor( |
| Label="UserId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Pin", Tag=3, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="UserType", Tag=4, Type=DoorLock.Enums.DoorLockUserType), |
| ClusterObjectFieldDescriptor( |
| Label="UserStatus", Tag=5, Type=DoorLock.Enums.DoorLockUserStatus), |
| ClusterObjectFieldDescriptor( |
| Label="TimeStamp", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Data", Tag=7, Type=str), |
| ]) |
| |
| Source: 'uint' = None |
| EventCode: 'DoorLock.Enums.DoorLockProgrammingEventCode' = None |
| UserId: 'uint' = None |
| Pin: 'bytes' = None |
| UserType: 'DoorLock.Enums.DoorLockUserType' = None |
| UserStatus: 'DoorLock.Enums.DoorLockUserStatus' = None |
| TimeStamp: 'uint' = None |
| Data: 'str' = None |
| |
| class Attributes: |
| class LockState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LockType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ActuatorEnabled(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class DoorState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DoorOpenEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DoorClosedEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OpenPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumLockRecordsSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumTotalUsersSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumPinUsersSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumRfidUsersSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumWeekdaySchedulesSupportedPerUser(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumYeardaySchedulesSupportedPerUser(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumHolidaySchedulesSupportedPerUser(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MaxPinLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MinPinLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MaxRfidCodeLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MinRfidCodeLength(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class EnableLogging(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class Language(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class LedSettings(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AutoRelockTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SoundVolume(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OperatingMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SupportedOperatingModes(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0026 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DefaultConfigurationRegister(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0027 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class EnableLocalProgramming(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class EnableOneTouchLocking(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class EnableInsideStatusLed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class EnablePrivacyModeButton(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x002B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class WrongCodeEntryLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class UserCodeTemporaryDisableTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SendPinOverTheAir(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class RequirePinForRfOperation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class ZigbeeSecurityLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class KeypadOperationEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RfOperationEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0042 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ManualOperationEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0043 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RfidOperationEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0044 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class KeypadProgrammingEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RfProgrammingEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RfidProgrammingEventMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0047 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class WindowCovering: |
| id: typing.ClassVar[int] = 0x0102 |
| |
| class Enums: |
| class WcEndProductType(IntEnum): |
| kRollerShade = 0x00 |
| kRomanShade = 0x01 |
| kBalloonShade = 0x02 |
| kWovenWood = 0x03 |
| kPleatedShade = 0x04 |
| kCellularShade = 0x05 |
| kLayeredShade = 0x06 |
| kLayeredShade2D = 0x07 |
| kSheerShade = 0x08 |
| kTiltOnlyInteriorBlind = 0x09 |
| kInteriorBlind = 0x0A |
| kVerticalBlindStripCurtain = 0x0B |
| kInteriorVenetianBlind = 0x0C |
| kExteriorVenetianBlind = 0x0D |
| kLateralLeftCurtain = 0x0E |
| kLateralRightCurtain = 0x0F |
| kCentralCurtain = 0x10 |
| kRollerShutter = 0x11 |
| kExteriorVerticalScreen = 0x12 |
| kAwningTerracePatio = 0x13 |
| kAwningVerticalScreen = 0x14 |
| kTiltOnlyPergola = 0x15 |
| kSwingingShutter = 0x16 |
| kSlidingShutter = 0x17 |
| kUnknown = 0xFF |
| |
| class WcType(IntEnum): |
| kRollershade = 0x00 |
| kRollershade2Motor = 0x01 |
| kRollershadeExterior = 0x02 |
| kRollershadeExterior2Motor = 0x03 |
| kDrapery = 0x04 |
| kAwning = 0x05 |
| kShutter = 0x06 |
| kTiltBlindTiltOnly = 0x07 |
| kTiltBlindLiftAndTilt = 0x08 |
| kProjectorScreen = 0x09 |
| kUnknown = 0xFF |
| |
| class Commands: |
| @dataclass |
| class UpOrOpen(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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 |
| |
| @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 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="LiftValue", Tag=0, Type=uint), |
| ]) |
| |
| LiftValue: 'uint' = None |
| |
| @dataclass |
| class GoToLiftPercentage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @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' = None |
| LiftPercent100thsValue: 'uint' = None |
| |
| @dataclass |
| class GoToTiltValue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="TiltValue", Tag=0, Type=uint), |
| ]) |
| |
| TiltValue: 'uint' = None |
| |
| @dataclass |
| class GoToTiltPercentage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @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' = None |
| TiltPercent100thsValue: 'uint' = None |
| |
| class Attributes: |
| class Type(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PhysicalClosedLimitLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PhysicalClosedLimitTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentPositionLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentPositionTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumberOfActuationsLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumberOfActuationsTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ConfigStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentPositionLiftPercentage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentPositionTiltPercentage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OperationalStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TargetPositionLiftPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TargetPositionTiltPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class EndProductType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentPositionLiftPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentPositionTiltPercent100ths(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class InstalledOpenLimitLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class InstalledClosedLimitLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class InstalledOpenLimitTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class InstalledClosedLimitTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class VelocityLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AccelerationTimeLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DecelerationTimeLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Mode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class IntermediateSetpointsLift(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class IntermediateSetpointsTilt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class SafetyStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class BarrierControl: |
| id: typing.ClassVar[int] = 0x0103 |
| |
| class Commands: |
| @dataclass |
| class BarrierControlGoToPercent(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0103 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="PercentOpen", Tag=0, Type=uint), |
| ]) |
| |
| PercentOpen: 'uint' = None |
| |
| @dataclass |
| class BarrierControlStop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0103 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class BarrierMovingState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BarrierSafetyStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BarrierCapabilities(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BarrierOpenEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BarrierCloseEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BarrierCommandOpenEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BarrierCommandCloseEvents(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BarrierOpenPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BarrierClosePeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BarrierPosition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class PumpConfigurationAndControl: |
| id: typing.ClassVar[int] = 0x0200 |
| |
| 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: |
| class MaxPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MaxSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MaxFlow(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MinConstPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MaxConstPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MinCompPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MaxCompPressure(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MinConstSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MaxConstSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MinConstFlow(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MaxConstFlow(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MinConstTemp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MaxConstTemp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class PumpStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class EffectiveOperationMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class EffectiveControlMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Capacity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Speed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LifetimeRunningHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Power(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LifetimeEnergyConsumed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OperationMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ControlMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class Thermostat: |
| id: typing.ClassVar[int] = 0x0201 |
| |
| 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 |
| |
| @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' = None |
| Amount: 'int' = None |
| |
| @dataclass |
| class CurrentWeeklySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NumberOfTransitionsForSequence", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="DayOfWeekForSequence", Tag=1, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="ModeForSequence", Tag=2, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="Payload", Tag=3, Type=uint, IsArray=True), |
| ]) |
| |
| NumberOfTransitionsForSequence: 'uint' = None |
| DayOfWeekForSequence: 'int' = None |
| ModeForSequence: 'int' = None |
| Payload: typing.List['uint'] = None |
| |
| @dataclass |
| class SetWeeklySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NumberOfTransitionsForSequence", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="DayOfWeekForSequence", Tag=1, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="ModeForSequence", Tag=2, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="Payload", Tag=3, Type=uint, IsArray=True), |
| ]) |
| |
| NumberOfTransitionsForSequence: 'uint' = None |
| DayOfWeekForSequence: 'int' = None |
| ModeForSequence: 'int' = None |
| Payload: typing.List['uint'] = None |
| |
| @dataclass |
| class RelayStatusLog(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| RelayStatus: 'uint' = None |
| LocalTemperature: 'int' = None |
| HumidityInPercentage: 'uint' = None |
| Setpoint: 'int' = None |
| UnreadEntries: 'uint' = None |
| |
| @dataclass |
| class GetWeeklySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="DaysToReturn", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="ModeToReturn", Tag=1, Type=int), |
| ]) |
| |
| DaysToReturn: 'int' = None |
| ModeToReturn: 'int' = None |
| |
| @dataclass |
| class ClearWeeklySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class LocalTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class OutdoorTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Occupancy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AbsMinHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AbsMaxHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AbsMinCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AbsMaxCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class PiCoolingDemand(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PiHeatingDemand(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class HvacSystemTypeConfiguration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0009 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LocalTemperatureCalibration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class OccupiedCoolingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class OccupiedHeatingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class UnoccupiedCoolingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class UnoccupiedHeatingSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MinHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MaxHeatSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MinCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MaxCoolSetpointLimit(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MinSetpointDeadBand(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class RemoteSensing(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ControlSequenceOfOperation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SystemMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AlarmMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ThermostatRunningMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class StartOfWeek(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumberOfWeeklyTransitions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumberOfDailyTransitions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TemperatureSetpointHold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TemperatureSetpointHoldDuration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ThermostatProgrammingOperationMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class HvacRelayState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SetpointChangeSource(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SetpointChangeAmount(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class SetpointChangeSourceTimestamp(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0040 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcCapacity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0041 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcRefrigerantType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0042 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcCompressor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0043 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcErrorCode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0044 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcLouverPosition(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcCoilTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0046 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AcCapacityFormat(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0047 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class FanControl: |
| id: typing.ClassVar[int] = 0x0202 |
| |
| class Attributes: |
| class FanMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FanModeSequence(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class DehumidificationControl: |
| id: typing.ClassVar[int] = 0x0203 |
| |
| class Attributes: |
| class RelativeHumidity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DehumidificationCooling(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RhDehumidificationSetpoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RelativeHumidityMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DehumidificationLockout(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DehumidificationHysteresis(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DehumidificationMaxCool(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RelativeHumidityDisplay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ThermostatUserInterfaceConfiguration: |
| id: typing.ClassVar[int] = 0x0204 |
| |
| class Attributes: |
| class TemperatureDisplayMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class KeypadLockout(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ScheduleProgrammingVisibility(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ColorControl: |
| id: typing.ClassVar[int] = 0x0300 |
| |
| 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 |
| |
| @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' = None |
| Direction: 'ColorControl.Enums.HueDirection' = None |
| TransitionTime: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class MoveHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| Rate: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class StepHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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' = None |
| StepSize: 'uint' = None |
| TransitionTime: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class MoveToSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @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' = None |
| TransitionTime: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class MoveSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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' = None |
| Rate: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class StepSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @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' = None |
| StepSize: 'uint' = None |
| TransitionTime: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class MoveToHueAndSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @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' = None |
| Saturation: 'uint' = None |
| TransitionTime: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class MoveToColor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @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' = None |
| ColorY: 'uint' = None |
| TransitionTime: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class MoveColor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @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' = None |
| RateY: 'int' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class StepColor(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0009 |
| |
| @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' = None |
| StepY: 'int' = None |
| TransitionTime: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class MoveToColorTemperature(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x000A |
| |
| @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' = None |
| TransitionTime: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class EnhancedMoveToHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0040 |
| |
| @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' = None |
| Direction: 'ColorControl.Enums.HueDirection' = None |
| TransitionTime: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class EnhancedMoveHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0041 |
| |
| @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' = None |
| Rate: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class EnhancedStepHue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0042 |
| |
| @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' = None |
| StepSize: 'uint' = None |
| TransitionTime: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class EnhancedMoveToHueAndSaturation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0043 |
| |
| @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' = None |
| Saturation: 'uint' = None |
| TransitionTime: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class ColorLoopSet(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0044 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="UpdateFlags", Tag=0, Type=int), |
| 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: 'int' = None |
| Action: 'ColorControl.Enums.ColorLoopAction' = None |
| Direction: 'ColorControl.Enums.ColorLoopDirection' = None |
| Time: 'uint' = None |
| StartHue: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class StopMoveStep(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x0047 |
| |
| @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' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class MoveColorTemperature(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x004B |
| |
| @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' = None |
| Rate: 'uint' = None |
| ColorTemperatureMinimum: 'uint' = None |
| ColorTemperatureMaximum: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| @dataclass |
| class StepColorTemperature(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x004C |
| |
| @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' = None |
| StepSize: 'uint' = None |
| TransitionTime: 'uint' = None |
| ColorTemperatureMinimum: 'uint' = None |
| ColorTemperatureMaximum: 'uint' = None |
| OptionsMask: 'uint' = None |
| OptionsOverride: 'uint' = None |
| |
| class Attributes: |
| class CurrentHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentSaturation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RemainingTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DriftCompensation(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CompensationText(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class ColorTemperature(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorControlOptions(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumberOfPrimaries(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary1X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary1Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary1Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary2X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary2Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary2Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary3X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary3Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary3Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary4X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary4Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary4Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary5X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0024 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary5Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary5Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0026 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary6X(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0028 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary6Y(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0029 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Primary6Intensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x002A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class WhitePointX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class WhitePointY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorPointRX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorPointRY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorPointRIntensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorPointGX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0036 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorPointGY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0037 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorPointGIntensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0038 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorPointBX(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorPointBY(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorPointBIntensity(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x003C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class EnhancedCurrentHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class EnhancedColorMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorLoopActive(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorLoopDirection(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorLoopTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorLoopStartEnhancedHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorLoopStoredEnhancedHue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorCapabilities(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x400A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorTempPhysicalMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x400B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ColorTempPhysicalMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x400C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CoupleColorTempToLevelMinMireds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x400D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class StartUpColorTemperatureMireds(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x4010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class BallastConfiguration: |
| id: typing.ClassVar[int] = 0x0301 |
| |
| class Attributes: |
| class PhysicalMinLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PhysicalMaxLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BallastStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MinLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MaxLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PowerOnLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PowerOnFadeTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class IntrinsicBallastFactor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BallastFactorAdjustment(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LampQuality(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LampType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class LampManufacturer(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class LampRatedHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LampBurnHours(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0033 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LampAlarmMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0034 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LampBurnHoursTripPoint(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0035 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class IlluminanceMeasurement: |
| id: typing.ClassVar[int] = 0x0400 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LightSensorType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class IlluminanceLevelSensing: |
| id: typing.ClassVar[int] = 0x0401 |
| |
| class Attributes: |
| class LevelStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0401 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LightSensorType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0401 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class IlluminanceLevelTarget(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0401 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0401 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0401 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class TemperatureMeasurement: |
| id: typing.ClassVar[int] = 0x0402 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class PressureMeasurement: |
| id: typing.ClassVar[int] = 0x0403 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ScaledValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MinScaledValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MaxScaledValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ScaledTolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Scale(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class FlowMeasurement: |
| id: typing.ClassVar[int] = 0x0404 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class RelativeHumidityMeasurement: |
| id: typing.ClassVar[int] = 0x0405 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class OccupancySensing: |
| id: typing.ClassVar[int] = 0x0406 |
| |
| class Attributes: |
| class Occupancy(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OccupancySensorType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OccupancySensorTypeBitmap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PirOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PirUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PirUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class UltrasonicOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class UltrasonicUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class UltrasonicUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PhysicalContactOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0030 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PhysicalContactUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0031 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PhysicalContactUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0032 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0406 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class CarbonMonoxideConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x040C |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class CarbonDioxideConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x040D |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class EthyleneConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x040E |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class EthyleneOxideConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x040F |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x040F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class HydrogenConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0410 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0410 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class HydrogenSulphideConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0411 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0411 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class NitricOxideConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0412 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0412 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class NitrogenDioxideConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0413 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0413 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class OxygenConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0414 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0414 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class OzoneConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0415 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0415 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class SulfurDioxideConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0416 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0416 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class DissolvedOxygenConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0417 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0417 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class BromateConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0418 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0418 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ChloraminesConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0419 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0419 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ChlorineConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x041A |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class FecalColiformAndEColiConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x041B |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class FluorideConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x041C |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class HaloaceticAcidsConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x041D |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class TotalTrihalomethanesConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x041E |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class TotalColiformBacteriaConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x041F |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x041F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class TurbidityConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0420 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0420 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class CopperConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0421 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0421 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class LeadConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0422 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0422 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ManganeseConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0423 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0423 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class SulfateConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0424 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0424 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class BromodichloromethaneConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0425 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0425 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class BromoformConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0426 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0426 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ChlorodibromomethaneConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0427 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0427 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ChloroformConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0428 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0428 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class SodiumConcentrationMeasurement: |
| id: typing.ClassVar[int] = 0x0429 |
| |
| class Attributes: |
| class MeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MinMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class MaxMeasuredValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class Tolerance(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=float) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0429 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class IasZone: |
| id: typing.ClassVar[int] = 0x0500 |
| |
| 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 |
| |
| @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' = None |
| ZoneId: 'uint' = None |
| |
| @dataclass |
| class ZoneStatusChangeNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ZoneStatus", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="ExtendedStatus", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="ZoneId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Delay", Tag=3, Type=uint), |
| ]) |
| |
| ZoneStatus: 'int' = None |
| ExtendedStatus: 'uint' = None |
| ZoneId: 'uint' = None |
| Delay: 'uint' = None |
| |
| @dataclass |
| class InitiateNormalOperationMode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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 |
| |
| @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' = None |
| ManufacturerCode: 'uint' = None |
| |
| @dataclass |
| class InitiateTestMode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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' = None |
| CurrentZoneSensitivityLevel: 'uint' = None |
| |
| @dataclass |
| class InitiateNormalOperationModeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class ZoneState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ZoneType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ZoneStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class IasCieAddress(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ZoneId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NumberOfZoneSensitivityLevelsSupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CurrentZoneSensitivityLevel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0500 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class IasAce: |
| id: typing.ClassVar[int] = 0x0501 |
| |
| 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=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="ZoneStatus", Tag=1, Type=int), |
| ]) |
| |
| ZoneId: 'uint' = None |
| ZoneStatus: 'int' = None |
| |
| class Commands: |
| @dataclass |
| class Arm(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| ArmDisarmCode: 'str' = None |
| ZoneId: 'uint' = None |
| |
| @dataclass |
| class ArmResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ArmNotification", Tag=0, Type=IasAce.Enums.IasAceArmNotification), |
| ]) |
| |
| ArmNotification: 'IasAce.Enums.IasAceArmNotification' = None |
| |
| @dataclass |
| class Bypass(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NumberOfZones", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="ZoneIds", Tag=1, Type=uint, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="ArmDisarmCode", Tag=2, Type=str), |
| ]) |
| |
| NumberOfZones: 'uint' = None |
| ZoneIds: typing.List['uint'] = None |
| ArmDisarmCode: 'str' = None |
| |
| @dataclass |
| class GetZoneIdMapResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| Section1: 'uint' = None |
| Section2: 'uint' = None |
| Section3: 'uint' = None |
| Section4: 'uint' = None |
| Section5: 'uint' = None |
| Section6: 'uint' = None |
| Section7: 'uint' = None |
| Section8: 'uint' = None |
| Section9: 'uint' = None |
| Section10: 'uint' = None |
| Section11: 'uint' = None |
| Section12: 'uint' = None |
| Section13: 'uint' = None |
| Section14: 'uint' = None |
| Section15: 'uint' = None |
| |
| @dataclass |
| class Emergency(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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 |
| |
| @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' = None |
| ZoneType: 'IasAce.Enums.IasZoneType' = None |
| IeeeAddress: 'uint' = None |
| ZoneLabel: 'str' = None |
| |
| @dataclass |
| class Fire(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @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 |
| |
| @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' = None |
| ZoneStatus: 'uint' = None |
| AudibleNotification: 'IasAce.Enums.IasAceAudibleNotification' = None |
| ZoneLabel: 'str' = None |
| |
| @dataclass |
| class Panic(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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 |
| |
| @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' = None |
| SecondsRemaining: 'uint' = None |
| AudibleNotification: 'IasAce.Enums.IasAceAudibleNotification' = None |
| AlarmStatus: 'IasAce.Enums.IasAceAlarmStatus' = None |
| |
| @dataclass |
| class GetZoneIdMap(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @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 |
| |
| @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' = None |
| SecondsRemaining: 'uint' = None |
| AudibleNotification: 'IasAce.Enums.IasAceAudibleNotification' = None |
| AlarmStatus: 'IasAce.Enums.IasAceAlarmStatus' = None |
| |
| @dataclass |
| class GetZoneInformation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ZoneId", Tag=0, Type=uint), |
| ]) |
| |
| ZoneId: 'uint' = None |
| |
| @dataclass |
| class SetBypassedZoneList(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NumberOfZones", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="ZoneIds", Tag=1, Type=uint, IsArray=True), |
| ]) |
| |
| NumberOfZones: 'uint' = None |
| ZoneIds: typing.List['uint'] = None |
| |
| @dataclass |
| class GetPanelStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NumberOfZones", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="BypassResult", Tag=1, Type=IasAce.Enums.IasAceBypassResult, IsArray=True), |
| ]) |
| |
| NumberOfZones: 'uint' = None |
| BypassResult: typing.List['IasAce.Enums.IasAceBypassResult'] = None |
| |
| @dataclass |
| class GetBypassedZoneList(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @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 |
| |
| @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=IasAce.Structs.IasAceZoneStatusResult, IsArray=True), |
| ]) |
| |
| ZoneStatusComplete: 'bool' = None |
| NumberOfZones: 'uint' = None |
| ZoneStatusResult: typing.List['IasAce.Structs.IasAceZoneStatusResult'] = None |
| |
| @dataclass |
| class GetZoneStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0009 |
| |
| @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' = None |
| MaxNumberOfZoneIds: 'uint' = None |
| ZoneStatusMaskFlag: 'bool' = None |
| ZoneStatusMask: 'uint' = None |
| |
| class Attributes: |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0501 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0501 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class IasWd: |
| id: typing.ClassVar[int] = 0x0502 |
| |
| class Commands: |
| @dataclass |
| class StartWarning(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0502 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="WarningInfo", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="WarningDuration", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="StrobeDutyCycle", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="StrobeLevel", Tag=3, Type=uint), |
| ]) |
| |
| WarningInfo: 'int' = None |
| WarningDuration: 'uint' = None |
| StrobeDutyCycle: 'uint' = None |
| StrobeLevel: 'uint' = None |
| |
| @dataclass |
| class Squawk(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0502 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="SquawkInfo", Tag=0, Type=int), |
| ]) |
| |
| SquawkInfo: 'int' = None |
| |
| class Attributes: |
| class MaxDuration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0502 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0502 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0502 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class WakeOnLan: |
| id: typing.ClassVar[int] = 0x0503 |
| |
| class Attributes: |
| class WakeOnLanMacAddress(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class TvChannel: |
| id: typing.ClassVar[int] = 0x0504 |
| |
| class Enums: |
| class TvChannelErrorType(IntEnum): |
| kMultipleMatches = 0x00 |
| kNoMatches = 0x01 |
| |
| class TvChannelLineupInfoType(IntEnum): |
| kMso = 0x00 |
| |
| class Structs: |
| @dataclass |
| class TvChannelInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MajorNumber", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="MinorNumber", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Name", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="CallSign", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="AffiliateCallSign", Tag=4, Type=str), |
| ]) |
| |
| MajorNumber: 'uint' = None |
| MinorNumber: 'uint' = None |
| Name: 'str' = None |
| CallSign: 'str' = None |
| AffiliateCallSign: 'str' = None |
| |
| @dataclass |
| class TvChannelLineupInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="OperatorName", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="LineupName", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="PostalCode", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="LineupInfoType", Tag=3, Type=TvChannel.Enums.TvChannelLineupInfoType), |
| ]) |
| |
| OperatorName: 'str' = None |
| LineupName: 'str' = None |
| PostalCode: 'str' = None |
| LineupInfoType: 'TvChannel.Enums.TvChannelLineupInfoType' = None |
| |
| class Commands: |
| @dataclass |
| class ChangeChannel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Match", Tag=0, Type=str), |
| ]) |
| |
| Match: 'str' = None |
| |
| @dataclass |
| class ChangeChannelResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ChannelMatch", Tag=0, Type=TvChannel.Structs.TvChannelInfo, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="ErrorType", Tag=1, Type=TvChannel.Enums.TvChannelErrorType), |
| ]) |
| |
| ChannelMatch: typing.List['TvChannel.Structs.TvChannelInfo'] = None |
| ErrorType: 'TvChannel.Enums.TvChannelErrorType' = None |
| |
| @dataclass |
| class ChangeChannelByNumber(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| MinorNumber: 'uint' = None |
| |
| @dataclass |
| class SkipChannel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Count", Tag=0, Type=uint), |
| ]) |
| |
| Count: 'uint' = None |
| |
| class Attributes: |
| class TvChannelList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=TvChannel.Structs.TvChannelInfo, IsArray=True) |
| |
| class TvChannelLineup(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class CurrentTvChannel(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class TargetNavigator: |
| id: typing.ClassVar[int] = 0x0505 |
| |
| 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=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Name", Tag=1, Type=str), |
| ]) |
| |
| Identifier: 'uint' = None |
| Name: 'str' = None |
| |
| class Commands: |
| @dataclass |
| class NavigateTarget(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0505 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| Data: 'str' = None |
| |
| @dataclass |
| class NavigateTargetResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0505 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| Data: 'str' = None |
| |
| class Attributes: |
| class TargetNavigatorList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=TargetNavigator.Structs.NavigateTargetTargetInfo, IsArray=True) |
| |
| class CurrentNavigatorTarget(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class MediaPlayback: |
| id: typing.ClassVar[int] = 0x0506 |
| |
| 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=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Position", Tag=1, Type=uint), |
| ]) |
| |
| UpdatedAt: 'uint' = None |
| Position: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class MediaPlay(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| MediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaPause(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| MediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaStop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| MediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaStartOver(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| MediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaPrevious(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| MediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaNext(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| MediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaRewind(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| MediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaFastForward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| MediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaSkipForward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="DeltaPositionMilliseconds", Tag=0, Type=uint), |
| ]) |
| |
| DeltaPositionMilliseconds: 'uint' = None |
| |
| @dataclass |
| class MediaSkipForwardResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| MediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaSkipBackward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0009 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="DeltaPositionMilliseconds", Tag=0, Type=uint), |
| ]) |
| |
| DeltaPositionMilliseconds: 'uint' = None |
| |
| @dataclass |
| class MediaSkipBackwardResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0009 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| MediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaSeek(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x000A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Position", Tag=0, Type=uint), |
| ]) |
| |
| Position: 'uint' = None |
| |
| @dataclass |
| class MediaSeekResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x000B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| MediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| class Attributes: |
| class PlaybackState(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class StartTime(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Duration(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PositionUpdatedAt(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Position(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PlaybackSpeed(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SeekRangeEnd(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SeekRangeStart(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class MediaInput: |
| id: typing.ClassVar[int] = 0x0507 |
| |
| 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=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="InputType", Tag=1, Type=MediaInput.Enums.MediaInputType), |
| ClusterObjectFieldDescriptor( |
| Label="Name", Tag=2, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="Description", Tag=3, Type=str), |
| ]) |
| |
| Index: 'uint' = None |
| InputType: 'MediaInput.Enums.MediaInputType' = None |
| Name: 'str' = None |
| Description: 'str' = None |
| |
| class Commands: |
| @dataclass |
| class SelectInput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Index", Tag=0, Type=uint), |
| ]) |
| |
| Index: 'uint' = None |
| |
| @dataclass |
| class ShowInputStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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 |
| |
| @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 |
| |
| @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' = None |
| Name: 'str' = None |
| |
| class Attributes: |
| class MediaInputList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=MediaInput.Structs.MediaInputInfo, IsArray=True) |
| |
| class CurrentMediaInput(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class LowPower: |
| id: typing.ClassVar[int] = 0x0508 |
| |
| class Commands: |
| @dataclass |
| class Sleep(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0508 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class KeypadInput: |
| id: typing.ClassVar[int] = 0x0509 |
| |
| 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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="KeyCode", Tag=0, Type=KeypadInput.Enums.KeypadInputCecKeyCode), |
| ]) |
| |
| KeyCode: 'KeypadInput.Enums.KeypadInputCecKeyCode' = None |
| |
| @dataclass |
| class SendKeyResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0509 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=KeypadInput.Enums.KeypadInputStatus), |
| ]) |
| |
| Status: 'KeypadInput.Enums.KeypadInputStatus' = None |
| |
| class Attributes: |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ContentLauncher: |
| id: typing.ClassVar[int] = 0x050A |
| |
| class Enums: |
| class ContentLaunchMetricType(IntEnum): |
| kPixels = 0x00 |
| kPercentage = 0x01 |
| |
| class ContentLaunchParameterEnum(IntEnum): |
| kActor = 0x00 |
| kChannel = 0x01 |
| kCharacter = 0x02 |
| kEvent = 0x03 |
| kFranchise = 0x04 |
| kGenre = 0x05 |
| kLeague = 0x06 |
| kPopularity = 0x07 |
| kSport = 0x08 |
| kSportsTeam = 0x09 |
| kVideo = 0x0A |
| |
| class ContentLaunchStatus(IntEnum): |
| kSuccess = 0x00 |
| kUrlNotAvailable = 0x01 |
| kAuthFailed = 0x02 |
| |
| class ContentLaunchStreamingType(IntEnum): |
| kDash = 0x00 |
| kHls = 0x01 |
| |
| class Structs: |
| @dataclass |
| class ContentLaunchAdditionalInfo(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Name", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="Value", Tag=1, Type=str), |
| ]) |
| |
| Name: 'str' = None |
| Value: 'str' = None |
| |
| @dataclass |
| class ContentLaunchParamater(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Type", Tag=0, Type=ContentLauncher.Enums.ContentLaunchParameterEnum), |
| ClusterObjectFieldDescriptor( |
| Label="Value", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="ExternalIDList", Tag=2, Type=ContentLauncher.Structs.ContentLaunchAdditionalInfo, IsArray=True), |
| ]) |
| |
| Type: 'ContentLauncher.Enums.ContentLaunchParameterEnum' = None |
| Value: 'str' = None |
| ExternalIDList: typing.List['ContentLauncher.Structs.ContentLaunchAdditionalInfo'] = None |
| |
| @dataclass |
| class ContentLaunchBrandingInformation(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ProviderName", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="Background", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Logo", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="ProgressBar", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="Splash", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="WaterMark", Tag=5, Type=uint), |
| ]) |
| |
| ProviderName: 'str' = None |
| Background: 'uint' = None |
| Logo: 'uint' = None |
| ProgressBar: 'uint' = None |
| Splash: 'uint' = None |
| WaterMark: 'uint' = None |
| |
| @dataclass |
| class ContentLaunchDimension(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Width", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="Height", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="Metric", Tag=2, Type=ContentLauncher.Enums.ContentLaunchMetricType), |
| ]) |
| |
| Width: 'str' = None |
| Height: 'str' = None |
| Metric: 'ContentLauncher.Enums.ContentLaunchMetricType' = None |
| |
| @dataclass |
| class ContentLaunchStyleInformation(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ImageUrl", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="Color", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="Size", Tag=2, Type=uint), |
| ]) |
| |
| ImageUrl: 'str' = None |
| Color: 'str' = None |
| Size: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class LaunchContent(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="AutoPlay", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="Data", Tag=1, Type=str), |
| ]) |
| |
| AutoPlay: 'bool' = None |
| Data: 'str' = None |
| |
| @dataclass |
| class LaunchContentResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Data", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="ContentLaunchStatus", Tag=1, Type=ContentLauncher.Enums.ContentLaunchStatus), |
| ]) |
| |
| Data: 'str' = None |
| ContentLaunchStatus: 'ContentLauncher.Enums.ContentLaunchStatus' = None |
| |
| @dataclass |
| class LaunchURL(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ContentURL", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="DisplayString", Tag=1, Type=str), |
| ]) |
| |
| ContentURL: 'str' = None |
| DisplayString: 'str' = None |
| |
| @dataclass |
| class LaunchURLResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Data", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="ContentLaunchStatus", Tag=1, Type=ContentLauncher.Enums.ContentLaunchStatus), |
| ]) |
| |
| Data: 'str' = None |
| ContentLaunchStatus: 'ContentLauncher.Enums.ContentLaunchStatus' = None |
| |
| class Attributes: |
| class AcceptsHeaderList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes, IsArray=True) |
| |
| class SupportedStreamingTypes(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ContentLauncher.Enums.ContentLaunchStreamingType, IsArray=True) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class AudioOutput: |
| id: typing.ClassVar[int] = 0x050B |
| |
| 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=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="OutputType", Tag=1, Type=AudioOutput.Enums.AudioOutputType), |
| ClusterObjectFieldDescriptor( |
| Label="Name", Tag=2, Type=str), |
| ]) |
| |
| Index: 'uint' = None |
| OutputType: 'AudioOutput.Enums.AudioOutputType' = None |
| Name: 'str' = None |
| |
| class Commands: |
| @dataclass |
| class SelectOutput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050B |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Index", Tag=0, Type=uint), |
| ]) |
| |
| Index: 'uint' = None |
| |
| @dataclass |
| class RenameOutput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050B |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| Name: 'str' = None |
| |
| class Attributes: |
| class AudioOutputList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=AudioOutput.Structs.AudioOutputInfo, IsArray=True) |
| |
| class CurrentAudioOutput(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ApplicationLauncher: |
| id: typing.ClassVar[int] = 0x050C |
| |
| 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=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="ApplicationId", Tag=1, Type=str), |
| ]) |
| |
| CatalogVendorId: 'uint' = None |
| ApplicationId: 'str' = None |
| |
| class Commands: |
| @dataclass |
| class LaunchApp(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Data", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="CatalogVendorId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="ApplicationId", Tag=2, Type=str), |
| ]) |
| |
| Data: 'str' = None |
| CatalogVendorId: 'uint' = None |
| ApplicationId: 'str' = None |
| |
| @dataclass |
| class LaunchAppResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050C |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| Data: 'str' = None |
| |
| class Attributes: |
| class ApplicationLauncherList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) |
| |
| class CatalogVendorId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ApplicationId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ApplicationBasic: |
| id: typing.ClassVar[int] = 0x050D |
| |
| class Enums: |
| class ApplicationBasicStatus(IntEnum): |
| kStopped = 0x00 |
| kActiveVisibleFocus = 0x01 |
| kActiveHidden = 0x02 |
| kActiveVisibleNotFocus = 0x03 |
| |
| class Commands: |
| @dataclass |
| class ChangeStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050D |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Status", Tag=0, Type=ApplicationBasic.Enums.ApplicationBasicStatus), |
| ]) |
| |
| Status: 'ApplicationBasic.Enums.ApplicationBasicStatus' = None |
| |
| class Attributes: |
| class VendorName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class VendorId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ApplicationName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class ProductId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ApplicationId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class CatalogVendorId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ApplicationStatus(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class AccountLogin: |
| id: typing.ClassVar[int] = 0x050E |
| |
| class Commands: |
| @dataclass |
| class GetSetupPIN(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050E |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="TempAccountIdentifier", Tag=0, Type=str), |
| ]) |
| |
| TempAccountIdentifier: 'str' = None |
| |
| @dataclass |
| class GetSetupPINResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050E |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="SetupPIN", Tag=0, Type=str), |
| ]) |
| |
| SetupPIN: 'str' = None |
| |
| @dataclass |
| class Login(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050E |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| SetupPIN: 'str' = None |
| |
| class Attributes: |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class TestCluster: |
| id: typing.ClassVar[int] = 0x050F |
| |
| 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=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="B", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="C", Tag=2, Type=TestCluster.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor( |
| Label="D", Tag=3, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="E", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="F", Tag=5, Type=int), |
| ]) |
| |
| A: 'uint' = None |
| B: 'bool' = None |
| C: 'TestCluster.Enums.SimpleEnum' = None |
| D: 'bytes' = None |
| E: 'str' = None |
| F: 'int' = None |
| |
| @dataclass |
| class NestedStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="A", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="B", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="C", Tag=2, Type=TestCluster.Structs.SimpleStruct), |
| ]) |
| |
| A: 'uint' = None |
| B: 'bool' = None |
| C: 'TestCluster.Structs.SimpleStruct' = None |
| |
| @dataclass |
| class NestedStructList(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="A", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="B", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="C", Tag=2, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor( |
| Label="D", Tag=3, Type=TestCluster.Structs.SimpleStruct, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="E", Tag=4, Type=uint, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="F", Tag=5, Type=bytes, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="G", Tag=6, Type=uint, IsArray=True), |
| ]) |
| |
| A: 'uint' = None |
| B: 'bool' = None |
| C: 'TestCluster.Structs.SimpleStruct' = None |
| D: typing.List['TestCluster.Structs.SimpleStruct'] = None |
| E: typing.List['uint'] = None |
| F: typing.List['bytes'] = None |
| G: typing.List['uint'] = None |
| |
| @dataclass |
| class DoubleNestedStructList(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="A", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), |
| ]) |
| |
| A: typing.List['TestCluster.Structs.NestedStructList'] = None |
| |
| @dataclass |
| class TestListStructOctet(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="FabricIndex", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="OperationalCert", Tag=1, Type=bytes), |
| ]) |
| |
| FabricIndex: 'uint' = None |
| OperationalCert: 'bytes' = None |
| |
| class Commands: |
| @dataclass |
| class Test(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ReturnValue", Tag=0, Type=uint), |
| ]) |
| |
| ReturnValue: 'uint' = None |
| |
| @dataclass |
| class TestNotHandled(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ReturnValue", Tag=0, Type=uint), |
| ]) |
| |
| ReturnValue: 'uint' = None |
| |
| @dataclass |
| class TestSpecific(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ReturnValue", Tag=0, Type=bool), |
| ]) |
| |
| ReturnValue: 'bool' = None |
| |
| @dataclass |
| class TestUnknownCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Arg1", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="Arg2", Tag=1, Type=TestCluster.Structs.SimpleStruct, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="Arg3", Tag=2, Type=TestCluster.Enums.SimpleEnum, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="Arg4", Tag=3, Type=bool, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="Arg5", Tag=4, Type=TestCluster.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor( |
| Label="Arg6", Tag=5, Type=bool), |
| ]) |
| |
| Arg1: typing.List['TestCluster.Structs.NestedStructList'] = None |
| Arg2: typing.List['TestCluster.Structs.SimpleStruct'] = None |
| Arg3: typing.List['TestCluster.Enums.SimpleEnum'] = None |
| Arg4: typing.List['bool'] = None |
| Arg5: 'TestCluster.Enums.SimpleEnum' = None |
| Arg6: 'bool' = None |
| |
| @dataclass |
| class TestAddArguments(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @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' = None |
| Arg2: 'uint' = None |
| |
| @dataclass |
| class TestListInt8UReverseResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0004 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Arg1", Tag=0, Type=uint, IsArray=True), |
| ]) |
| |
| Arg1: typing.List['uint'] = None |
| |
| @dataclass |
| class TestSimpleArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0005 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Arg1", Tag=0, Type=bool), |
| ]) |
| |
| Arg1: 'bool' = None |
| |
| @dataclass |
| class TestStructArrayArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0006 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Arg1", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="Arg2", Tag=1, Type=TestCluster.Structs.SimpleStruct, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="Arg3", Tag=2, Type=TestCluster.Enums.SimpleEnum, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="Arg4", Tag=3, Type=bool, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="Arg5", Tag=4, Type=TestCluster.Enums.SimpleEnum), |
| ClusterObjectFieldDescriptor( |
| Label="Arg6", Tag=5, Type=bool), |
| ]) |
| |
| Arg1: typing.List['TestCluster.Structs.NestedStructList'] = None |
| Arg2: typing.List['TestCluster.Structs.SimpleStruct'] = None |
| Arg3: typing.List['TestCluster.Enums.SimpleEnum'] = None |
| Arg4: typing.List['bool'] = None |
| Arg5: 'TestCluster.Enums.SimpleEnum' = None |
| Arg6: 'bool' = None |
| |
| @dataclass |
| class TestStructArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0007 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Arg1", Tag=0, Type=TestCluster.Structs.SimpleStruct), |
| ]) |
| |
| Arg1: 'TestCluster.Structs.SimpleStruct' = None |
| |
| @dataclass |
| class TestNestedStructArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0008 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Arg1", Tag=0, Type=TestCluster.Structs.NestedStruct), |
| ]) |
| |
| Arg1: 'TestCluster.Structs.NestedStruct' = None |
| |
| @dataclass |
| class TestListStructArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0009 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Arg1", Tag=0, Type=TestCluster.Structs.SimpleStruct, IsArray=True), |
| ]) |
| |
| Arg1: typing.List['TestCluster.Structs.SimpleStruct'] = None |
| |
| @dataclass |
| class TestListInt8UArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000A |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Arg1", Tag=0, Type=uint, IsArray=True), |
| ]) |
| |
| Arg1: typing.List['uint'] = None |
| |
| @dataclass |
| class TestNestedStructListArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000B |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Arg1", Tag=0, Type=TestCluster.Structs.NestedStructList), |
| ]) |
| |
| Arg1: 'TestCluster.Structs.NestedStructList' = None |
| |
| @dataclass |
| class TestListNestedStructListArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000C |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Arg1", Tag=0, Type=TestCluster.Structs.NestedStructList, IsArray=True), |
| ]) |
| |
| Arg1: typing.List['TestCluster.Structs.NestedStructList'] = None |
| |
| @dataclass |
| class TestListInt8UReverseRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000D |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="Arg1", Tag=0, Type=uint, IsArray=True), |
| ]) |
| |
| Arg1: typing.List['uint'] = None |
| |
| class Attributes: |
| class Boolean(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class Bitmap8(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Bitmap16(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Bitmap32(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Bitmap64(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Int8u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Int16u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Int32u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Int64u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Int8s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Int16s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Int32s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Int64s(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Enum8(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Enum16(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OctetString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class ListInt8u(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint, IsArray=True) |
| |
| class ListOctetString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes, IsArray=True) |
| |
| class ListStructOctetString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=TestCluster.Structs.TestListStructOctet, IsArray=True) |
| |
| class LongOctetString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class CharString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class LongCharString(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class EpochUs(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0020 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class EpochS(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0021 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Unsupported(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x00FF |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class Messaging: |
| id: typing.ClassVar[int] = 0x0703 |
| |
| 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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MessageId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="MessageControl", Tag=1, Type=int), |
| 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=int), |
| ]) |
| |
| MessageId: 'uint' = None |
| MessageControl: 'int' = None |
| StartTime: 'uint' = None |
| DurationInMinutes: 'uint' = None |
| Message: 'str' = None |
| OptionalExtendedMessageControl: 'int' = None |
| |
| @dataclass |
| class GetLastMessage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MessageId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="MessageControl", Tag=1, Type=int), |
| ]) |
| |
| MessageId: 'uint' = None |
| MessageControl: 'int' = None |
| |
| @dataclass |
| class MessageConfirmation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| ConfirmationTime: 'uint' = None |
| MessageConfirmationControl: 'uint' = None |
| MessageResponse: 'bytes' = None |
| |
| @dataclass |
| class DisplayProtectedMessage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="MessageId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="MessageControl", Tag=1, Type=int), |
| 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=int), |
| ]) |
| |
| MessageId: 'uint' = None |
| MessageControl: 'int' = None |
| StartTime: 'uint' = None |
| DurationInMinutes: 'uint' = None |
| Message: 'str' = None |
| OptionalExtendedMessageControl: 'int' = None |
| |
| @dataclass |
| class GetMessageCancellation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="EarliestImplementationTime", Tag=0, Type=uint), |
| ]) |
| |
| EarliestImplementationTime: 'uint' = None |
| |
| @dataclass |
| class CancelAllMessages(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ImplementationDateTime", Tag=0, Type=uint), |
| ]) |
| |
| ImplementationDateTime: 'uint' = None |
| |
| class Attributes: |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0703 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0703 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ApplianceIdentification: |
| id: typing.ClassVar[int] = 0x0B00 |
| |
| class Attributes: |
| class BasicIdentification(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CompanyName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0010 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class CompanyId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0011 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class BrandName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0012 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class BrandId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0013 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Model(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0014 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class PartNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0015 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class ProductRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0016 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class SoftwareRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0017 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class ProductTypeName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0018 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class ProductTypeId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0019 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CecedSpecificationVersion(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x001A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class MeterIdentification: |
| id: typing.ClassVar[int] = 0x0B01 |
| |
| class Attributes: |
| class CompanyName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class MeterTypeId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DataQualityId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class CustomerName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0005 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class Model(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0006 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class PartNumber(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0007 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class ProductRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0008 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class SoftwareRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bytes) |
| |
| class UtilityName(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class Pod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class AvailablePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class PowerThreshold(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x000E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B01 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ApplianceEventsAndAlert: |
| id: typing.ClassVar[int] = 0x0B02 |
| |
| 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 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="AlertsCount", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="AlertStructures", Tag=1, Type=int, IsArray=True), |
| ]) |
| |
| AlertsCount: 'int' = None |
| AlertStructures: typing.List['int'] = None |
| |
| @dataclass |
| class AlertsNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B02 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="AlertsCount", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="AlertStructures", Tag=1, Type=int, IsArray=True), |
| ]) |
| |
| AlertsCount: 'int' = None |
| AlertStructures: typing.List['int'] = None |
| |
| @dataclass |
| class EventsNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B02 |
| command_id: typing.ClassVar[int] = 0x0002 |
| |
| @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' = None |
| EventId: 'ApplianceEventsAndAlert.Enums.EventIdentification' = None |
| |
| class Attributes: |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B02 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B02 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ApplianceStatistics: |
| id: typing.ClassVar[int] = 0x0B03 |
| |
| class Commands: |
| @dataclass |
| class LogNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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=uint, IsArray=True), |
| ]) |
| |
| TimeStamp: 'uint' = None |
| LogId: 'uint' = None |
| LogLength: 'uint' = None |
| LogPayload: typing.List['uint'] = None |
| |
| @dataclass |
| class LogRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="LogId", Tag=0, Type=uint), |
| ]) |
| |
| LogId: 'uint' = None |
| |
| @dataclass |
| class LogResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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=uint, IsArray=True), |
| ]) |
| |
| TimeStamp: 'uint' = None |
| LogId: 'uint' = None |
| LogLength: 'uint' = None |
| LogPayload: typing.List['uint'] = None |
| |
| @dataclass |
| class LogQueueRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="LogQueueSize", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LogIds", Tag=1, Type=uint, IsArray=True), |
| ]) |
| |
| LogQueueSize: 'uint' = None |
| LogIds: typing.List['uint'] = None |
| |
| @dataclass |
| class StatisticsAvailable(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0003 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="LogQueueSize", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="LogIds", Tag=1, Type=uint, IsArray=True), |
| ]) |
| |
| LogQueueSize: 'uint' = None |
| LogIds: typing.List['uint'] = None |
| |
| class Attributes: |
| class LogMaxSize(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B03 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LogQueueMaxSize(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B03 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B03 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B03 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ElectricalMeasurement: |
| id: typing.ClassVar[int] = 0x0B04 |
| |
| class Commands: |
| @dataclass |
| class GetProfileInfoResponseCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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=uint, IsArray=True), |
| ]) |
| |
| ProfileCount: 'uint' = None |
| ProfileIntervalPeriod: 'uint' = None |
| MaxNumberOfIntervals: 'uint' = None |
| ListOfAttributes: typing.List['uint'] = None |
| |
| @dataclass |
| class GetProfileInfoCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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 |
| |
| @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=uint, IsArray=True), |
| ]) |
| |
| StartTime: 'uint' = None |
| Status: 'uint' = None |
| ProfileIntervalPeriod: 'uint' = None |
| NumberOfIntervalsDelivered: 'uint' = None |
| AttributeId: 'uint' = None |
| Intervals: typing.List['uint'] = None |
| |
| @dataclass |
| class GetMeasurementProfileCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| StartTime: 'uint' = None |
| NumberOfIntervals: 'uint' = None |
| |
| class Attributes: |
| class MeasurementType(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DcVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0100 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class DcVoltageMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0101 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class DcVoltageMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0102 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class DcCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0103 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class DcCurrentMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0104 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class DcCurrentMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0105 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class DcPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0106 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class DcPowerMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0107 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class DcPowerMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0108 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class DcVoltageMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0200 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DcVoltageDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0201 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DcCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0202 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DcCurrentDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0203 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DcPowerMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0204 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class DcPowerDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0205 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcFrequency(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0300 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcFrequencyMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0301 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcFrequencyMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0302 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class NeutralCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0303 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class TotalActivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0304 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class TotalReactivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0305 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class TotalApparentPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0306 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Measured1stHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0307 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Measured3rdHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0308 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Measured5thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0309 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Measured7thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x030A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Measured9thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x030B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class Measured11thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x030C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MeasuredPhase1stHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x030D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MeasuredPhase3rdHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x030E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MeasuredPhase5thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x030F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MeasuredPhase7thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0310 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MeasuredPhase9thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0311 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class MeasuredPhase11thHarmonicCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0312 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AcFrequencyMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0400 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcFrequencyDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0401 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PowerMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0402 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PowerDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0403 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class HarmonicCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0404 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class PhaseHarmonicCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0405 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class InstantaneousVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0500 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class InstantaneousLineCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0501 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class InstantaneousActiveCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0502 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class InstantaneousReactiveCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0503 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class InstantaneousPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0504 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class RmsVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0505 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0506 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0507 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsCurrent(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0508 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsCurrentMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0509 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsCurrentMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x050A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ActivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x050B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ActivePowerMin(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x050C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ActivePowerMax(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x050D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ReactivePower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x050E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ApparentPower(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PowerFactor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0510 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AverageRmsVoltageMeasurementPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0511 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AverageRmsUnderVoltageCounter(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0513 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsExtremeOverVoltagePeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0514 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsExtremeUnderVoltagePeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0515 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageSagPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0516 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageSwellPeriod(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0517 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcVoltageMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0600 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcVoltageDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0601 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcCurrentMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0602 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcCurrentDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0603 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcPowerMultiplier(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0604 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcPowerDivisor(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0605 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class OverloadAlarmsMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0700 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class VoltageOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0701 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class CurrentOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0702 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AcOverloadAlarmsMask(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0800 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AcVoltageOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0801 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AcCurrentOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0802 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AcActivePowerOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0803 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AcReactivePowerOverload(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0804 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AverageRmsOverVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0805 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AverageRmsUnderVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0806 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class RmsExtremeOverVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0807 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class RmsExtremeUnderVoltage(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0808 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class RmsVoltageSag(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0809 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class RmsVoltageSwell(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x080A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class LineCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0901 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ActiveCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0902 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ReactiveCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0903 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class RmsVoltagePhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0905 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageMinPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0906 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageMaxPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0907 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsCurrentPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0908 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsCurrentMinPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0909 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsCurrentMaxPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x090A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ActivePowerPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x090B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ActivePowerMinPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x090C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ActivePowerMaxPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x090D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ReactivePowerPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x090E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ApparentPowerPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x090F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PowerFactorPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0910 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AverageRmsVoltageMeasurementPeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0911 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AverageRmsOverVoltageCounterPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0912 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AverageRmsUnderVoltageCounterPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0913 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsExtremeOverVoltagePeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0914 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsExtremeUnderVoltagePeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0915 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageSagPeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0916 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageSwellPeriodPhaseB(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0917 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class LineCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A01 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ActiveCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A02 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ReactiveCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A03 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class RmsVoltagePhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A05 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageMinPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A06 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageMaxPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A07 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsCurrentPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A08 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsCurrentMinPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A09 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsCurrentMaxPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A0A |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ActivePowerPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A0B |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ActivePowerMinPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A0C |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ActivePowerMaxPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A0D |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ReactivePowerPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A0E |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class ApparentPowerPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A0F |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class PowerFactorPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A10 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=int) |
| |
| class AverageRmsVoltageMeasurementPeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A11 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AverageRmsOverVoltageCounterPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A12 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class AverageRmsUnderVoltageCounterPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A13 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsExtremeOverVoltagePeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A14 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsExtremeUnderVoltagePeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A15 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageSagPeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A16 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class RmsVoltageSwellPeriodPhaseC(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0A17 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0B04 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class Binding: |
| id: typing.ClassVar[int] = 0xF000 |
| |
| class Commands: |
| @dataclass |
| class Bind(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xF000 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @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' = None |
| GroupId: 'uint' = None |
| EndpointId: 'uint' = None |
| ClusterId: 'uint' = None |
| |
| @dataclass |
| class Unbind(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xF000 |
| command_id: typing.ClassVar[int] = 0x0001 |
| |
| @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' = None |
| GroupId: 'uint' = None |
| EndpointId: 'uint' = None |
| ClusterId: 'uint' = None |
| |
| class Attributes: |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xF000 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xF000 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class GroupKeyManagement: |
| id: typing.ClassVar[int] = 0xF004 |
| |
| class Enums: |
| class GroupKeySecurityPolicy(IntEnum): |
| kStandard = 0x00 |
| kLowLatency = 0x01 |
| |
| class Structs: |
| @dataclass |
| class GroupKey(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="VendorId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="GroupKeyIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="GroupKeyRoot", Tag=2, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="GroupKeyEpochStartTime", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="GroupKeySecurityPolicy", Tag=4, Type=GroupKeyManagement.Enums.GroupKeySecurityPolicy), |
| ]) |
| |
| VendorId: 'uint' = None |
| GroupKeyIndex: 'uint' = None |
| GroupKeyRoot: 'bytes' = None |
| GroupKeyEpochStartTime: 'uint' = None |
| GroupKeySecurityPolicy: 'GroupKeyManagement.Enums.GroupKeySecurityPolicy' = None |
| |
| @dataclass |
| class GroupState(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="VendorId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="VendorGroupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="GroupKeySetIndex", Tag=2, Type=uint), |
| ]) |
| |
| VendorId: 'uint' = None |
| VendorGroupId: 'uint' = None |
| GroupKeySetIndex: 'uint' = None |
| |
| class Attributes: |
| class Groups(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xF004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=GroupKeyManagement.Structs.GroupState, IsArray=True) |
| |
| class GroupKeys(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xF004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=GroupKeyManagement.Structs.GroupKey, IsArray=True) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xF004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xF004 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class SampleMfgSpecificCluster: |
| id: typing.ClassVar[int] = 0xFC00 |
| |
| class Commands: |
| @dataclass |
| class CommandOne(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFC00 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ArgOne", Tag=0, Type=uint), |
| ]) |
| |
| ArgOne: 'uint' = None |
| |
| class Attributes: |
| class EmberSampleAttribute(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFC00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class EmberSampleAttribute2(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFC00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFC00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFC00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class SampleMfgSpecificCluster2: |
| id: typing.ClassVar[int] = 0xFC00 |
| |
| class Commands: |
| @dataclass |
| class CommandTwo(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0xFC00 |
| command_id: typing.ClassVar[int] = 0x0000 |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ArgOne", Tag=0, Type=uint), |
| ]) |
| |
| ArgOne: 'uint' = None |
| |
| class Attributes: |
| class EmberSampleAttribute3(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFC00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class EmberSampleAttribute4(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFC00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFC00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFC |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ClusterRevision(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0xFC00 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |