| ''' |
| /* |
| * |
| * 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class TriggerEffect(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0003 |
| command_id: typing.ClassVar[int] = 0x0040 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="effectIdentifier", Tag=0, Type=Identify.Enums.IdentifyEffectIdentifier), |
| ClusterObjectFieldDescriptor( |
| Label="effectVariant", Tag=1, Type=Identify.Enums.IdentifyEffectVariant), |
| ]) |
| |
| effectIdentifier: 'Identify.Enums.IdentifyEffectIdentifier' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupName", Tag=1, Type=str), |
| ]) |
| |
| groupId: 'uint' = None |
| groupName: 'str' = None |
| |
| @dataclass |
| class AddGroupResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ]) |
| |
| status: 'uint' = None |
| groupId: 'uint' = None |
| |
| @dataclass |
| class ViewGroup(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ]) |
| |
| groupId: 'uint' = None |
| |
| @dataclass |
| class ViewGroupResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupName", Tag=2, Type=str), |
| ]) |
| |
| status: 'uint' = None |
| groupId: 'uint' = None |
| groupName: 'str' = None |
| |
| @dataclass |
| class GetGroupMembership(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ]) |
| |
| status: 'uint' = None |
| groupId: 'uint' = None |
| |
| @dataclass |
| class RemoveAllGroups(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class AddGroupIfIdentifying(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0004 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupName", Tag=1, Type=str), |
| ]) |
| |
| groupId: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneName", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="extensionFieldSets", Tag=4, Type=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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = None |
| groupId: 'uint' = None |
| sceneId: 'uint' = None |
| |
| @dataclass |
| class ViewScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=1, Type=uint), |
| ]) |
| |
| groupId: 'uint' = None |
| sceneId: 'uint' = None |
| |
| @dataclass |
| class ViewSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneName", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="extensionFieldSets", Tag=5, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=1, Type=uint), |
| ]) |
| |
| groupId: 'uint' = None |
| sceneId: 'uint' = None |
| |
| @dataclass |
| class RemoveSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = None |
| groupId: 'uint' = None |
| sceneId: 'uint' = None |
| |
| @dataclass |
| class RemoveAllScenes(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ]) |
| |
| groupId: 'uint' = None |
| |
| @dataclass |
| class RemoveAllScenesResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ]) |
| |
| status: 'uint' = None |
| groupId: 'uint' = None |
| |
| @dataclass |
| class StoreScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=1, Type=uint), |
| ]) |
| |
| groupId: 'uint' = None |
| sceneId: 'uint' = None |
| |
| @dataclass |
| class StoreSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = None |
| groupId: 'uint' = None |
| sceneId: 'uint' = None |
| |
| @dataclass |
| class RecallScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ]) |
| |
| groupId: 'uint' = None |
| sceneId: 'uint' = None |
| transitionTime: 'uint' = None |
| |
| @dataclass |
| class GetSceneMembership(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ]) |
| |
| groupId: 'uint' = None |
| |
| @dataclass |
| class GetSceneMembershipResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="capacity", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneCount", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneList", Tag=4, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneName", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="extensionFieldSets", Tag=4, Type=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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = None |
| groupId: 'uint' = None |
| sceneId: 'uint' = None |
| |
| @dataclass |
| class EnhancedViewScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0041 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=1, Type=uint), |
| ]) |
| |
| groupId: 'uint' = None |
| sceneId: 'uint' = None |
| |
| @dataclass |
| class EnhancedViewSceneResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0005 |
| command_id: typing.ClassVar[int] = 0x0041 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneName", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="extensionFieldSets", Tag=5, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupIdFrom", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="sceneIdFrom", Tag=2, Type=uint), |
| ]) |
| |
| status: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class On(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SampleMfgSpecificOnWithTransition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SampleMfgSpecificOnWithTransition2(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Toggle(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SampleMfgSpecificToggleWithTransition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SampleMfgSpecificToggleWithTransition2(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class OffWithEffect(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0040 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="effectId", Tag=0, Type=OnOff.Enums.OnOffEffectIdentifier), |
| ClusterObjectFieldDescriptor( |
| Label="effectVariant", Tag=1, Type=OnOff.Enums.OnOffDelayedAllOffEffectVariant), |
| ]) |
| |
| effectId: 'OnOff.Enums.OnOffEffectIdentifier' = None |
| effectVariant: 'OnOff.Enums.OnOffDelayedAllOffEffectVariant' = None |
| |
| @dataclass |
| class OnWithRecallGlobalScene(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0041 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class OnWithTimedOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0006 |
| command_id: typing.ClassVar[int] = 0x0042 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="onOffControl", Tag=0, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="level", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionOverride", Tag=3, Type=uint), |
| ]) |
| |
| level: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), |
| ClusterObjectFieldDescriptor( |
| Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'LevelControl.Enums.MoveMode' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode), |
| ClusterObjectFieldDescriptor( |
| Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'LevelControl.Enums.StepMode' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="optionMask", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionOverride", Tag=1, Type=uint), |
| ]) |
| |
| optionMask: 'uint' = None |
| optionOverride: 'uint' = None |
| |
| @dataclass |
| class MoveToLevelWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="level", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=1, Type=uint), |
| ]) |
| |
| level: 'uint' = None |
| transitionTime: 'uint' = None |
| |
| @dataclass |
| class MoveWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode), |
| ClusterObjectFieldDescriptor( |
| Label="rate", Tag=1, Type=uint), |
| ]) |
| |
| moveMode: 'LevelControl.Enums.MoveMode' = None |
| rate: 'uint' = None |
| |
| @dataclass |
| class StepWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode), |
| ClusterObjectFieldDescriptor( |
| Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ]) |
| |
| stepMode: 'LevelControl.Enums.StepMode' = None |
| stepSize: 'uint' = None |
| transitionTime: 'uint' = None |
| |
| @dataclass |
| class StopWithOnOff(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0008 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="alarmCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="clusterId", Tag=1, Type=uint), |
| ]) |
| |
| alarmCode: 'uint' = None |
| clusterId: 'uint' = None |
| |
| @dataclass |
| class Alarm(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="alarmCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="clusterId", Tag=1, Type=uint), |
| ]) |
| |
| alarmCode: 'uint' = None |
| clusterId: 'uint' = None |
| |
| @dataclass |
| class ResetAllAlarms(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class GetAlarmResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="alarmCode", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="clusterId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="timeStamp", Tag=3, Type=uint), |
| ]) |
| |
| status: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ResetAlarmLog(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0009 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="totalProfileNum", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="numOfTransferredPhases", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transferredPhases", Tag=3, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class PowerProfileResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="totalProfileNum", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="numOfTransferredPhases", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transferredPhases", Tag=3, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="currency", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="price", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="priceTrailingDigit", Tag=3, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileRecords", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="currency", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="price", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="priceTrailingDigit", Tag=2, Type=uint), |
| ]) |
| |
| currency: 'uint' = None |
| price: 'uint' = None |
| priceTrailingDigit: 'uint' = None |
| |
| @dataclass |
| class GetPowerProfilePrice(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = None |
| |
| @dataclass |
| class EnergyPhasesScheduleNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="numOfScheduledPhases", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="scheduledPhases", Tag=2, Type=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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileRecords", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="numOfScheduledPhases", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="scheduledPhases", Tag=2, Type=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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class PowerProfileScheduleConstraintsRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = None |
| |
| @dataclass |
| class EnergyPhasesScheduleRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = None |
| |
| @dataclass |
| class EnergyPhasesScheduleStateRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = None |
| |
| @dataclass |
| class EnergyPhasesScheduleStateResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="numOfScheduledPhases", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="scheduledPhases", Tag=2, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="currency", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="price", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="priceTrailingDigit", Tag=3, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="numOfScheduledPhases", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="scheduledPhases", Tag=2, Type=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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="startAfter", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="stopBefore", Tag=2, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = None |
| startAfter: 'uint' = None |
| stopBefore: 'uint' = None |
| |
| @dataclass |
| class PowerProfileScheduleConstraintsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="startAfter", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="stopBefore", Tag=2, Type=uint), |
| ]) |
| |
| powerProfileId: 'uint' = None |
| startAfter: 'uint' = None |
| stopBefore: 'uint' = None |
| |
| @dataclass |
| class GetPowerProfilePriceExtended(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001A |
| command_id: typing.ClassVar[int] = 0x000B |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="options", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="powerProfileStartTime", Tag=2, Type=uint), |
| ]) |
| |
| options: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="commandId", Tag=0, Type=ApplianceControl.Enums.CommandIdentification), |
| ]) |
| |
| commandId: 'ApplianceControl.Enums.CommandIdentification' = None |
| |
| @dataclass |
| class SignalStateResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="applianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus), |
| ClusterObjectFieldDescriptor( |
| Label="remoteEnableFlagsAndDeviceStatus2", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SignalStateNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="applianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus), |
| ClusterObjectFieldDescriptor( |
| Label="remoteEnableFlagsAndDeviceStatus2", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="functionId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="functionDataType", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="functionData", Tag=2, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class OverloadPause(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class OverloadWarning(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x001B |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="warningEvent", Tag=0, Type=ApplianceControl.Enums.WarningEvent), |
| ]) |
| |
| warningEvent: 'ApplianceControl.Enums.WarningEvent' = 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class CheckInResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="startFastPolling", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="fastPollTimeout", Tag=1, Type=uint), |
| ]) |
| |
| startFastPolling: 'bool' = None |
| fastPollTimeout: 'uint' = None |
| |
| @dataclass |
| class FastPollStop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class SetLongPollInterval(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="newLongPollInterval", Tag=0, Type=uint), |
| ]) |
| |
| newLongPollInterval: 'uint' = None |
| |
| @dataclass |
| class SetShortPollInterval(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0020 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="newShortPollInterval", Tag=0, Type=uint), |
| ]) |
| |
| newShortPollInterval: 'uint' = 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 BridgedActions: |
| id: typing.ClassVar[int] = 0x0025 |
| |
| class Enums: |
| class ActionErrorEnum(IntEnum): |
| kUnknown = 0x00 |
| kInterrupted = 0x01 |
| |
| class ActionStatusEnum(IntEnum): |
| kInactive = 0x00 |
| kActive = 0x01 |
| kPaused = 0x02 |
| kDisabled = 0x03 |
| |
| class ActionTypeEnum(IntEnum): |
| kOther = 0x00 |
| kScene = 0x01 |
| kSequence = 0x02 |
| kAutomation = 0x03 |
| kException = 0x04 |
| kNotification = 0x05 |
| kAlarm = 0x06 |
| |
| class EndpointListTypeEnum(IntEnum): |
| kOther = 0x00 |
| kRoom = 0x01 |
| kZone = 0x02 |
| |
| class Structs: |
| @dataclass |
| class ActionStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="name", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="type", Tag=2, Type=BridgedActions.Enums.ActionTypeEnum), |
| ClusterObjectFieldDescriptor( |
| Label="endpointListID", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="supportedCommands", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=5, Type=BridgedActions.Enums.ActionStatusEnum), |
| ]) |
| |
| actionID: 'uint' = None |
| name: 'str' = None |
| type: 'BridgedActions.Enums.ActionTypeEnum' = None |
| endpointListID: 'uint' = None |
| supportedCommands: 'uint' = None |
| status: 'BridgedActions.Enums.ActionStatusEnum' = None |
| |
| @dataclass |
| class EndpointListStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="endpointListID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="name", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="type", Tag=2, Type=BridgedActions.Enums.EndpointListTypeEnum), |
| ClusterObjectFieldDescriptor( |
| Label="endpoints", Tag=3, Type=bytes), |
| ]) |
| |
| endpointListID: 'uint' = None |
| name: 'str' = None |
| type: 'BridgedActions.Enums.EndpointListTypeEnum' = None |
| endpoints: 'bytes' = None |
| |
| class Commands: |
| @dataclass |
| class InstantAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| |
| @dataclass |
| class InstantActionWithTransition(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| transitionTime: 'uint' = None |
| |
| @dataclass |
| class StartAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| |
| @dataclass |
| class StartActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| duration: 'uint' = None |
| |
| @dataclass |
| class StopAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| |
| @dataclass |
| class PauseAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| |
| @dataclass |
| class PauseActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| duration: 'uint' = None |
| |
| @dataclass |
| class ResumeAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| |
| @dataclass |
| class EnableAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| |
| @dataclass |
| class EnableActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| duration: 'uint' = None |
| |
| @dataclass |
| class DisableAction(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| |
| @dataclass |
| class DisableActionWithDuration(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0025 |
| command_id: typing.ClassVar[int] = 0x000B |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="actionID", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="invokeID", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="duration", Tag=2, Type=uint), |
| ]) |
| |
| actionID: 'uint' = None |
| invokeID: 'uint' = None |
| duration: 'uint' = None |
| |
| class Attributes: |
| class ActionList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=BridgedActions.Structs.ActionStruct, IsArray=True) |
| |
| class EndpointList(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=BridgedActions.Structs.EndpointListStruct, IsArray=True) |
| |
| class SetupUrl(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0025 |
| |
| @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 0x0025 |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="vendorId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="productId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="updateToken", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="newVersion", Tag=1, Type=uint), |
| ]) |
| |
| updateToken: 'bytes' = None |
| newVersion: 'uint' = None |
| |
| @dataclass |
| class NotifyUpdateApplied(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0029 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="updateToken", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAQueryStatus), |
| ClusterObjectFieldDescriptor( |
| Label="delayedActionTime", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="action", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction), |
| ClusterObjectFieldDescriptor( |
| Label="delayedActionTime", Tag=1, Type=uint), |
| ]) |
| |
| action: 'OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="providerLocation", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="vendorId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="announcementReason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason), |
| ClusterObjectFieldDescriptor( |
| Label="metadataForNode", Tag=3, Type=bytes), |
| ]) |
| |
| providerLocation: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="expiryLengthSeconds", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="breadcrumb", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="timeoutMs", Tag=2, Type=uint), |
| ]) |
| |
| expiryLengthSeconds: 'uint' = None |
| breadcrumb: 'uint' = None |
| timeoutMs: 'uint' = None |
| |
| @dataclass |
| class ArmFailSafeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), |
| ClusterObjectFieldDescriptor( |
| Label="debugText", Tag=1, Type=str), |
| ]) |
| |
| errorCode: 'GeneralCommissioning.Enums.GeneralCommissioningError' = None |
| debugText: 'str' = None |
| |
| @dataclass |
| class SetRegulatoryConfig(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="location", Tag=0, Type=GeneralCommissioning.Enums.RegulatoryLocationType), |
| ClusterObjectFieldDescriptor( |
| Label="countryCode", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="breadcrumb", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="timeoutMs", Tag=3, Type=uint), |
| ]) |
| |
| location: 'GeneralCommissioning.Enums.RegulatoryLocationType' = 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), |
| ClusterObjectFieldDescriptor( |
| Label="debugText", Tag=1, Type=str), |
| ]) |
| |
| errorCode: 'GeneralCommissioning.Enums.GeneralCommissioningError' = None |
| debugText: 'str' = None |
| |
| @dataclass |
| class CommissioningComplete(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class CommissioningCompleteResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0030 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.GeneralCommissioningError), |
| ClusterObjectFieldDescriptor( |
| Label="debugText", Tag=1, Type=str), |
| ]) |
| |
| errorCode: 'GeneralCommissioning.Enums.GeneralCommissioningError' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ssid", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="breadcrumb", Tag=1, Type=uint), |
| 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ssid", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="credentials", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="breadcrumb", Tag=2, Type=uint), |
| 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="ssid", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="credentials", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="breadcrumb", Tag=2, Type=uint), |
| 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="operationalDataset", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="breadcrumb", Tag=1, Type=uint), |
| 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="operationalDataset", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="breadcrumb", Tag=1, Type=uint), |
| 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="networkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="breadcrumb", Tag=1, Type=uint), |
| 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="networkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="breadcrumb", Tag=1, Type=uint), |
| 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="networkID", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="breadcrumb", Tag=1, Type=uint), |
| 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="intent", Tag=0, Type=DiagnosticLogs.Enums.LogsIntent), |
| ClusterObjectFieldDescriptor( |
| Label="requestedProtocol", Tag=1, Type=DiagnosticLogs.Enums.LogsTransferProtocol), |
| ClusterObjectFieldDescriptor( |
| Label="transferFileDesignator", Tag=2, Type=bytes), |
| ]) |
| |
| intent: 'DiagnosticLogs.Enums.LogsIntent' = 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=DiagnosticLogs.Enums.LogsStatus), |
| ClusterObjectFieldDescriptor( |
| Label="content", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="timeStamp", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="timeSinceBoot", Tag=3, Type=uint), |
| ]) |
| |
| status: 'DiagnosticLogs.Enums.LogsStatus' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ShutDown(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0039 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class Leave(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0039 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ReachableChanged(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0039 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="commissioningTimeout", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="PAKEVerifier", Tag=1, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="discriminator", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="iterations", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="salt", Tag=4, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="passcodeID", Tag=5, Type=uint), |
| ]) |
| |
| commissioningTimeout: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="attestationElements", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="signature", Tag=1, Type=bytes), |
| ]) |
| |
| attestationElements: 'bytes' = None |
| signature: 'bytes' = None |
| |
| @dataclass |
| class CertificateChainRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="certificateType", Tag=0, Type=uint), |
| ]) |
| |
| certificateType: 'uint' = None |
| |
| @dataclass |
| class CertificateChainResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="certificate", Tag=0, Type=bytes), |
| ]) |
| |
| certificate: 'bytes' = None |
| |
| @dataclass |
| class OpCSRRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="CSRNonce", Tag=0, Type=bytes), |
| ]) |
| |
| CSRNonce: 'bytes' = None |
| |
| @dataclass |
| class OpCSRResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NOCSRElements", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="attestationSignature", Tag=1, Type=bytes), |
| ]) |
| |
| NOCSRElements: 'bytes' = None |
| attestationSignature: 'bytes' = None |
| |
| @dataclass |
| class AddNOC(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NOCValue", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="ICACValue", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="NOCValue", Tag=0, Type=bytes), |
| ClusterObjectFieldDescriptor( |
| Label="ICACValue", Tag=1, Type=bytes), |
| ]) |
| |
| NOCValue: 'bytes' = None |
| ICACValue: 'bytes' = None |
| |
| @dataclass |
| class NOCResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="statusCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="fabricIndex", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="debugText", Tag=2, Type=str), |
| ]) |
| |
| statusCode: 'uint' = None |
| fabricIndex: 'uint' = None |
| debugText: 'str' = None |
| |
| @dataclass |
| class UpdateFabricLabel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="label", Tag=0, Type=str), |
| ]) |
| |
| label: 'str' = None |
| |
| @dataclass |
| class RemoveFabric(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="fabricIndex", Tag=0, Type=uint), |
| ]) |
| |
| fabricIndex: 'uint' = None |
| |
| @dataclass |
| class AddTrustedRootCertificate(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x000B |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="rootCertificate", Tag=0, Type=bytes), |
| ]) |
| |
| rootCertificate: 'bytes' = None |
| |
| @dataclass |
| class RemoveTrustedRootCertificate(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x003E |
| command_id: typing.ClassVar[int] = 0x000C |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="trustedRootIdentifier", Tag=0, Type=bytes), |
| ]) |
| |
| trustedRootIdentifier: 'bytes' = 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 CurrentFabricIndex(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x003E |
| |
| @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 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 BooleanState: |
| id: typing.ClassVar[int] = 0x0045 |
| |
| class Attributes: |
| class StateValue(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=bool) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0045 |
| |
| @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 0x0045 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0xFFFD |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| |
| @dataclass |
| class ModeSelect: |
| id: typing.ClassVar[int] = 0x0050 |
| |
| class Structs: |
| @dataclass |
| class ModeOptionStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="label", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="mode", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="semanticTag", Tag=2, Type=uint), |
| ]) |
| |
| label: 'str' = None |
| mode: 'uint' = None |
| semanticTag: 'uint' = None |
| |
| @dataclass |
| class SemanticTag(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mfgCode", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="value", Tag=1, Type=uint), |
| ]) |
| |
| mfgCode: 'uint' = None |
| value: 'uint' = None |
| |
| class Commands: |
| @dataclass |
| class ChangeToMode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0050 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="newMode", Tag=0, Type=uint), |
| ]) |
| |
| newMode: 'uint' = None |
| |
| class Attributes: |
| class CurrentMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0000 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class SupportedModes(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0001 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=ModeSelect.Structs.ModeOptionStruct, IsArray=True) |
| |
| class OnMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0002 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class StartUpMode(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0003 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class Description(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0004 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=str) |
| |
| class FeatureMap(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x0050 |
| |
| @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 0x0050 |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="logEntryId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="timestamp", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="eventType", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="source", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="eventIdOrAlarmCode", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="userId", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="pin", Tag=6, Type=bytes), |
| ]) |
| |
| logEntryId: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="userStatus", Tag=1, Type=DoorLock.Enums.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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="userStatus", Tag=1, Type=DoorLock.Enums.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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="userStatus", Tag=1, Type=uint), |
| ]) |
| |
| userId: 'uint' = None |
| userStatus: 'uint' = None |
| |
| @dataclass |
| class SetUserStatusResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0101 |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="userType", Tag=1, Type=DoorLock.Enums.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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="userType", Tag=1, Type=DoorLock.Enums.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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="userStatus", Tag=1, Type=DoorLock.Enums.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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="userId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="userStatus", Tag=1, Type=DoorLock.Enums.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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 Commands: |
| @dataclass |
| class UpOrOpen(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class DownOrClose(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class StopMotion(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class GoToLiftValue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="liftValue", Tag=0, Type=uint), |
| ]) |
| |
| liftValue: 'uint' = None |
| |
| @dataclass |
| class GoToLiftPercentage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="liftPercentageValue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="liftPercent100thsValue", Tag=1, Type=uint), |
| ]) |
| |
| liftPercentageValue: 'uint' = None |
| liftPercent100thsValue: 'uint' = None |
| |
| @dataclass |
| class GoToTiltValue(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="tiltValue", Tag=0, Type=uint), |
| ]) |
| |
| tiltValue: 'uint' = None |
| |
| @dataclass |
| class GoToTiltPercentage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0102 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="tiltPercentageValue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="tiltPercent100thsValue", Tag=1, Type=uint), |
| ]) |
| |
| tiltPercentageValue: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mode", Tag=0, Type=Thermostat.Enums.SetpointAdjustMode), |
| ClusterObjectFieldDescriptor( |
| Label="amount", Tag=1, Type=int), |
| ]) |
| |
| mode: 'Thermostat.Enums.SetpointAdjustMode' = None |
| amount: 'int' = None |
| |
| @dataclass |
| class CurrentWeeklySchedule(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="numberOfTransitionsForSequence", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="dayOfWeekForSequence", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="numberOfTransitionsForSequence", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="dayOfWeekForSequence", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="timeOfDay", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="relayStatus", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="localTemperature", Tag=2, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="humidityInPercentage", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="setpoint", Tag=4, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="unreadEntries", Tag=5, Type=uint), |
| ]) |
| |
| timeOfDay: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class GetRelayStatusLog(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0201 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="hue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="direction", Tag=1, Type=ColorControl.Enums.HueDirection), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| hue: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), |
| ClusterObjectFieldDescriptor( |
| Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'ColorControl.Enums.HueMoveMode' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), |
| ClusterObjectFieldDescriptor( |
| Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'ColorControl.Enums.HueStepMode' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="saturation", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| saturation: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="moveMode", Tag=0, Type=ColorControl.Enums.SaturationMoveMode), |
| ClusterObjectFieldDescriptor( |
| Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'ColorControl.Enums.SaturationMoveMode' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="stepMode", Tag=0, Type=ColorControl.Enums.SaturationStepMode), |
| ClusterObjectFieldDescriptor( |
| Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'ColorControl.Enums.SaturationStepMode' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="hue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="saturation", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| hue: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="colorX", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="colorY", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| colorX: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="rateX", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="rateY", Tag=1, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| rateX: 'int' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="stepX", Tag=0, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="stepY", Tag=1, Type=int), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepX: 'int' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="colorTemperature", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| colorTemperature: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="enhancedHue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="direction", Tag=1, Type=ColorControl.Enums.HueDirection), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| enhancedHue: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), |
| ClusterObjectFieldDescriptor( |
| Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=3, Type=uint), |
| ]) |
| |
| moveMode: 'ColorControl.Enums.HueMoveMode' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), |
| ClusterObjectFieldDescriptor( |
| Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| stepMode: 'ColorControl.Enums.HueStepMode' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="enhancedHue", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="saturation", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=4, Type=uint), |
| ]) |
| |
| enhancedHue: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=1, Type=uint), |
| ]) |
| |
| optionsMask: 'uint' = None |
| optionsOverride: 'uint' = None |
| |
| @dataclass |
| class MoveColorTemperature(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0300 |
| command_id: typing.ClassVar[int] = 0x004B |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode), |
| ClusterObjectFieldDescriptor( |
| Label="rate", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="colorTemperatureMinimum", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="colorTemperatureMaximum", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=5, Type=uint), |
| ]) |
| |
| moveMode: 'ColorControl.Enums.HueMoveMode' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode), |
| ClusterObjectFieldDescriptor( |
| Label="stepSize", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="transitionTime", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="colorTemperatureMinimum", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="colorTemperatureMaximum", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsMask", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionsOverride", Tag=6, Type=uint), |
| ]) |
| |
| stepMode: 'ColorControl.Enums.HueStepMode' = 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 Enums: |
| class LightSensorType(IntEnum): |
| kPhotodiode = 0x00 |
| kCmos = 0x01 |
| |
| 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 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="enrollResponseCode", Tag=0, Type=IasZone.Enums.IasEnrollResponseCode), |
| ClusterObjectFieldDescriptor( |
| Label="zoneId", Tag=1, Type=uint), |
| ]) |
| |
| enrollResponseCode: 'IasZone.Enums.IasEnrollResponseCode' = None |
| zoneId: 'uint' = None |
| |
| @dataclass |
| class ZoneStatusChangeNotification(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="zoneStatus", Tag=0, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ZoneEnrollRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="zoneType", Tag=0, Type=IasZone.Enums.IasZoneType), |
| ClusterObjectFieldDescriptor( |
| Label="manufacturerCode", Tag=1, Type=uint), |
| ]) |
| |
| zoneType: 'IasZone.Enums.IasZoneType' = None |
| manufacturerCode: 'uint' = None |
| |
| @dataclass |
| class InitiateTestMode(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="testModeDuration", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="currentZoneSensitivityLevel", Tag=1, Type=uint), |
| ]) |
| |
| testModeDuration: 'uint' = None |
| currentZoneSensitivityLevel: 'uint' = None |
| |
| @dataclass |
| class InitiateNormalOperationModeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class InitiateTestModeResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0500 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| class Attributes: |
| 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="armMode", Tag=0, Type=IasAce.Enums.IasAceArmMode), |
| ClusterObjectFieldDescriptor( |
| Label="armDisarmCode", Tag=1, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="zoneId", Tag=2, Type=uint), |
| ]) |
| |
| armMode: 'IasAce.Enums.IasAceArmMode' = None |
| armDisarmCode: 'str' = None |
| zoneId: 'uint' = None |
| |
| @dataclass |
| class ArmResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="armNotification", Tag=0, Type=IasAce.Enums.IasAceArmNotification), |
| ]) |
| |
| armNotification: 'IasAce.Enums.IasAceArmNotification' = None |
| |
| @dataclass |
| class Bypass(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="numberOfZones", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="zoneIds", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="section0", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section1", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section2", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section3", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section4", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section5", Tag=5, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section6", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section7", Tag=7, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section8", Tag=8, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section9", Tag=9, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section10", Tag=10, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section11", Tag=11, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section12", Tag=12, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section13", Tag=13, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section14", Tag=14, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="section15", Tag=15, Type=uint), |
| ]) |
| |
| section0: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class GetZoneInformationResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="zoneId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="zoneType", Tag=1, Type=IasAce.Enums.IasZoneType), |
| ClusterObjectFieldDescriptor( |
| Label="ieeeAddress", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="zoneLabel", Tag=3, Type=str), |
| ]) |
| |
| zoneId: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class ZoneStatusChanged(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="zoneId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="zoneStatus", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), |
| ClusterObjectFieldDescriptor( |
| Label="zoneLabel", Tag=3, Type=str), |
| ]) |
| |
| zoneId: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class PanelStatusChanged(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="panelStatus", Tag=0, Type=IasAce.Enums.IasAcePanelStatus), |
| ClusterObjectFieldDescriptor( |
| Label="secondsRemaining", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), |
| ClusterObjectFieldDescriptor( |
| Label="alarmStatus", Tag=3, Type=IasAce.Enums.IasAceAlarmStatus), |
| ]) |
| |
| panelStatus: 'IasAce.Enums.IasAcePanelStatus' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class GetPanelStatusResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="panelStatus", Tag=0, Type=IasAce.Enums.IasAcePanelStatus), |
| ClusterObjectFieldDescriptor( |
| Label="secondsRemaining", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="audibleNotification", Tag=2, Type=IasAce.Enums.IasAceAudibleNotification), |
| ClusterObjectFieldDescriptor( |
| Label="alarmStatus", Tag=3, Type=IasAce.Enums.IasAceAlarmStatus), |
| ]) |
| |
| panelStatus: 'IasAce.Enums.IasAcePanelStatus' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="numberOfZones", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="zoneIds", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class BypassResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="numberOfZones", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="bypassResult", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class GetZoneStatusResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0501 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="zoneStatusComplete", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="numberOfZones", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="zoneStatusResult", Tag=2, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="startingZoneId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="maxNumberOfZoneIds", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="zoneStatusMaskFlag", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="zoneStatusMask", Tag=3, Type=uint), |
| ]) |
| |
| startingZoneId: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="majorNumber", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="minorNumber", Tag=1, Type=uint), |
| ]) |
| |
| majorNumber: 'uint' = None |
| minorNumber: 'uint' = None |
| |
| @dataclass |
| class SkipChannel(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0504 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="count", Tag=0, Type=uint), |
| ]) |
| |
| count: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="target", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="data", Tag=1, Type=str), |
| ]) |
| |
| target: 'uint' = None |
| data: 'str' = None |
| |
| @dataclass |
| class NavigateTargetResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0505 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=TargetNavigator.Enums.NavigateTargetStatus), |
| ClusterObjectFieldDescriptor( |
| Label="data", Tag=1, Type=str), |
| ]) |
| |
| status: 'TargetNavigator.Enums.NavigateTargetStatus' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MediaPlayResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaPause(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MediaPauseResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaStop(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MediaStopResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaStartOver(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MediaStartOverResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaPrevious(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MediaPreviousResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaNext(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MediaNextResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaRewind(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MediaRewindResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaFastForward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class MediaFastForwardResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaSkipForward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="deltaPositionMilliseconds", Tag=0, Type=uint), |
| ]) |
| |
| deltaPositionMilliseconds: 'uint' = None |
| |
| @dataclass |
| class MediaSkipForwardResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaSkipBackward(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="deltaPositionMilliseconds", Tag=0, Type=uint), |
| ]) |
| |
| deltaPositionMilliseconds: 'uint' = None |
| |
| @dataclass |
| class MediaSkipBackwardResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = None |
| |
| @dataclass |
| class MediaSeek(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x000A |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="position", Tag=0, Type=uint), |
| ]) |
| |
| position: 'uint' = None |
| |
| @dataclass |
| class MediaSeekResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0506 |
| command_id: typing.ClassVar[int] = 0x000B |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="mediaPlaybackStatus", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatus), |
| ]) |
| |
| mediaPlaybackStatus: 'MediaPlayback.Enums.MediaPlaybackStatus' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class HideInputStatus(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class RenameInput(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0507 |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="index", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="name", Tag=1, Type=str), |
| ]) |
| |
| index: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="keyCode", Tag=0, Type=KeypadInput.Enums.KeypadInputCecKeyCode), |
| ]) |
| |
| keyCode: 'KeypadInput.Enums.KeypadInputCecKeyCode' = None |
| |
| @dataclass |
| class SendKeyResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0509 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=KeypadInput.Enums.KeypadInputStatus), |
| ]) |
| |
| status: 'KeypadInput.Enums.KeypadInputStatus' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="autoPlay", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="data", Tag=1, Type=str), |
| ]) |
| |
| autoPlay: 'bool' = None |
| data: 'str' = None |
| |
| @dataclass |
| class LaunchContentResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="contentURL", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="displayString", Tag=1, Type=str), |
| ]) |
| |
| contentURL: 'str' = None |
| displayString: 'str' = None |
| |
| @dataclass |
| class LaunchURLResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050A |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="index", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="name", Tag=1, Type=str), |
| ]) |
| |
| index: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=ApplicationLauncher.Enums.ApplicationLauncherStatus), |
| ClusterObjectFieldDescriptor( |
| Label="data", Tag=1, Type=str), |
| ]) |
| |
| status: 'ApplicationLauncher.Enums.ApplicationLauncherStatus' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=0, Type=ApplicationBasic.Enums.ApplicationBasicStatus), |
| ]) |
| |
| status: 'ApplicationBasic.Enums.ApplicationBasicStatus' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="tempAccountIdentifier", Tag=0, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="setupPIN", Tag=1, Type=str), |
| ]) |
| |
| tempAccountIdentifier: 'str' = 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 NullablesAndOptionalsStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="nullableInt", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionalInt", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalInt", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="nullableString", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="optionalString", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalString", Tag=5, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="nullableStruct", Tag=6, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor( |
| Label="optionalStruct", Tag=7, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalStruct", Tag=8, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor( |
| Label="nullableList", Tag=9, Type=TestCluster.Enums.SimpleEnum, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="optionalList", Tag=10, Type=TestCluster.Enums.SimpleEnum, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalList", Tag=11, Type=TestCluster.Enums.SimpleEnum, IsArray=True), |
| ]) |
| |
| nullableInt: 'uint' = None |
| optionalInt: 'uint' = None |
| nullableOptionalInt: 'uint' = None |
| nullableString: 'str' = None |
| optionalString: 'str' = None |
| nullableOptionalString: 'str' = None |
| nullableStruct: 'TestCluster.Structs.SimpleStruct' = None |
| optionalStruct: 'TestCluster.Structs.SimpleStruct' = None |
| nullableOptionalStruct: 'TestCluster.Structs.SimpleStruct' = None |
| nullableList: typing.List['TestCluster.Enums.SimpleEnum'] = None |
| optionalList: typing.List['TestCluster.Enums.SimpleEnum'] = None |
| nullableOptionalList: typing.List['TestCluster.Enums.SimpleEnum'] = None |
| |
| @dataclass |
| class NestedStruct(ClusterObject): |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="a", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="b", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="c", Tag=2, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class TestSpecificResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="returnValue", Tag=0, Type=uint), |
| ]) |
| |
| returnValue: 'uint' = None |
| |
| @dataclass |
| class TestNotHandled(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class TestAddArgumentsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="returnValue", Tag=0, Type=uint), |
| ]) |
| |
| returnValue: 'uint' = None |
| |
| @dataclass |
| class TestSpecific(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class TestSimpleArgumentResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="returnValue", Tag=0, Type=bool), |
| ]) |
| |
| returnValue: 'bool' = None |
| |
| @dataclass |
| class TestUnknownCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class TestStructArrayArgumentResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0003 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="arg2", Tag=1, Type=uint), |
| ]) |
| |
| arg1: 'uint' = None |
| arg2: 'uint' = None |
| |
| @dataclass |
| class TestListInt8UReverseResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0004 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=uint, IsArray=True), |
| ]) |
| |
| arg1: typing.List['uint'] = None |
| |
| @dataclass |
| class TestSimpleArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=bool), |
| ]) |
| |
| arg1: 'bool' = None |
| |
| @dataclass |
| class TestEnumsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0005 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="arg2", Tag=1, Type=TestCluster.Enums.SimpleEnum), |
| ]) |
| |
| arg1: 'uint' = None |
| arg2: 'TestCluster.Enums.SimpleEnum' = None |
| |
| @dataclass |
| class TestStructArrayArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=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 TestNullableOptionalResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0006 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="wasPresent", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="wasNull", Tag=1, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="value", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="originalValue", Tag=3, Type=uint), |
| ]) |
| |
| wasPresent: 'bool' = None |
| wasNull: 'bool' = None |
| value: 'uint' = None |
| originalValue: 'uint' = None |
| |
| @dataclass |
| class TestStructArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=TestCluster.Structs.SimpleStruct), |
| ]) |
| |
| arg1: 'TestCluster.Structs.SimpleStruct' = None |
| |
| @dataclass |
| class TestComplexNullableOptionalResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0007 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="nullableIntWasNull", Tag=0, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableIntValue", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionalIntWasPresent", Tag=2, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="optionalIntValue", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalIntWasPresent", Tag=4, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalIntWasNull", Tag=5, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalIntValue", Tag=6, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="nullableStringWasNull", Tag=7, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableStringValue", Tag=8, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="optionalStringWasPresent", Tag=9, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="optionalStringValue", Tag=10, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalStringWasPresent", Tag=11, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalStringWasNull", Tag=12, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalStringValue", Tag=13, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="nullableStructWasNull", Tag=14, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableStructValue", Tag=15, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor( |
| Label="optionalStructWasPresent", Tag=16, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="optionalStructValue", Tag=17, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalStructWasPresent", Tag=18, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalStructWasNull", Tag=19, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalStructValue", Tag=20, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor( |
| Label="nullableListWasNull", Tag=21, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableListValue", Tag=22, Type=TestCluster.Enums.SimpleEnum, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="optionalListWasPresent", Tag=23, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="optionalListValue", Tag=24, Type=TestCluster.Enums.SimpleEnum, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalListWasPresent", Tag=25, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalListWasNull", Tag=26, Type=bool), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalListValue", Tag=27, Type=TestCluster.Enums.SimpleEnum, IsArray=True), |
| ]) |
| |
| nullableIntWasNull: 'bool' = None |
| nullableIntValue: 'uint' = None |
| optionalIntWasPresent: 'bool' = None |
| optionalIntValue: 'uint' = None |
| nullableOptionalIntWasPresent: 'bool' = None |
| nullableOptionalIntWasNull: 'bool' = None |
| nullableOptionalIntValue: 'uint' = None |
| nullableStringWasNull: 'bool' = None |
| nullableStringValue: 'str' = None |
| optionalStringWasPresent: 'bool' = None |
| optionalStringValue: 'str' = None |
| nullableOptionalStringWasPresent: 'bool' = None |
| nullableOptionalStringWasNull: 'bool' = None |
| nullableOptionalStringValue: 'str' = None |
| nullableStructWasNull: 'bool' = None |
| nullableStructValue: 'TestCluster.Structs.SimpleStruct' = None |
| optionalStructWasPresent: 'bool' = None |
| optionalStructValue: 'TestCluster.Structs.SimpleStruct' = None |
| nullableOptionalStructWasPresent: 'bool' = None |
| nullableOptionalStructWasNull: 'bool' = None |
| nullableOptionalStructValue: 'TestCluster.Structs.SimpleStruct' = None |
| nullableListWasNull: 'bool' = None |
| nullableListValue: typing.List['TestCluster.Enums.SimpleEnum'] = None |
| optionalListWasPresent: 'bool' = None |
| optionalListValue: typing.List['TestCluster.Enums.SimpleEnum'] = None |
| nullableOptionalListWasPresent: 'bool' = None |
| nullableOptionalListWasNull: 'bool' = None |
| nullableOptionalListValue: typing.List['TestCluster.Enums.SimpleEnum'] = None |
| |
| @dataclass |
| class TestNestedStructArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0008 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStruct), |
| ]) |
| |
| arg1: 'TestCluster.Structs.NestedStruct' = None |
| |
| @dataclass |
| class TestListStructArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0009 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=TestCluster.Structs.NestedStructList), |
| ]) |
| |
| arg1: 'TestCluster.Structs.NestedStructList' = None |
| |
| @dataclass |
| class TestListNestedStructListArgumentRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000C |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 TestEnumsRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000E |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="arg2", Tag=1, Type=TestCluster.Enums.SimpleEnum), |
| ]) |
| |
| arg1: 'uint' = None |
| arg2: 'TestCluster.Enums.SimpleEnum' = None |
| |
| @dataclass |
| class TestNullableOptionalRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x000F |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="arg1", Tag=0, Type=uint), |
| ]) |
| |
| arg1: 'uint' = None |
| |
| @dataclass |
| class TestComplexNullableOptionalRequest(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x050F |
| command_id: typing.ClassVar[int] = 0x0010 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="nullableInt", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="optionalInt", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalInt", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="nullableString", Tag=3, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="optionalString", Tag=4, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalString", Tag=5, Type=str), |
| ClusterObjectFieldDescriptor( |
| Label="nullableStruct", Tag=6, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor( |
| Label="optionalStruct", Tag=7, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalStruct", Tag=8, Type=TestCluster.Structs.SimpleStruct), |
| ClusterObjectFieldDescriptor( |
| Label="nullableList", Tag=9, Type=TestCluster.Enums.SimpleEnum, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="optionalList", Tag=10, Type=TestCluster.Enums.SimpleEnum, IsArray=True), |
| ClusterObjectFieldDescriptor( |
| Label="nullableOptionalList", Tag=11, Type=TestCluster.Enums.SimpleEnum, IsArray=True), |
| ]) |
| |
| nullableInt: 'uint' = None |
| optionalInt: 'uint' = None |
| nullableOptionalInt: 'uint' = None |
| nullableString: 'str' = None |
| optionalString: 'str' = None |
| nullableOptionalString: 'str' = None |
| nullableStruct: 'TestCluster.Structs.SimpleStruct' = None |
| optionalStruct: 'TestCluster.Structs.SimpleStruct' = None |
| nullableOptionalStruct: 'TestCluster.Structs.SimpleStruct' = None |
| nullableList: typing.List['TestCluster.Enums.SimpleEnum'] = None |
| optionalList: typing.List['TestCluster.Enums.SimpleEnum'] = None |
| nullableOptionalList: typing.List['TestCluster.Enums.SimpleEnum'] = 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 VendorId(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0022 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=uint) |
| |
| class ListNullablesAndOptionalsStruct(ClusterAttributeDescriptor): |
| @ChipUtility.classproperty |
| def cluster_id(cls) -> int: |
| return 0x050F |
| |
| @ChipUtility.classproperty |
| def attribute_id(cls) -> int: |
| return 0x0023 |
| |
| @ChipUtility.classproperty |
| def attribute_type(cls) -> ClusterObjectFieldDescriptor: |
| return ClusterObjectFieldDescriptor(Type=TestCluster.Structs.NullablesAndOptionalsStruct, IsArray=True) |
| |
| 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="messageId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="messageControl", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class CancelMessage(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="messageId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="messageControl", Tag=1, Type=int), |
| ]) |
| |
| messageId: 'uint' = None |
| messageControl: 'int' = None |
| |
| @dataclass |
| class MessageConfirmation(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0703 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="messageId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="confirmationTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="messageConfirmationControl", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="messageResponse", Tag=3, Type=bytes), |
| ]) |
| |
| messageId: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="messageId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="messageControl", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class GetAlertsResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B02 |
| command_id: typing.ClassVar[int] = 0x0000 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="alertsCount", Tag=0, Type=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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="eventHeader", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="eventId", Tag=1, Type=ApplianceEventsAndAlert.Enums.EventIdentification), |
| ]) |
| |
| eventHeader: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="timeStamp", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="logId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="logLength", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="logPayload", Tag=3, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="timeStamp", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="logId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="logLength", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="logPayload", Tag=3, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class LogQueueResponse(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B03 |
| command_id: typing.ClassVar[int] = 0x0002 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="logQueueSize", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="logIds", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="logQueueSize", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="logIds", Tag=1, Type=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 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="profileCount", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="profileIntervalPeriod", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="maxNumberOfIntervals", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="listOfAttributes", Tag=3, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ]) |
| |
| @dataclass |
| class GetMeasurementProfileResponseCommand(ClusterCommand): |
| cluster_id: typing.ClassVar[int] = 0x0B04 |
| command_id: typing.ClassVar[int] = 0x0001 |
| is_client: typing.ClassVar[bool] = False |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="startTime", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="status", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="profileIntervalPeriod", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="numberOfIntervalsDelivered", Tag=3, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="attributeId", Tag=4, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="intervals", Tag=5, Type=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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="attributeId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="startTime", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="numberOfIntervals", Tag=2, Type=uint), |
| ]) |
| |
| attributeId: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="nodeId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="endpointId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="clusterId", Tag=3, Type=uint), |
| ]) |
| |
| nodeId: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @ChipUtility.classproperty |
| def descriptor(cls) -> ClusterObjectDescriptor: |
| return ClusterObjectDescriptor( |
| Fields=[ |
| ClusterObjectFieldDescriptor( |
| Label="nodeId", Tag=0, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="groupId", Tag=1, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="endpointId", Tag=2, Type=uint), |
| ClusterObjectFieldDescriptor( |
| Label="clusterId", Tag=3, Type=uint), |
| ]) |
| |
| nodeId: 'uint' = 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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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 |
| is_client: typing.ClassVar[bool] = True |
| |
| @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) |