diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
index 282bc79e226418..086a3db0aa36c8 100644
--- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
+++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
@@ -218,14 +218,6 @@ server cluster Scenes = 5 {
command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
}
-server cluster Alarms = 9 {
- readonly attribute command_id generatedCommandList[] = 65528;
- readonly attribute command_id acceptedCommandList[] = 65529;
- readonly attribute attrib_id attributeList[] = 65531;
- readonly attribute bitmap32 featureMap = 65532;
- readonly attribute int16u clusterRevision = 65533;
-}
-
server cluster Descriptor = 29 {
struct DeviceType {
devtype_id type = 0;
@@ -1855,14 +1847,6 @@ endpoint 1 {
ram attribute clusterRevision default = 3;
}
- server cluster Alarms {
- callback attribute generatedCommandList;
- callback attribute acceptedCommandList;
- callback attribute attributeList;
- ram attribute featureMap;
- ram attribute clusterRevision default = 1;
- }
-
server cluster Descriptor {
callback attribute deviceList;
callback attribute serverList;
diff --git a/src/app/zap-templates/zcl/data-model/silabs/general.xml b/src/app/zap-templates/zcl/data-model/silabs/general.xml
index a44c64a6debc8d..d384934248d8eb 100644
--- a/src/app/zap-templates/zcl/data-model/silabs/general.xml
+++ b/src/app/zap-templates/zcl/data-model/silabs/general.xml
@@ -89,91 +89,6 @@ limitations under the License.
-
- Power Configuration
- General
- Attributes for determining more detailed information about a device's power source(s), and for configuring under/over voltage alarms.
- 0x0001
- POWER_CONFIG_CLUSTER
- true
- true
-
- mains voltage
- mains frequency
- mains alarm mask
- mains voltage min threshold
- mains voltage max threshold
- mains voltage dwell trip
- battery voltage
- battery percentage remaining
- battery manufacturer
- battery size
- battery ahr rating
- battery quantity
- battery rated voltage
- battery alarm mask
- battery voltage min threshold
- battery voltage threshold 1
- battery voltage threshold 2
- battery voltage threshold 3
- battery percentage min threshold
- battery percentage threshold 1
- battery percentage threshold 2
- battery percentage threshold 3
- battery alarm state
- battery 2 voltage
- battery 2 percentage remaining
- battery 2 manufacturer
- battery 2 size
- battery 2 ahr rating
- battery 2 quantity
- battery 2 rated voltage
- battery 2 alarm mask
- battery 2 voltage min threshold
- battery 2 voltage threshold 1
- battery 2 voltage threshold 2
- battery 2 voltage threshold 3
- battery 2 percentage min threshold
- battery 2 percentage threshold 1
- battery 2 percentage threshold 2
- battery 2 percentage threshold 3
- battery 2 alarm state
- battery 3 voltage
- battery 3 percentage remaining
- battery 3 manufacturer
- battery 3 size
- battery 3 ahr rating
- battery 3 quantity
- battery 3 rated voltage
- battery 3 alarm mask
- battery 3 voltage min threshold
- battery 3 voltage threshold 1
- battery 3 voltage threshold 2
- battery 3 voltage threshold 3
- battery 3 percentage min threshold
- battery 3 percentage threshold 1
- battery 3 percentage threshold 2
- battery 3 percentage threshold 3
- battery 3 alarm state
-
-
- Device Temperature Configuration
- General
- Attributes for determining information about a device's internal temperature, and for configuring under/over temperature alarms.
- 0x0002
- DEVICE_TEMP_CLUSTER
- true
- true
- current temperature
- min temp experienced
- max temp experienced
- over temp total dwell
- device temp alarm mask
- low temp threshold
- high temp threshold
- low temp dwell trip point
- high temp dwell trip point
-
Groups
General
@@ -365,74 +280,6 @@ limitations under the License.
-
- Alarms
- General
- Attributes and commands for sending notifications and configuring alarm functionality.
- 0x0009
- ALARM_CLUSTER
- true
- true
- alarm count
-
-
- Command description for ResetAlarm
-
-
-
-
-
-
- Command description for ResetAllAlarms
-
-
-
-
- Command description for GetAlarm
-
-
-
-
- Command description for ResetAlarmLog
-
-
-
-
- Command description for Alarm
-
-
-
-
-
-
- Command description for GetAlarmResponse
-
-
-
-
-
-
-
-
- Time
- General
- Attributes and commands that provide a basic interface to a real-time clock.
- 0x000A
- TIME_CLUSTER
- true
- true
-
- time
- time status
- time zone
- dst start
- dst end
- dst shift
- standard time
- local time
- last set time
- valid until time
-
Binary Input (Basic)
General
diff --git a/src/app/zap-templates/zcl/data-model/silabs/ha.xml b/src/app/zap-templates/zcl/data-model/silabs/ha.xml
index 58fe67cbca289a..f9a9598533f43c 100644
--- a/src/app/zap-templates/zcl/data-model/silabs/ha.xml
+++ b/src/app/zap-templates/zcl/data-model/silabs/ha.xml
@@ -26,25 +26,6 @@ limitations under the License.
-
- Shade Configuration
- Closures
- Attributes and commands for configuring a shade.
- 0x0100
- SHADE_CONFIG_CLUSTER
- true
- true
- physical closed limit
-
- motor step size
-
- status
-
- closed limit
-
- mode
-
-
Fan Control
HVAC
@@ -108,23 +89,6 @@ limitations under the License.
-
- Dehumidification Control
- HVAC
- An interface for controlling dehumidification.
- 0x0203
- DEHUMID_CONTROL_CLUSTER
- true
- true
- relative humidity
- dehumidification cooling
- RH dehumidification setpoint
- relative humidity mode
- dehumidification lockout
- dehumidification hysteresis
- dehumidification max cool
- relative humidity display
-
Thermostat User Interface Configuration
HVAC
@@ -480,546 +444,6 @@ limitations under the License.
-
- Carbon Monoxide Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the measurement of carbon monoxide concentration and reporting concentration measurements.
- 0x040C
- CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Carbon Dioxide Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the carbon diaoxide concentration and reporting concentration measurements.
- 0x040D
- CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Ethylene Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Ethylene concentration and reporting concentration measurements.
- 0x040E
- ETHYLENE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Ethylene Oxide Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Ethylene Oxide concentration and reporting concentration measurements.
- 0x040F
- ETHYLENE_OXIDE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Hydrogen Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Hydrogen concentration and reporting concentration measurements.
- 0x0410
- HYDROGEN_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Hydrogen Sulphide Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Hydrogen Sulphide concentration and reporting concentration measurements.
- 0x0411
- HYDROGEN_SULPHIDE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Nitric Oxide Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Nitric Oxide concentration and reporting concentration measurements.
- 0x0412
- NITRIC_OXIDE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Nitrogen Dioxide Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Nitrogen Dioxide concentration and reporting concentration measurements.
- 0x0413
- NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Oxygen Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Oxygen concentration and reporting concentration measurements.
- 0x0414
- OXYGEN_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Ozone Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Ozone concentration and reporting concentration measurements.
- 0x0415
- OZONE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Sulfur Dioxide Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Sulphur Dioxide concentration and reporting concentration measurements.
- 0x0416
- SULFUR_DIOXIDE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Dissolved Oxygen Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Dissolved Oxygen concentration and reporting concentration measurements.
- 0x0417
- DISSOLVED_OXYGEN_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Bromate Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Bromate concentration, and reporting concentration measurements.
- 0x0418
- BROMATE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Chloramines Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Chloramines concentration and reporting concentration measurements.
- 0x0419
- CHLORAMINES_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Chlorine Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Chlorine concentration and reporting concentration measurements.
- 0x041A
- CHLORINE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Fecal coliform and E. Coli Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Fecal coliform and E. Coli concentration and reporting concentration measurements.
- 0x041B
- FECAL_COLIFORM_AND_E_COLI_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Fluoride Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Fluoride concentration and reporting concentration measurements.
- 0x041C
- FLUORIDE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Haloacetic Acids Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Haloacetic Acids concentration and reporting concentration measurements.
- 0x041D
- HALOACETIC_ACIDS_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Total Trihalomethanes Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Total Trihalomethanes concentration and reporting concentration measurements.
- 0x041E
- TOTAL_TRIHALOMETHANES_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Total Coliform Bacteria Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Total Coliform Bacteria concentration and reporting concentration measurements.
- 0x041F
- TOTAL_COLIFORM_BACTERIA_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Turbidity Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Turbidity concentration and reporting concentration measurements.
- 0x0420
- TURBIDITY_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Copper Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Copper concentration and reporting concentration measurements.
- 0x0421
- COPPER_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Lead Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Lead concentration and reporting concentration measurements.
- 0x0422
- LEAD_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Manganese Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Manganese concentration and reporting concentration measurements.
- 0x0423
- MANGANESE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Sulfate Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Sulfate concentration and reporting concentration measurements.
- 0x0424
- SULFATE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Bromodichloromethane Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Bromodichloromethane concentration and reporting concentration measurements.
- 0x0425
- BROMODICHLOROMETHANE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Bromoform Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Bromoform concentration and reporting concentration measurements.
- 0x0426
- BROMOFORM_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Chlorodibromomethane Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Chlorodibromomethane concentration and reporting concentration measurements.
- 0x0427
- CHLORODIBROMOMETHANE_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Chloroform Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Chloroform concentration and reporting concentration measurements.
- 0x0428
- CHLOROFORM_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
-
- Sodium Concentration Measurement
- Measurement & Sensing
- Attributes and commands for configuring the Sodium concentration and reporting concentration measurements.
- 0x0429
- SODIUM_CONCENTRATION_MEASUREMENT_CLUSTER
- true
- true
-
- measured value
-
- min measured value
-
- max measured value
-
- tolerance
-
-
Barrier Control
Closures
@@ -1050,420 +474,6 @@ limitations under the License.
-
- Appliance Control
- General
- This cluster provides an interface to remotely control and to program household appliances.
- 0x001B
- APPLIANCE_CONTROL_CLUSTER
- true
- true
- start time
- finish time
- remaining time
-
-
- This basic message is used to remotely control and to program household appliances.
-
-
-
-
-
- This basic message is used to retrieve Household Appliances status.
-
-
-
-
- This basic message is used to set appliance functions, i.e. information regarding the execution of an appliance cycle. Condition parameters such as start time or finish time information could be provided through this command.
-
-
-
-
-
-
-
- This command shall be used to resume the normal behavior of a household appliance being in pause mode after receiving a Overload Pause command.
-
-
-
-
- This command shall be used to pause the household appliance as a consequence of an imminent overload event.
-
-
-
-
- This basic message is used to send warnings the household appliance as a consequence of a possible overload event, or the notification of the end of the warning state.
-
-
-
-
-
- This command shall be used to return household appliance status, according to Appliance Status Values and Remote Enable Flags Values.
-
-
-
-
-
-
-
-
- This command shall be used to return household appliance status, automatically when appliance status changes.
-
-
-
-
-
-
-
-
- Power Profile
- General
- This cluster provides an interface for transferring power profile information from a device (e.g. Whitegood) to a controller (e.g. the Home Gateway). The Power Profile transferred can be solicited by client side (request command) or can be notified directly from the device (server side).
- 0x001A
- POWER_PROFILE_CLUSTER
- true
- true
- total profile num
- multiple scheduling
- energy formatting
- energy remote
- schedule mode
-
-
- The PowerProfileRequest Command is generated by a device supporting the client side of the Power Profile cluster in order to request the Power Profile of a server device.
-
-
-
-
-
- The PowerProfileStateRequest Command is generated in order to retrieve the identifiers of current Power Profiles.
-
-
-
-
- The GetPowerProfilePriceResponse command allows a device (client) to communicate the cost associated to the selected Power Profile to another device (server) requesting it.
-
-
-
-
-
-
-
-
- The GetOverallSchedulePriceResponse command allows a device (client) to communicate the overall cost associated to all Power Profiles scheduled to another device (server) requesting it.
-
-
-
-
-
-
-
- The EnergyPhasesScheduleNotification Command is generated by a device supporting the client side of the Power Profile cluster in order to schedule the start of the selected Power Profile and its phases.
-
-
-
-
-
-
-
- This command is generated by the client side of Power Profile cluster as a reply to the EnergyPhasesScheduleRequest command.
-
-
-
-
-
-
-
- The PowerProfileScheduleConstraintsRequest Command is generated by a device supporting the client side of the Power Profile cluster in order to request the constraints -if set- of Power Profile of a client device, in order to set the proper boundaries for the scheduling when calculating the schedules.
-
-
-
-
-
- The EnergyPhasesScheduleStateRequest Command is generated by a device supporting the client side of the Power Profile cluster to check the states of the scheduling of a power profile, which is supported in the device implementing the server side of Power Profile cluster.
-
-
-
-
-
- The Get Power Profile Price Extended Response command allows a device (client) to communicate the cost associated to all Power Profiles scheduled to another device (server) requesting it according to the specific options contained in the Get Power Profile Price Extended Response.
-
-
-
-
-
-
-
-
- The PowerProfileNotification Command is generated by a device supporting the server side of the Power Profile cluster in order to send the information of the specific parameters (such as Peak power and others) belonging to each phase.
-
-
-
-
-
-
-
-
- This command is generated by the server side of Power Profile cluster as a reply to the PowerProfileRequest command.
-
-
-
-
-
-
-
-
- The PowerProfileStateResponse command allows a device (server) to communicate its current Power Profile(s) to another device (client) that previously requested them.
-
-
-
-
-
-
- The GetPowerProfilePrice Command is generated by the server (e.g. White goods) in order to retrieve the cost associated to a specific Power profile.
-
-
-
-
-
- The PowerProfileStateNotification Command is generated by the server (e.g. White goods) in order to update the state of the power profile and the current energy phase.
-
-
-
-
-
-
- The GetOverallSchedulePrice Command is generated by the server (e.g. White goods) in order to retrieve the overall cost associated to all the Power Profiles scheduled by the scheduler (the device supporting the Power Profile cluster client side) for the next 24 hours.
-
-
-
-
- The EnergyPhasesScheduleRequest Command is generated by the server (e.g. White goods) in order to retrieve from the scheduler (e.g. Home Gateway) the schedule (if available) associated to the specific Power Profile carried in the payload.
-
-
-
-
-
- The EnergyPhasesScheduleStateResponse Command is generated by the server (e.g. White goods) in order to reply to a EnergyPhasesScheduleStateRequest command about the scheduling states that are set in the server side.
-
-
-
-
-
-
-
- The EnergyPhasesScheduleStateNotification Command is generated by the server (e.g. White goods) in order to notify (un-solicited command) a client side about the scheduling states that are set in the server side.
-
-
-
-
-
-
-
- The PowerProfileScheduleConstraintsNotification Command is generated by a device supporting the server side of the Power Profile cluster to notify the client side of this cluster about the imposed constraints and let the scheduler (i.e. the entity supporting the Power Profile cluster client side) to set the proper boundaries for the scheduling.
-
-
-
-
-
-
-
- The PowerProfileScheduleConstraintsResponse Command is generated by a device supporting the server side of the Power Profile cluster to reply to a client side of this cluster which sent a PowerProfileScheduleConstraintsRequest.
-
-
-
-
-
-
-
- The Get Power Profile Price Extended command is generated by the server (e.g., White Goods) in order to retrieve the cost associated to a specific Power profile considering specific conditions described in the option field (e.g., a specific time).
-
-
-
-
-
-
-
- Poll Control
- General
- This cluster provides a mechanism for the management of an end device's MAC Data Poll rate. For the purposes of this cluster, the term "poll" always refers to the sending of a MAC Data Poll from the end device to the end device's parent.
- 0x0020
- POLL_CONTROL_CLUSTER
- true
- true
-
- check-in interval
- long poll interval
- short poll interval
- fast poll timeout
- check in interval min
- long poll interval min
- fast poll timeout max
-
-
- The Poll Control Cluster server sends out a Check-in command to the devices to which it is paired based on the server's Check-in Interval attribute.
-
-
-
-
- The Check-in Response is sent in response to the receipt of a Check-in command.
-
-
-
-
-
-
- The Fast Poll Stop command is used to stop the fast poll mode initiated by the Check-in response.
-
-
-
-
- The Set Long Poll Interval command is used to set the read only Long Poll Interval Attribute.
-
-
-
-
-
- The Set Short Poll Interval command is used to set the read only Short Poll Interval Attribute.
-
-
-
-
-
- Appliance Identification
- Home Automation
- Attributes and commands for determining basic information about a device and setting user device information.
- 0x0B00
- APPLIANCE_IDENTIFICATION_CLUSTER
- true
- true
- basic identification
- company name
- company id
- brand name
- brand id
- model
- part number
- product revision
- software revision
- product type name
- product type id
- ceced specification version
-
-
-
- Meter Identification
- Home Automation
- This cluster provides Attributes and commands for determining advanced information about utility metering device.
- 0x0B01
- METER_IDENTIFICATION_CLUSTER
- true
- true
-
- company name
- meter type id
- data quality id
- customer name
- model
- part number
- product revision
- software revision
- utility name
- pod
- available power
- power threshold
-
-
- Appliance Events and Alert
- Home Automation
- Attributes and commands for transmitting or notifying the occurrence of an event, such as "temperature reached" and of an alert such as alarm, fault or warning.
- 0x0B02
- APPLIANCE_EVENTS_AND_ALERT_CLUSTER
- true
- true
-
-
- This basic message is used to retrieve Household Appliance current alerts.
-
-
-
-
- This message is used to return household appliance current alerts.
-
-
-
-
-
-
- This message is used to notify the current modification of warning and/or fault conditions.
-
-
-
-
-
-
- This message is used to notify an event occurred during the normal working of the appliance.
-
-
-
-
-
-
- Appliance Statistics
- Home Automation
-
- This cluster provides a mechanism for the transmitting appliance statistics to a collection unit (gateway). The statistics can be in format of data logs. In case of statistic information that will not fit the single ZigBee payload, the Partition cluster should be used.
-
- 0x0B03
- APPLIANCE_STATISTICS_CLUSTER
- true
- true
- log max size
- log queue max size
-
-
- The Appliance Statistics Cluster server occasionally sends out a Log Notification command to the devices to which it needs to log information related to statistics (e.g., home gateways) which implement the client side of Appliance Statistics Cluster.
-
-
-
-
-
-
-
-
- The Appliance Statistics Cluster server sends out a Log Response command to respond to a Log Request command generated by the client side of the Appliance Statistics cluster.
-
-
-
-
-
-
-
-
- The Log Queue Response command is generated as a response to a LogQueueRequest command in order to notify the client side of the Appliance statistics cluster about the logs stored in the server side (queue) that can be retrieved by the client side of this cluster through a LogRequest command.
-
-
-
-
-
-
- The Appliance Statistics Cluster server sends out a Statistic Available command to notify the client side of the Appliance Statistics cluster that there are statistics that can be retrieved by using the Log Request command.
-
-
-
-
-
-
- The Log request command is sent from a device supporting the client side of the Appliance Statistics cluster (e.g., Home Gateway) to retrieve the log from the device supporting the server side (e.g., appliance).
-
-
-
-
-
- The Log Queue Request command is send from a device supporting the client side of the Appliance Statistics cluster (e.g. Home Gateway) to retrieve the information about the logs inserted in the queue, from the device supporting the server side (e.g. appliance).
-
-
-
Electrical Measurement
Home Automation
diff --git a/src/app/zap-templates/zcl/data-model/silabs/types.xml b/src/app/zap-templates/zcl/data-model/silabs/types.xml
index 2647817d2da415..aabddbc6742a64 100644
--- a/src/app/zap-templates/zcl/data-model/silabs/types.xml
+++ b/src/app/zap-templates/zcl/data-model/silabs/types.xml
@@ -402,27 +402,6 @@ limitations under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -434,29 +413,6 @@ limitations under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -475,28 +431,6 @@ limitations under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -686,41 +620,6 @@ limitations under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py
index d2a7397f0e7262..723dc91cb1797a 100644
--- a/src/controller/python/chip/clusters/Objects.py
+++ b/src/controller/python/chip/clusters/Objects.py
@@ -33,70 +33,15 @@
from .Types import Nullable, NullValue
@dataclass
-class PowerConfiguration(Cluster):
- id: typing.ClassVar[int] = 0x0001
+class Identify(Cluster):
+ id: typing.ClassVar[int] = 0x0003
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="mainsVoltage", Tag=0x00000000, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="mainsFrequency", Tag=0x00000001, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="mainsAlarmMask", Tag=0x00000010, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="mainsVoltageMinThreshold", Tag=0x00000011, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="mainsVoltageMaxThreshold", Tag=0x00000012, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="mainsVoltageDwellTrip", Tag=0x00000013, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryVoltage", Tag=0x00000020, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryPercentageRemaining", Tag=0x00000021, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryManufacturer", Tag=0x00000030, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="batterySize", Tag=0x00000031, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryAhrRating", Tag=0x00000032, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryQuantity", Tag=0x00000033, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryRatedVoltage", Tag=0x00000034, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryAlarmMask", Tag=0x00000035, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryVoltageMinThreshold", Tag=0x00000036, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryVoltageThreshold1", Tag=0x00000037, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryVoltageThreshold2", Tag=0x00000038, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryVoltageThreshold3", Tag=0x00000039, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryPercentageMinThreshold", Tag=0x0000003A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryPercentageThreshold1", Tag=0x0000003B, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryPercentageThreshold2", Tag=0x0000003C, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryPercentageThreshold3", Tag=0x0000003D, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batteryAlarmState", Tag=0x0000003E, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2Voltage", Tag=0x00000040, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2PercentageRemaining", Tag=0x00000041, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2Manufacturer", Tag=0x00000050, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="battery2Size", Tag=0x00000051, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2AhrRating", Tag=0x00000052, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2Quantity", Tag=0x00000053, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2RatedVoltage", Tag=0x00000054, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2AlarmMask", Tag=0x00000055, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2VoltageMinThreshold", Tag=0x00000056, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2VoltageThreshold1", Tag=0x00000057, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2VoltageThreshold2", Tag=0x00000058, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2VoltageThreshold3", Tag=0x00000059, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2PercentageMinThreshold", Tag=0x0000005A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2PercentageThreshold1", Tag=0x0000005B, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2PercentageThreshold2", Tag=0x0000005C, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2PercentageThreshold3", Tag=0x0000005D, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery2AlarmState", Tag=0x0000005E, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3Voltage", Tag=0x00000060, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3PercentageRemaining", Tag=0x00000061, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3Manufacturer", Tag=0x00000070, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="battery3Size", Tag=0x00000071, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3AhrRating", Tag=0x00000072, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3Quantity", Tag=0x00000073, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3RatedVoltage", Tag=0x00000074, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3AlarmMask", Tag=0x00000075, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3VoltageMinThreshold", Tag=0x00000076, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3VoltageThreshold1", Tag=0x00000077, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3VoltageThreshold2", Tag=0x00000078, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3VoltageThreshold3", Tag=0x00000079, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3PercentageMinThreshold", Tag=0x0000007A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3PercentageThreshold1", Tag=0x0000007B, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3PercentageThreshold2", Tag=0x0000007C, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3PercentageThreshold3", Tag=0x0000007D, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="battery3AlarmState", Tag=0x0000007E, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="identifyType", Tag=0x00000001, Type=uint),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -104,990 +49,1009 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- mainsVoltage: 'typing.Optional[uint]' = None
- mainsFrequency: 'typing.Optional[uint]' = None
- mainsAlarmMask: 'typing.Optional[uint]' = None
- mainsVoltageMinThreshold: 'typing.Optional[uint]' = None
- mainsVoltageMaxThreshold: 'typing.Optional[uint]' = None
- mainsVoltageDwellTrip: 'typing.Optional[uint]' = None
- batteryVoltage: 'typing.Optional[uint]' = None
- batteryPercentageRemaining: 'typing.Optional[uint]' = None
- batteryManufacturer: 'typing.Optional[str]' = None
- batterySize: 'typing.Optional[uint]' = None
- batteryAhrRating: 'typing.Optional[uint]' = None
- batteryQuantity: 'typing.Optional[uint]' = None
- batteryRatedVoltage: 'typing.Optional[uint]' = None
- batteryAlarmMask: 'typing.Optional[uint]' = None
- batteryVoltageMinThreshold: 'typing.Optional[uint]' = None
- batteryVoltageThreshold1: 'typing.Optional[uint]' = None
- batteryVoltageThreshold2: 'typing.Optional[uint]' = None
- batteryVoltageThreshold3: 'typing.Optional[uint]' = None
- batteryPercentageMinThreshold: 'typing.Optional[uint]' = None
- batteryPercentageThreshold1: 'typing.Optional[uint]' = None
- batteryPercentageThreshold2: 'typing.Optional[uint]' = None
- batteryPercentageThreshold3: 'typing.Optional[uint]' = None
- batteryAlarmState: 'typing.Optional[uint]' = None
- battery2Voltage: 'typing.Optional[uint]' = None
- battery2PercentageRemaining: 'typing.Optional[uint]' = None
- battery2Manufacturer: 'typing.Optional[str]' = None
- battery2Size: 'typing.Optional[uint]' = None
- battery2AhrRating: 'typing.Optional[uint]' = None
- battery2Quantity: 'typing.Optional[uint]' = None
- battery2RatedVoltage: 'typing.Optional[uint]' = None
- battery2AlarmMask: 'typing.Optional[uint]' = None
- battery2VoltageMinThreshold: 'typing.Optional[uint]' = None
- battery2VoltageThreshold1: 'typing.Optional[uint]' = None
- battery2VoltageThreshold2: 'typing.Optional[uint]' = None
- battery2VoltageThreshold3: 'typing.Optional[uint]' = None
- battery2PercentageMinThreshold: 'typing.Optional[uint]' = None
- battery2PercentageThreshold1: 'typing.Optional[uint]' = None
- battery2PercentageThreshold2: 'typing.Optional[uint]' = None
- battery2PercentageThreshold3: 'typing.Optional[uint]' = None
- battery2AlarmState: 'typing.Optional[uint]' = None
- battery3Voltage: 'typing.Optional[uint]' = None
- battery3PercentageRemaining: 'typing.Optional[uint]' = None
- battery3Manufacturer: 'typing.Optional[str]' = None
- battery3Size: 'typing.Optional[uint]' = None
- battery3AhrRating: 'typing.Optional[uint]' = None
- battery3Quantity: 'typing.Optional[uint]' = None
- battery3RatedVoltage: 'typing.Optional[uint]' = None
- battery3AlarmMask: 'typing.Optional[uint]' = None
- battery3VoltageMinThreshold: 'typing.Optional[uint]' = None
- battery3VoltageThreshold1: 'typing.Optional[uint]' = None
- battery3VoltageThreshold2: 'typing.Optional[uint]' = None
- battery3VoltageThreshold3: 'typing.Optional[uint]' = None
- battery3PercentageMinThreshold: 'typing.Optional[uint]' = None
- battery3PercentageThreshold1: 'typing.Optional[uint]' = None
- battery3PercentageThreshold2: 'typing.Optional[uint]' = None
- battery3PercentageThreshold3: 'typing.Optional[uint]' = None
- battery3AlarmState: 'typing.Optional[uint]' = None
+ identifyTime: 'uint' = None
+ identifyType: 'uint' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class IdentifyEffectIdentifier(IntEnum):
+ kBlink = 0x00
+ kBreathe = 0x01
+ kOkay = 0x02
+ kChannelChange = 0x0B
+ kFinishEffect = 0xFE
+ kStopEffect = 0xFF
+
+ class IdentifyEffectVariant(IntEnum):
+ kDefault = 0x00
+ class IdentifyIdentifyType(IntEnum):
+ kNone = 0x00
+ kVisibleLight = 0x01
+ kVisibleLED = 0x02
+ kAudibleBeep = 0x03
+ kDisplay = 0x04
+ kActuator = 0x05
- class Attributes:
- @dataclass
- class MainsVoltage(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
+ 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 attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ identifyTime: 'uint' = 0
@dataclass
- class MainsFrequency(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
+ class TriggerEffect(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0003
+ command_id: typing.ClassVar[int] = 0x0040
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
+ 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),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ effectIdentifier: 'Identify.Enums.IdentifyEffectIdentifier' = 0
+ effectVariant: 'Identify.Enums.IdentifyEffectVariant' = 0
- value: 'typing.Optional[uint]' = None
+ class Attributes:
@dataclass
- class MainsAlarmMask(ClusterAttributeDescriptor):
+ class IdentifyTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0003
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000010
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class MainsVoltageMinThreshold(ClusterAttributeDescriptor):
+ class IdentifyType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0003
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000011
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class MainsVoltageMaxThreshold(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0003
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000012
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class MainsVoltageDwellTrip(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0003
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000013
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class BatteryVoltage(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0003
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000020
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class BatteryPercentageRemaining(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0003
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000021
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class BatteryManufacturer(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0003
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000030
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
+ return ClusterObjectFieldDescriptor(Type=uint)
- @dataclass
- class BatterySize(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
+ value: 'uint' = 0
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000031
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[uint]' = None
+@dataclass
+class Groups(Cluster):
+ id: typing.ClassVar[int] = 0x0004
- @dataclass
- class BatteryAhrRating(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="nameSupport", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000032
+ nameSupport: 'uint' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[uint]' = None
+ class Commands:
@dataclass
- class BatteryQuantity(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000033
+ class AddGroup(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0004
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupName", Tag=1, Type=str),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupId: 'uint' = 0
+ groupName: 'str' = ""
@dataclass
- class BatteryRatedVoltage(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000034
+ class AddGroupResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0004
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'uint' = 0
+ groupId: 'uint' = 0
@dataclass
- class BatteryAlarmMask(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000035
+ class ViewGroup(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0004
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupId: 'uint' = 0
@dataclass
- class BatteryVoltageMinThreshold(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000036
+ class ViewGroupResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0004
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ 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),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'uint' = 0
+ groupId: 'uint' = 0
+ groupName: 'str' = ""
@dataclass
- class BatteryVoltageThreshold1(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
+ class GetGroupMembership(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0004
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000037
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupList", Tag=0, Type=typing.List[uint]),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupList: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class BatteryVoltageThreshold2(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000038
+ class GetGroupMembershipResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0004
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="capacity", Tag=0, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="groupList", Tag=1, Type=typing.List[uint]),
+ ])
- value: 'typing.Optional[uint]' = None
+ capacity: 'typing.Union[Nullable, uint]' = NullValue
+ groupList: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class BatteryVoltageThreshold3(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000039
+ class RemoveGroup(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0004
+ command_id: typing.ClassVar[int] = 0x0003
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupId: 'uint' = 0
@dataclass
- class BatteryPercentageMinThreshold(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000003A
+ class RemoveGroupResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0004
+ command_id: typing.ClassVar[int] = 0x0003
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'uint' = 0
+ groupId: 'uint' = 0
@dataclass
- class BatteryPercentageThreshold1(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000003B
+ class RemoveAllGroups(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0004
+ command_id: typing.ClassVar[int] = 0x0004
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.Optional[uint]' = None
@dataclass
- class BatteryPercentageThreshold2(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
+ class AddGroupIfIdentifying(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0004
+ command_id: typing.ClassVar[int] = 0x0005
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000003C
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupName", Tag=1, Type=str),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ groupId: 'uint' = 0
+ groupName: 'str' = ""
- value: 'typing.Optional[uint]' = None
+ class Attributes:
@dataclass
- class BatteryPercentageThreshold3(ClusterAttributeDescriptor):
+ class NameSupport(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0004
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000003D
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class BatteryAlarmState(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0004
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000003E
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Battery2Voltage(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0004
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000040
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Battery2PercentageRemaining(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0004
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000041
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Battery2Manufacturer(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0004
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000050
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[str]' = None
+ value: 'uint' = 0
@dataclass
- class Battery2Size(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0004
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000051
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class Battery2AhrRating(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
+ return ClusterObjectFieldDescriptor(Type=uint)
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000052
+ value: 'uint' = 0
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[uint]' = None
- @dataclass
- class Battery2Quantity(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
+@dataclass
+class Scenes(Cluster):
+ id: typing.ClassVar[int] = 0x0005
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000053
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="sceneCount", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="currentScene", Tag=0x00000001, Type=uint),
+ ClusterObjectFieldDescriptor(Label="currentGroup", Tag=0x00000002, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneValid", Tag=0x00000003, Type=bool),
+ ClusterObjectFieldDescriptor(Label="nameSupport", Tag=0x00000004, Type=uint),
+ ClusterObjectFieldDescriptor(Label="lastConfiguredBy", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ sceneCount: 'uint' = None
+ currentScene: 'uint' = None
+ currentGroup: 'uint' = None
+ sceneValid: 'bool' = None
+ nameSupport: 'uint' = None
+ lastConfiguredBy: 'typing.Union[None, Nullable, uint]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- value: 'typing.Optional[uint]' = None
+ class Structs:
@dataclass
- class Battery2RatedVoltage(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000054
-
+ class AttributeValuePair(ClusterObject):
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="attributeId", Tag=0, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeValue", Tag=1, Type=typing.List[uint]),
+ ])
- value: 'typing.Optional[uint]' = None
+ attributeId: 'typing.Optional[uint]' = None
+ attributeValue: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Battery2AlarmMask(ClusterAttributeDescriptor):
+ class ExtensionFieldSet(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="clusterId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="attributeValueList", Tag=1, Type=typing.List[Scenes.Structs.AttributeValuePair]),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000055
+ clusterId: 'uint' = 0
+ attributeValueList: 'typing.List[Scenes.Structs.AttributeValuePair]' = field(default_factory=lambda: [])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[uint]' = None
+ class Commands:
@dataclass
- class Battery2VoltageMinThreshold(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000056
+ class AddScene(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str),
+ ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.ExtensionFieldSet]),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
+ transitionTime: 'uint' = 0
+ sceneName: 'str' = ""
+ extensionFieldSets: 'typing.List[Scenes.Structs.ExtensionFieldSet]' = field(default_factory=lambda: [])
@dataclass
- class Battery2VoltageThreshold1(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000057
+ class AddSceneResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ 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),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'uint' = 0
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
@dataclass
- class Battery2VoltageThreshold2(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000058
+ class ViewScene(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
@dataclass
- class Battery2VoltageThreshold3(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000059
+ class ViewSceneResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneId", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=3, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'uint' = 0
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
+ transitionTime: 'typing.Optional[uint]' = None
+ sceneName: 'typing.Optional[str]' = None
+ extensionFieldSets: 'typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]' = None
@dataclass
- class Battery2PercentageMinThreshold(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000005A
+ class RemoveScene(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
@dataclass
- class Battery2PercentageThreshold1(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000005B
+ class RemoveSceneResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ 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),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'uint' = 0
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
@dataclass
- class Battery2PercentageThreshold2(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000005C
+ class RemoveAllScenes(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0003
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupId: 'uint' = 0
@dataclass
- class Battery2PercentageThreshold3(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000005D
+ class RemoveAllScenesResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0003
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'uint' = 0
+ groupId: 'uint' = 0
@dataclass
- class Battery2AlarmState(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000005E
+ class StoreScene(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0004
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
@dataclass
- class Battery3Voltage(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000060
+ class StoreSceneResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0004
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ 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),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'uint' = 0
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
@dataclass
- class Battery3PercentageRemaining(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000061
+ class RecallScene(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0005
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=typing.Union[None, Nullable, uint]),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
+ transitionTime: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class Battery3Manufacturer(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000070
+ class GetSceneMembership(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0006
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ])
- value: 'typing.Optional[str]' = None
+ groupId: 'uint' = 0
@dataclass
- class Battery3Size(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
+ class GetSceneMembershipResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0006
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000071
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class Battery3AhrRating(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000072
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="capacity", Tag=1, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneList", Tag=3, Type=typing.Optional[typing.List[uint]]),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'uint' = 0
+ capacity: 'typing.Union[Nullable, uint]' = NullValue
+ groupId: 'uint' = 0
+ sceneList: 'typing.Optional[typing.List[uint]]' = None
@dataclass
- class Battery3Quantity(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000073
+ class EnhancedAddScene(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0040
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str),
+ ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.ExtensionFieldSet]),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
+ transitionTime: 'uint' = 0
+ sceneName: 'str' = ""
+ extensionFieldSets: 'typing.List[Scenes.Structs.ExtensionFieldSet]' = field(default_factory=lambda: [])
@dataclass
- class Battery3RatedVoltage(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000074
+ class EnhancedAddSceneResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0040
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ 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),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'uint' = 0
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
@dataclass
- class Battery3AlarmMask(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000075
+ class EnhancedViewScene(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0041
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
@dataclass
- class Battery3VoltageMinThreshold(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000076
+ class EnhancedViewSceneResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0041
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneId", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=3, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'uint' = 0
+ groupId: 'uint' = 0
+ sceneId: 'uint' = 0
+ transitionTime: 'typing.Optional[uint]' = None
+ sceneName: 'typing.Optional[str]' = None
+ extensionFieldSets: 'typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]' = None
@dataclass
- class Battery3VoltageThreshold1(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000077
+ class CopyScene(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0042
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupIdFrom", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneIdFrom", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupIdTo", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sceneIdTo", Tag=4, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ mode: 'uint' = 0
+ groupIdFrom: 'uint' = 0
+ sceneIdFrom: 'uint' = 0
+ groupIdTo: 'uint' = 0
+ sceneIdTo: 'uint' = 0
@dataclass
- class Battery3VoltageThreshold2(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0001
+ class CopySceneResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0005
+ command_id: typing.ClassVar[int] = 0x0042
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000078
+ 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),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ status: 'uint' = 0
+ groupIdFrom: 'uint' = 0
+ sceneIdFrom: 'uint' = 0
- value: 'typing.Optional[uint]' = None
+ class Attributes:
@dataclass
- class Battery3VoltageThreshold3(ClusterAttributeDescriptor):
+ class SceneCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0005
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000079
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class Battery3PercentageMinThreshold(ClusterAttributeDescriptor):
+ class CurrentScene(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0005
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000007A
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class Battery3PercentageThreshold1(ClusterAttributeDescriptor):
+ class CurrentGroup(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0005
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000007B
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class Battery3PercentageThreshold2(ClusterAttributeDescriptor):
+ class SceneValid(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0005
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000007C
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=bool)
- value: 'typing.Optional[uint]' = None
+ value: 'bool' = False
@dataclass
- class Battery3PercentageThreshold3(ClusterAttributeDescriptor):
+ class NameSupport(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0005
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000007D
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class Battery3AlarmState(ClusterAttributeDescriptor):
+ class LastConfiguredBy(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0005
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000007E
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0005
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1103,7 +1067,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0005
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1119,7 +1083,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0005
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1135,7 +1099,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0005
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1151,7 +1115,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0001
+ return 0x0005
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1166,22 +1130,18 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class DeviceTemperatureConfiguration(Cluster):
- id: typing.ClassVar[int] = 0x0002
+class OnOff(Cluster):
+ id: typing.ClassVar[int] = 0x0006
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="currentTemperature", Tag=0x00000000, Type=int),
- ClusterObjectFieldDescriptor(Label="minTempExperienced", Tag=0x00000001, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="maxTempExperienced", Tag=0x00000002, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="overTempTotalDwell", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="deviceTempAlarmMask", Tag=0x00000010, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="lowTempThreshold", Tag=0x00000011, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="highTempThreshold", Tag=0x00000012, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="lowTempDwellTripPoint", Tag=0x00000013, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="highTempDwellTripPoint", Tag=0x00000014, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="onOff", Tag=0x00000000, Type=bool),
+ ClusterObjectFieldDescriptor(Label="globalSceneControl", Tag=0x00004000, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="onTime", Tag=0x00004001, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="offWaitTime", Tag=0x00004002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="startUpOnOff", Tag=0x00004003, Type=typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -1189,146 +1149,185 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- currentTemperature: 'int' = None
- minTempExperienced: 'typing.Optional[int]' = None
- maxTempExperienced: 'typing.Optional[int]' = None
- overTempTotalDwell: 'typing.Optional[uint]' = None
- deviceTempAlarmMask: 'typing.Optional[uint]' = None
- lowTempThreshold: 'typing.Optional[int]' = None
- highTempThreshold: 'typing.Optional[int]' = None
- lowTempDwellTripPoint: 'typing.Optional[uint]' = None
- highTempDwellTripPoint: 'typing.Optional[uint]' = None
+ onOff: 'bool' = None
+ globalSceneControl: 'typing.Optional[bool]' = None
+ onTime: 'typing.Optional[uint]' = None
+ offWaitTime: 'typing.Optional[uint]' = None
+ startUpOnOff: 'typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class OnOffDelayedAllOffEffectVariant(IntEnum):
+ kFadeToOffIn0p8Seconds = 0x00
+ kNoFade = 0x01
+ k50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 0x02
+ class OnOffDyingLightEffectVariant(IntEnum):
+ k20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0x00
+ class OnOffEffectIdentifier(IntEnum):
+ kDelayedAllOff = 0x00
+ kDyingLight = 0x01
- class Attributes:
- @dataclass
- class CurrentTemperature(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0002
+ class OnOffStartUpOnOff(IntEnum):
+ kOff = 0x00
+ kOn = 0x01
+ kTogglePreviousOnOff = 0x02
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=int)
-
- value: 'int' = 0
+ class Commands:
@dataclass
- class MinTempExperienced(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0002
+ class Off(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0006
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
+ 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 attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.Optional[int]' = None
@dataclass
- class MaxTempExperienced(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0002
+ class Toggle(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0006
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
+ 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 attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
+ 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),
+ ])
- value: 'typing.Optional[int]' = None
+ effectId: 'OnOff.Enums.OnOffEffectIdentifier' = 0
+ effectVariant: 'OnOff.Enums.OnOffDelayedAllOffEffectVariant' = 0
@dataclass
- class OverTempTotalDwell(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0002
+ class OnWithRecallGlobalScene(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0006
+ command_id: typing.ClassVar[int] = 0x0041
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
+ 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 attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="onOffControl", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="onTime", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="offWaitTime", Tag=2, Type=uint),
+ ])
+
+ onOffControl: 'uint' = 0
+ onTime: 'uint' = 0
+ offWaitTime: 'uint' = 0
- value: 'typing.Optional[uint]' = None
+ class Attributes:
@dataclass
- class DeviceTempAlarmMask(ClusterAttributeDescriptor):
+ class OnOff(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0002
+ return 0x0006
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000010
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=bool)
- value: 'typing.Optional[uint]' = None
+ value: 'bool' = False
@dataclass
- class LowTempThreshold(ClusterAttributeDescriptor):
+ class GlobalSceneControl(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0002
+ return 0x0006
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000011
+ return 0x00004000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
- value: 'typing.Optional[int]' = None
+ value: 'typing.Optional[bool]' = None
@dataclass
- class HighTempThreshold(ClusterAttributeDescriptor):
+ class OnTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0002
+ return 0x0006
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000012
+ return 0x00004001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[int]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class LowTempDwellTripPoint(ClusterAttributeDescriptor):
+ class OffWaitTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0002
+ return 0x0006
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000013
+ return 0x00004002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -1337,26 +1336,26 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class HighTempDwellTripPoint(ClusterAttributeDescriptor):
+ class StartUpOnOff(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0002
+ return 0x0006
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000014
+ return 0x00004003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0002
+ return 0x0006
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1372,7 +1371,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0002
+ return 0x0006
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1388,7 +1387,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0002
+ return 0x0006
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1404,7 +1403,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0002
+ return 0x0006
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1420,7 +1419,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0002
+ return 0x0006
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1435,15 +1434,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class Identify(Cluster):
- id: typing.ClassVar[int] = 0x0003
+class OnOffSwitchConfiguration(Cluster):
+ id: typing.ClassVar[int] = 0x0007
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="identifyType", Tag=0x00000001, Type=uint),
+ ClusterObjectFieldDescriptor(Label="switchType", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="switchActions", Tag=0x00000010, Type=uint),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -1451,76 +1450,23 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- identifyTime: 'uint' = None
- identifyType: 'uint' = None
+ switchType: 'uint' = None
+ switchActions: 'uint' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
- class Enums:
- class IdentifyEffectIdentifier(IntEnum):
- kBlink = 0x00
- kBreathe = 0x01
- kOkay = 0x02
- kChannelChange = 0x0B
- kFinishEffect = 0xFE
- kStopEffect = 0xFF
-
- class IdentifyEffectVariant(IntEnum):
- kDefault = 0x00
-
- class IdentifyIdentifyType(IntEnum):
- kNone = 0x00
- kVisibleLight = 0x01
- kVisibleLED = 0x02
- kAudibleBeep = 0x03
- kDisplay = 0x04
- kActuator = 0x05
-
-
-
- class Commands:
- @dataclass
- class Identify(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0003
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="identifyTime", Tag=0, Type=uint),
- ])
-
- identifyTime: 'uint' = 0
-
- @dataclass
- class TriggerEffect(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0003
- command_id: typing.ClassVar[int] = 0x0040
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="effectIdentifier", Tag=0, Type=Identify.Enums.IdentifyEffectIdentifier),
- ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=Identify.Enums.IdentifyEffectVariant),
- ])
- effectIdentifier: 'Identify.Enums.IdentifyEffectIdentifier' = 0
- effectVariant: 'Identify.Enums.IdentifyEffectVariant' = 0
class Attributes:
@dataclass
- class IdentifyTime(ClusterAttributeDescriptor):
+ class SwitchType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0003
+ return 0x0007
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1533,14 +1479,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class IdentifyType(ClusterAttributeDescriptor):
+ class SwitchActions(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0003
+ return 0x0007
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000010
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -1552,7 +1498,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0003
+ return 0x0007
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1568,7 +1514,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0003
+ return 0x0007
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1584,7 +1530,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0003
+ return 0x0007
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1600,7 +1546,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0003
+ return 0x0007
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1616,7 +1562,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0003
+ return 0x0007
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1631,14 +1577,27 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class Groups(Cluster):
- id: typing.ClassVar[int] = 0x0004
+class LevelControl(Cluster):
+ id: typing.ClassVar[int] = 0x0008
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="nameSupport", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="currentLevel", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="remainingTime", Tag=0x00000001, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="minLevel", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="maxLevel", Tag=0x00000003, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="currentFrequency", Tag=0x00000004, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="minFrequency", Tag=0x00000005, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="maxFrequency", Tag=0x00000006, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="options", Tag=0x0000000F, Type=uint),
+ ClusterObjectFieldDescriptor(Label="onOffTransitionTime", Tag=0x00000010, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="onLevel", Tag=0x00000011, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="onTransitionTime", Tag=0x00000012, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="offTransitionTime", Tag=0x00000013, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="defaultMoveRate", Tag=0x00000014, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="startUpCurrentLevel", Tag=0x00004000, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -1646,53 +1605,62 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- nameSupport: 'uint' = None
+ currentLevel: 'uint' = None
+ remainingTime: 'typing.Optional[uint]' = None
+ minLevel: 'typing.Optional[uint]' = None
+ maxLevel: 'typing.Optional[uint]' = None
+ currentFrequency: 'typing.Optional[uint]' = None
+ minFrequency: 'typing.Optional[uint]' = None
+ maxFrequency: 'typing.Optional[uint]' = None
+ options: 'uint' = None
+ onOffTransitionTime: 'typing.Optional[uint]' = None
+ onLevel: 'typing.Union[Nullable, uint]' = None
+ onTransitionTime: 'typing.Union[None, Nullable, uint]' = None
+ offTransitionTime: 'typing.Union[None, Nullable, uint]' = None
+ defaultMoveRate: 'typing.Union[None, Nullable, uint]' = None
+ startUpCurrentLevel: 'typing.Union[None, Nullable, uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class MoveMode(IntEnum):
+ kUp = 0x00
+ kDown = 0x01
+
+ class StepMode(IntEnum):
+ kUp = 0x00
+ kDown = 0x01
- class Commands:
- @dataclass
- class AddGroup(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0004
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupName", Tag=1, Type=str),
- ])
-
- groupId: 'uint' = 0
- groupName: 'str' = ""
+ class Commands:
@dataclass
- class AddGroupResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0004
+ class MoveToLevel(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0008
command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = False
+ is_client: typing.ClassVar[bool] = True
@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="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),
])
- status: 'uint' = 0
- groupId: 'uint' = 0
+ level: 'uint' = 0
+ transitionTime: 'uint' = 0
+ optionMask: 'uint' = 0
+ optionOverride: 'uint' = 0
@dataclass
- class ViewGroup(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0004
+ class Move(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0008
command_id: typing.ClassVar[int] = 0x0001
is_client: typing.ClassVar[bool] = True
@@ -1700,98 +1668,114 @@ class ViewGroup(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
+ 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),
])
- groupId: 'uint' = 0
+ moveMode: 'LevelControl.Enums.MoveMode' = 0
+ rate: 'uint' = 0
+ optionMask: 'uint' = 0
+ optionOverride: 'uint' = 0
@dataclass
- class ViewGroupResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0004
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
+ 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="status", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupName", Tag=2, Type=str),
+ 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),
])
- status: 'uint' = 0
- groupId: 'uint' = 0
- groupName: 'str' = ""
+ stepMode: 'LevelControl.Enums.StepMode' = 0
+ stepSize: 'uint' = 0
+ transitionTime: 'uint' = 0
+ optionMask: 'uint' = 0
+ optionOverride: 'uint' = 0
@dataclass
- class GetGroupMembership(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0004
- command_id: typing.ClassVar[int] = 0x0002
+ 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="groupList", Tag=0, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="optionMask", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionOverride", Tag=1, Type=uint),
])
- groupList: 'typing.List[uint]' = field(default_factory=lambda: [])
+ optionMask: 'uint' = 0
+ optionOverride: 'uint' = 0
@dataclass
- class GetGroupMembershipResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0004
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = False
+ 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="capacity", Tag=0, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="groupList", Tag=1, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint),
])
- capacity: 'typing.Union[Nullable, uint]' = NullValue
- groupList: 'typing.List[uint]' = field(default_factory=lambda: [])
+ level: 'uint' = 0
+ transitionTime: 'uint' = 0
@dataclass
- class RemoveGroup(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0004
- command_id: typing.ClassVar[int] = 0x0003
+ 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="groupId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode),
+ ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint),
])
- groupId: 'uint' = 0
+ moveMode: 'LevelControl.Enums.MoveMode' = 0
+ rate: 'uint' = 0
@dataclass
- class RemoveGroupResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0004
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = False
+ 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="status", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode),
+ ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
])
- status: 'uint' = 0
- groupId: 'uint' = 0
+ stepMode: 'LevelControl.Enums.StepMode' = 0
+ stepSize: 'uint' = 0
+ transitionTime: 'uint' = 0
@dataclass
- class RemoveAllGroups(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0004
- command_id: typing.ClassVar[int] = 0x0004
+ class StopWithOnOff(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0008
+ command_id: typing.ClassVar[int] = 0x0007
is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
@@ -1802,29 +1786,27 @@ def descriptor(cls) -> ClusterObjectDescriptor:
@dataclass
- class AddGroupIfIdentifying(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0004
- command_id: typing.ClassVar[int] = 0x0005
+ class MoveToClosestFrequency(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0008
+ command_id: typing.ClassVar[int] = 0x0008
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),
+ ClusterObjectFieldDescriptor(Label="frequency", Tag=0, Type=uint),
])
- groupId: 'uint' = 0
- groupName: 'str' = ""
+ frequency: 'uint' = 0
class Attributes:
@dataclass
- class NameSupport(ClusterAttributeDescriptor):
+ class CurrentLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0004
+ return 0x0008
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -1837,579 +1819,427 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class RemainingTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0004
+ return 0x0008
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class MinLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0004
+ return 0x0008
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class MaxLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0004
+ return 0x0008
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class CurrentFrequency(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0004
+ return 0x0008
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class MinFrequency(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0004
+ return 0x0008
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
-@dataclass
-class Scenes(Cluster):
- id: typing.ClassVar[int] = 0x0005
+ @dataclass
+ class MaxFrequency(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0008
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="sceneCount", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="currentScene", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="currentGroup", Tag=0x00000002, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneValid", Tag=0x00000003, Type=bool),
- ClusterObjectFieldDescriptor(Label="nameSupport", Tag=0x00000004, Type=uint),
- ClusterObjectFieldDescriptor(Label="lastConfiguredBy", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000006
- sceneCount: 'uint' = None
- currentScene: 'uint' = None
- currentGroup: 'uint' = None
- sceneValid: 'bool' = None
- nameSupport: 'uint' = None
- lastConfiguredBy: 'typing.Union[None, Nullable, uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Structs:
@dataclass
- class AttributeValuePair(ClusterObject):
+ class Options(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="attributeId", Tag=0, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="attributeValue", Tag=1, Type=typing.List[uint]),
- ])
+ def cluster_id(cls) -> int:
+ return 0x0008
- attributeId: 'typing.Optional[uint]' = None
- attributeValue: 'typing.List[uint]' = field(default_factory=lambda: [])
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000000F
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
@dataclass
- class ExtensionFieldSet(ClusterObject):
+ class OnOffTransitionTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="clusterId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="attributeValueList", Tag=1, Type=typing.List[Scenes.Structs.AttributeValuePair]),
- ])
+ def cluster_id(cls) -> int:
+ return 0x0008
- clusterId: 'uint' = 0
- attributeValueList: 'typing.List[Scenes.Structs.AttributeValuePair]' = field(default_factory=lambda: [])
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000010
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Commands:
@dataclass
- class AddScene(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
+ class OnLevel(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0008
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str),
- ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.ExtensionFieldSet]),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000011
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
- transitionTime: 'uint' = 0
- sceneName: 'str' = ""
- extensionFieldSets: 'typing.List[Scenes.Structs.ExtensionFieldSet]' = field(default_factory=lambda: [])
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class AddSceneResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = False
+ class OnTransitionTime(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0008
@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),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000012
- status: 'uint' = 0
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class ViewScene(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
+ class OffTransitionTime(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0008
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000013
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class ViewSceneResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
+ class DefaultMoveRate(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0008
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneId", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=3, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000014
- status: 'uint' = 0
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
- transitionTime: 'typing.Optional[uint]' = None
- sceneName: 'typing.Optional[str]' = None
- extensionFieldSets: 'typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]' = None
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class RemoveScene(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
+ class StartUpCurrentLevel(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0008
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00004000
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class RemoveSceneResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = False
+ class GeneratedCommandList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0008
@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),
- ])
+ def attribute_id(cls) -> int:
+ return 0x0000FFF8
- status: 'uint' = 0
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class RemoveAllScenes(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
+ class AcceptedCommandList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0008
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x0000FFF9
- groupId: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class RemoveAllScenesResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = False
+ class AttributeList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0008
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x0000FFFB
- status: 'uint' = 0
- groupId: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class StoreScene(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
+ class FeatureMap(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0008
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
- ])
-
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
-
- @dataclass
- class StoreSceneResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = False
+ def attribute_id(cls) -> int:
+ return 0x0000FFFC
@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),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
- status: 'uint' = 0
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
+ value: 'uint' = 0
@dataclass
- class RecallScene(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = True
-
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=typing.Union[None, Nullable, uint]),
- ])
-
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
- transitionTime: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class GetSceneMembership(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0006
- is_client: typing.ClassVar[bool] = True
+ def cluster_id(cls) -> int:
+ return 0x0008
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
- ])
-
- groupId: 'uint' = 0
-
- @dataclass
- class GetSceneMembershipResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0006
- is_client: typing.ClassVar[bool] = False
+ def attribute_id(cls) -> int:
+ return 0x0000FFFD
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="capacity", Tag=1, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="groupId", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneList", Tag=3, Type=typing.Optional[typing.List[uint]]),
- ])
-
- status: 'uint' = 0
- capacity: 'typing.Union[Nullable, uint]' = NullValue
- groupId: 'uint' = 0
- sceneList: 'typing.Optional[typing.List[uint]]' = None
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
- @dataclass
- class EnhancedAddScene(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0040
- is_client: typing.ClassVar[bool] = True
+ value: 'uint' = 0
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneName", Tag=3, Type=str),
- ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=4, Type=typing.List[Scenes.Structs.ExtensionFieldSet]),
- ])
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
- transitionTime: 'uint' = 0
- sceneName: 'str' = ""
- extensionFieldSets: 'typing.List[Scenes.Structs.ExtensionFieldSet]' = field(default_factory=lambda: [])
- @dataclass
- class EnhancedAddSceneResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0040
- is_client: typing.ClassVar[bool] = False
+@dataclass
+class BinaryInputBasic(Cluster):
+ id: typing.ClassVar[int] = 0x000F
- @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),
- ])
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="activeText", Tag=0x00000004, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="description", Tag=0x0000001C, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="inactiveText", Tag=0x0000002E, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="outOfService", Tag=0x00000051, Type=bool),
+ ClusterObjectFieldDescriptor(Label="polarity", Tag=0x00000054, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="presentValue", Tag=0x00000055, Type=bool),
+ ClusterObjectFieldDescriptor(Label="reliability", Tag=0x00000067, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="statusFlags", Tag=0x0000006F, Type=uint),
+ ClusterObjectFieldDescriptor(Label="applicationType", Tag=0x00000100, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
- status: 'uint' = 0
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
+ activeText: 'typing.Optional[str]' = None
+ description: 'typing.Optional[str]' = None
+ inactiveText: 'typing.Optional[str]' = None
+ outOfService: 'bool' = None
+ polarity: 'typing.Optional[uint]' = None
+ presentValue: 'bool' = None
+ reliability: 'typing.Optional[uint]' = None
+ statusFlags: 'uint' = None
+ applicationType: 'typing.Optional[uint]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: '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' = 0
- sceneId: 'uint' = 0
+ class Attributes:
@dataclass
- class EnhancedViewSceneResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0041
- is_client: typing.ClassVar[bool] = False
-
+ class ActiveText(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneId", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=3, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="sceneName", Tag=4, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="extensionFieldSets", Tag=5, Type=typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]),
- ])
-
- status: 'uint' = 0
- groupId: 'uint' = 0
- sceneId: 'uint' = 0
- transitionTime: 'typing.Optional[uint]' = None
- sceneName: 'typing.Optional[str]' = None
- extensionFieldSets: 'typing.Optional[typing.List[Scenes.Structs.ExtensionFieldSet]]' = None
-
- @dataclass
- class CopyScene(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0042
- is_client: typing.ClassVar[bool] = True
+ def cluster_id(cls) -> int:
+ return 0x000F
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupIdFrom", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneIdFrom", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupIdTo", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneIdTo", Tag=4, Type=uint),
- ])
-
- mode: 'uint' = 0
- groupIdFrom: 'uint' = 0
- sceneIdFrom: 'uint' = 0
- groupIdTo: 'uint' = 0
- sceneIdTo: 'uint' = 0
-
- @dataclass
- class CopySceneResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0005
- command_id: typing.ClassVar[int] = 0x0042
- is_client: typing.ClassVar[bool] = False
+ def attribute_id(cls) -> int:
+ return 0x00000004
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupIdFrom", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="sceneIdFrom", Tag=2, Type=uint),
- ])
-
- status: 'uint' = 0
- groupIdFrom: 'uint' = 0
- sceneIdFrom: 'uint' = 0
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ value: 'typing.Optional[str]' = None
- class Attributes:
@dataclass
- class SceneCount(ClusterAttributeDescriptor):
+ class Description(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0005
+ return 0x000F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x0000001C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'uint' = 0
+ value: 'typing.Optional[str]' = None
@dataclass
- class CurrentScene(ClusterAttributeDescriptor):
+ class InactiveText(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0005
+ return 0x000F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x0000002E
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'uint' = 0
+ value: 'typing.Optional[str]' = None
@dataclass
- class CurrentGroup(ClusterAttributeDescriptor):
+ class OutOfService(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0005
+ return 0x000F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000051
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=bool)
- value: 'uint' = 0
+ value: 'bool' = False
@dataclass
- class SceneValid(ClusterAttributeDescriptor):
+ class Polarity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0005
+ return 0x000F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000054
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
+
+ @dataclass
+ class PresentValue(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x000F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000055
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -2418,14 +2248,30 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'bool' = False
@dataclass
- class NameSupport(ClusterAttributeDescriptor):
+ class Reliability(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0005
+ return 0x000F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x00000067
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
+
+ @dataclass
+ class StatusFlags(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x000F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000006F
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -2434,26 +2280,26 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class LastConfiguredBy(ClusterAttributeDescriptor):
+ class ApplicationType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0005
+ return 0x000F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000005
+ return 0x00000100
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0005
+ return 0x000F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2469,7 +2315,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0005
+ return 0x000F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2485,7 +2331,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0005
+ return 0x000F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2501,7 +2347,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0005
+ return 0x000F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2517,7 +2363,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0005
+ return 0x000F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2532,18 +2378,13 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class OnOff(Cluster):
- id: typing.ClassVar[int] = 0x0006
+class PulseWidthModulation(Cluster):
+ id: typing.ClassVar[int] = 0x001C
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="onOff", Tag=0x00000000, Type=bool),
- ClusterObjectFieldDescriptor(Label="globalSceneControl", Tag=0x00004000, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="onTime", Tag=0x00004001, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="offWaitTime", Tag=0x00004002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="startUpOnOff", Tag=0x00004003, Type=typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -2551,221 +2392,223 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- onOff: 'bool' = None
- globalSceneControl: 'typing.Optional[bool]' = None
- onTime: 'typing.Optional[uint]' = None
- offWaitTime: 'typing.Optional[uint]' = None
- startUpOnOff: 'typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
- class Enums:
- class OnOffDelayedAllOffEffectVariant(IntEnum):
- kFadeToOffIn0p8Seconds = 0x00
- kNoFade = 0x01
- k50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 0x02
-
- class OnOffDyingLightEffectVariant(IntEnum):
- k20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0x00
-
- class OnOffEffectIdentifier(IntEnum):
- kDelayedAllOff = 0x00
- kDyingLight = 0x01
-
- class OnOffStartUpOnOff(IntEnum):
- kOff = 0x00
- kOn = 0x01
- kTogglePreviousOnOff = 0x02
-
-
-
- class Commands:
- @dataclass
- class Off(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0006
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class On(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0006
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class Toggle(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0006
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class OffWithEffect(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0006
- command_id: typing.ClassVar[int] = 0x0040
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="effectId", Tag=0, Type=OnOff.Enums.OnOffEffectIdentifier),
- ClusterObjectFieldDescriptor(Label="effectVariant", Tag=1, Type=OnOff.Enums.OnOffDelayedAllOffEffectVariant),
- ])
-
- effectId: 'OnOff.Enums.OnOffEffectIdentifier' = 0
- effectVariant: 'OnOff.Enums.OnOffDelayedAllOffEffectVariant' = 0
-
- @dataclass
- class OnWithRecallGlobalScene(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0006
- command_id: typing.ClassVar[int] = 0x0041
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class OnWithTimedOff(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0006
- command_id: typing.ClassVar[int] = 0x0042
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="onOffControl", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="onTime", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="offWaitTime", Tag=2, Type=uint),
- ])
- onOffControl: 'uint' = 0
- onTime: 'uint' = 0
- offWaitTime: 'uint' = 0
class Attributes:
@dataclass
- class OnOff(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0006
+ return 0x001C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'bool' = False
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class GlobalSceneControl(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0006
+ return 0x001C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00004000
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[bool]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class OnTime(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0006
+ return 0x001C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00004001
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class OffWaitTime(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0006
+ return 0x001C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00004002
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class StartUpOnOff(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0006
+ return 0x001C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00004003
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Union[None, Nullable, OnOff.Enums.OnOffStartUpOnOff]' = None
+ value: 'uint' = 0
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0006
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+@dataclass
+class Descriptor(Cluster):
+ id: typing.ClassVar[int] = 0x001D
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="deviceList", Tag=0x00000000, Type=typing.List[Descriptor.Structs.DeviceType]),
+ ClusterObjectFieldDescriptor(Label="serverList", Tag=0x00000001, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="clientList", Tag=0x00000002, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="partsList", Tag=0x00000003, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ deviceList: 'typing.List[Descriptor.Structs.DeviceType]' = None
+ serverList: 'typing.List[uint]' = None
+ clientList: 'typing.List[uint]' = None
+ partsList: 'typing.List[uint]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+
+
+ 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' = 0
+ revision: 'uint' = 0
+
+
+
+
+ class Attributes:
+ @dataclass
+ class DeviceList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x001D
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000000
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[Descriptor.Structs.DeviceType])
+
+ value: 'typing.List[Descriptor.Structs.DeviceType]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class ServerList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x001D
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000001
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class ClientList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x001D
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000002
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class PartsList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x001D
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000003
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class GeneratedCommandList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x001D
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFF8
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
value: 'typing.List[uint]' = field(default_factory=lambda: [])
@@ -2773,7 +2616,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0006
+ return 0x001D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2789,7 +2632,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0006
+ return 0x001D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2805,7 +2648,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0006
+ return 0x001D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2821,7 +2664,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0006
+ return 0x001D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2836,15 +2679,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class OnOffSwitchConfiguration(Cluster):
- id: typing.ClassVar[int] = 0x0007
+class Binding(Cluster):
+ id: typing.ClassVar[int] = 0x001E
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="switchType", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="switchActions", Tag=0x00000010, Type=uint),
+ ClusterObjectFieldDescriptor(Label="binding", Tag=0x00000000, Type=typing.List[Binding.Structs.TargetStruct]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -2852,8 +2694,7 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- switchType: 'uint' = None
- switchActions: 'uint' = None
+ binding: 'typing.List[Binding.Structs.TargetStruct]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -2861,46 +2702,51 @@ def descriptor(cls) -> ClusterObjectDescriptor:
clusterRevision: 'uint' = None
-
-
- class Attributes:
+ class Structs:
@dataclass
- class SwitchType(ClusterAttributeDescriptor):
+ class TargetStruct(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0007
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="node", Tag=1, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="group", Tag=2, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="endpoint", Tag=3, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="cluster", Tag=4, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
+ ])
+
+ node: 'typing.Optional[uint]' = None
+ group: 'typing.Optional[uint]' = None
+ endpoint: 'typing.Optional[uint]' = None
+ cluster: 'typing.Optional[uint]' = None
+ fabricIndex: 'uint' = 0
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
- value: 'uint' = 0
+ class Attributes:
@dataclass
- class SwitchActions(ClusterAttributeDescriptor):
+ class Binding(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0007
+ return 0x001E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000010
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[Binding.Structs.TargetStruct])
- value: 'uint' = 0
+ value: 'typing.List[Binding.Structs.TargetStruct]' = field(default_factory=lambda: [])
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0007
+ return 0x001E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2916,7 +2762,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0007
+ return 0x001E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2932,7 +2778,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0007
+ return 0x001E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2948,7 +2794,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0007
+ return 0x001E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2964,7 +2810,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0007
+ return 0x001E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -2979,27 +2825,18 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class LevelControl(Cluster):
- id: typing.ClassVar[int] = 0x0008
+class AccessControl(Cluster):
+ id: typing.ClassVar[int] = 0x001F
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="currentLevel", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="remainingTime", Tag=0x00000001, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="minLevel", Tag=0x00000002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="maxLevel", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="currentFrequency", Tag=0x00000004, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="minFrequency", Tag=0x00000005, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="maxFrequency", Tag=0x00000006, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="options", Tag=0x0000000F, Type=uint),
- ClusterObjectFieldDescriptor(Label="onOffTransitionTime", Tag=0x00000010, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="onLevel", Tag=0x00000011, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="onTransitionTime", Tag=0x00000012, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="offTransitionTime", Tag=0x00000013, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="defaultMoveRate", Tag=0x00000014, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="startUpCurrentLevel", Tag=0x00004000, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="acl", Tag=0x00000000, Type=typing.List[AccessControl.Structs.AccessControlEntry]),
+ ClusterObjectFieldDescriptor(Label="extension", Tag=0x00000001, Type=typing.Optional[typing.List[AccessControl.Structs.ExtensionEntry]]),
+ ClusterObjectFieldDescriptor(Label="subjectsPerAccessControlEntry", Tag=0x00000002, Type=uint),
+ ClusterObjectFieldDescriptor(Label="targetsPerAccessControlEntry", Tag=0x00000003, Type=uint),
+ ClusterObjectFieldDescriptor(Label="accessControlEntriesPerFabric", Tag=0x00000004, Type=uint),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -3007,20 +2844,11 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- currentLevel: 'uint' = None
- remainingTime: 'typing.Optional[uint]' = None
- minLevel: 'typing.Optional[uint]' = None
- maxLevel: 'typing.Optional[uint]' = None
- currentFrequency: 'typing.Optional[uint]' = None
- minFrequency: 'typing.Optional[uint]' = None
- maxFrequency: 'typing.Optional[uint]' = None
- options: 'uint' = None
- onOffTransitionTime: 'typing.Optional[uint]' = None
- onLevel: 'typing.Union[Nullable, uint]' = None
- onTransitionTime: 'typing.Union[None, Nullable, uint]' = None
- offTransitionTime: 'typing.Union[None, Nullable, uint]' = None
- defaultMoveRate: 'typing.Union[None, Nullable, uint]' = None
- startUpCurrentLevel: 'typing.Union[None, Nullable, uint]' = None
+ acl: 'typing.List[AccessControl.Structs.AccessControlEntry]' = None
+ extension: 'typing.Optional[typing.List[AccessControl.Structs.ExtensionEntry]]' = None
+ subjectsPerAccessControlEntry: 'uint' = None
+ targetsPerAccessControlEntry: 'uint' = None
+ accessControlEntriesPerFabric: 'uint' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -3028,187 +2856,81 @@ def descriptor(cls) -> ClusterObjectDescriptor:
clusterRevision: 'uint' = None
class Enums:
- class MoveMode(IntEnum):
- kUp = 0x00
- kDown = 0x01
+ class AuthMode(IntEnum):
+ kPase = 0x01
+ kCase = 0x02
+ kGroup = 0x03
- class StepMode(IntEnum):
- kUp = 0x00
- kDown = 0x01
+ class ChangeTypeEnum(IntEnum):
+ kChanged = 0x00
+ kAdded = 0x01
+ kRemoved = 0x02
+ class Privilege(IntEnum):
+ kView = 0x01
+ kProxyView = 0x02
+ kOperate = 0x03
+ kManage = 0x04
+ kAdminister = 0x05
- class Commands:
+ class Structs:
@dataclass
- class MoveToLevel(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0008
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionMask", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionOverride", Tag=3, Type=uint),
- ])
-
- level: 'uint' = 0
- transitionTime: 'uint' = 0
- optionMask: 'uint' = 0
- optionOverride: 'uint' = 0
-
- @dataclass
- class Move(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0008
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=LevelControl.Enums.MoveMode),
- ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionMask", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionOverride", Tag=3, Type=uint),
- ])
-
- moveMode: 'LevelControl.Enums.MoveMode' = 0
- rate: 'uint' = 0
- optionMask: 'uint' = 0
- optionOverride: 'uint' = 0
-
- @dataclass
- class Step(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0008
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=LevelControl.Enums.StepMode),
- ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionMask", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionOverride", Tag=4, Type=uint),
- ])
-
- stepMode: 'LevelControl.Enums.StepMode' = 0
- stepSize: 'uint' = 0
- transitionTime: 'uint' = 0
- optionMask: 'uint' = 0
- optionOverride: 'uint' = 0
-
- @dataclass
- class Stop(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0008
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="optionMask", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionOverride", Tag=1, Type=uint),
- ])
-
- optionMask: 'uint' = 0
- optionOverride: 'uint' = 0
-
- @dataclass
- class MoveToLevelWithOnOff(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0008
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="level", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint),
- ])
-
- level: 'uint' = 0
- transitionTime: 'uint' = 0
-
- @dataclass
- class MoveWithOnOff(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0008
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = True
-
+ class Target(ClusterObject):
@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="cluster", Tag=0, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="endpoint", Tag=1, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="deviceType", Tag=2, Type=typing.Union[Nullable, uint]),
])
- moveMode: 'LevelControl.Enums.MoveMode' = 0
- rate: 'uint' = 0
+ cluster: 'typing.Union[Nullable, uint]' = NullValue
+ endpoint: 'typing.Union[Nullable, uint]' = NullValue
+ deviceType: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class StepWithOnOff(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0008
- command_id: typing.ClassVar[int] = 0x0006
- is_client: typing.ClassVar[bool] = True
-
+ class AccessControlEntry(ClusterObject):
@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="privilege", Tag=1, Type=AccessControl.Enums.Privilege),
+ ClusterObjectFieldDescriptor(Label="authMode", Tag=2, Type=AccessControl.Enums.AuthMode),
+ ClusterObjectFieldDescriptor(Label="subjects", Tag=3, Type=typing.Union[Nullable, typing.List[uint]]),
+ ClusterObjectFieldDescriptor(Label="targets", Tag=4, Type=typing.Union[Nullable, typing.List[AccessControl.Structs.Target]]),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
])
- stepMode: 'LevelControl.Enums.StepMode' = 0
- stepSize: 'uint' = 0
- transitionTime: 'uint' = 0
+ privilege: 'AccessControl.Enums.Privilege' = 0
+ authMode: 'AccessControl.Enums.AuthMode' = 0
+ subjects: 'typing.Union[Nullable, typing.List[uint]]' = NullValue
+ targets: 'typing.Union[Nullable, typing.List[AccessControl.Structs.Target]]' = NullValue
+ fabricIndex: 'uint' = 0
@dataclass
- class StopWithOnOff(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0008
- command_id: typing.ClassVar[int] = 0x0007
- is_client: typing.ClassVar[bool] = True
-
+ class ExtensionEntry(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
+ ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
])
+ data: 'bytes' = b""
+ fabricIndex: 'uint' = 0
- @dataclass
- class MoveToClosestFrequency(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0008
- command_id: typing.ClassVar[int] = 0x0008
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="frequency", Tag=0, Type=uint),
- ])
- frequency: 'uint' = 0
class Attributes:
@dataclass
- class CurrentLevel(ClusterAttributeDescriptor):
+ class Acl(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -3216,15 +2938,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[AccessControl.Structs.AccessControlEntry])
- value: 'uint' = 0
+ value: 'typing.List[AccessControl.Structs.AccessControlEntry]' = field(default_factory=lambda: [])
@dataclass
- class RemainingTime(ClusterAttributeDescriptor):
+ class Extension(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -3232,15 +2954,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[AccessControl.Structs.ExtensionEntry]])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Optional[typing.List[AccessControl.Structs.ExtensionEntry]]' = None
@dataclass
- class MinLevel(ClusterAttributeDescriptor):
+ class SubjectsPerAccessControlEntry(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -3248,15 +2970,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class MaxLevel(ClusterAttributeDescriptor):
+ class TargetsPerAccessControlEntry(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -3264,15 +2986,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class CurrentFrequency(ClusterAttributeDescriptor):
+ class AccessControlEntriesPerFabric(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -3280,245 +3002,158 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class MinFrequency(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000005
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class MaxFrequency(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000006
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Options(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000F
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'uint' = 0
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class OnOffTransitionTime(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000010
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class OnLevel(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000011
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
- value: 'typing.Union[Nullable, uint]' = NullValue
+ class Events:
@dataclass
- class OnTransitionTime(ClusterAttributeDescriptor):
+ class AccessControlEntryChanged(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000012
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class OffTransitionTime(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0008
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000013
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class DefaultMoveRate(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0008
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000014
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class StartUpCurrentLevel(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0008
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00004000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0008
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0008
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0008
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0008
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ def event_id(cls) -> int:
+ return 0x00000000
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="adminNodeID", Tag=1, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="adminPasscodeID", Tag=2, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="changeType", Tag=3, Type=AccessControl.Enums.ChangeTypeEnum),
+ ClusterObjectFieldDescriptor(Label="latestValue", Tag=4, Type=typing.Union[Nullable, AccessControl.Structs.AccessControlEntry]),
+ ClusterObjectFieldDescriptor(Label="adminFabricIndex", Tag=254, Type=uint),
+ ])
- value: 'uint' = 0
+ adminNodeID: 'typing.Union[Nullable, uint]' = NullValue
+ adminPasscodeID: 'typing.Union[Nullable, uint]' = NullValue
+ changeType: 'AccessControl.Enums.ChangeTypeEnum' = 0
+ latestValue: 'typing.Union[Nullable, AccessControl.Structs.AccessControlEntry]' = NullValue
+ adminFabricIndex: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class AccessControlExtensionChanged(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0008
+ return 0x001F
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ def event_id(cls) -> int:
+ return 0x00000001
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="adminNodeID", Tag=1, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="adminPasscodeID", Tag=2, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="changeType", Tag=3, Type=AccessControl.Enums.ChangeTypeEnum),
+ ClusterObjectFieldDescriptor(Label="latestValue", Tag=4, Type=typing.Union[Nullable, AccessControl.Structs.ExtensionEntry]),
+ ClusterObjectFieldDescriptor(Label="adminFabricIndex", Tag=254, Type=uint),
+ ])
+ adminNodeID: 'typing.Union[Nullable, uint]' = NullValue
+ adminPasscodeID: 'typing.Union[Nullable, uint]' = NullValue
+ changeType: 'AccessControl.Enums.ChangeTypeEnum' = 0
+ latestValue: 'typing.Union[Nullable, AccessControl.Structs.ExtensionEntry]' = NullValue
+ adminFabricIndex: 'uint' = 0
@dataclass
-class Alarms(Cluster):
- id: typing.ClassVar[int] = 0x0009
+class BridgedActions(Cluster):
+ id: typing.ClassVar[int] = 0x0025
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="alarmCount", Tag=0x00000000, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="actionList", Tag=0x00000000, Type=typing.List[BridgedActions.Structs.ActionStruct]),
+ ClusterObjectFieldDescriptor(Label="endpointList", Tag=0x00000001, Type=typing.List[BridgedActions.Structs.EndpointListStruct]),
+ ClusterObjectFieldDescriptor(Label="setupUrl", Tag=0x00000002, Type=typing.Optional[str]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -3526,87 +3161,122 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- alarmCount: 'typing.Optional[uint]' = None
+ actionList: 'typing.List[BridgedActions.Structs.ActionStruct]' = None
+ endpointList: 'typing.List[BridgedActions.Structs.EndpointListStruct]' = None
+ setupUrl: 'typing.Optional[str]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class ActionErrorEnum(IntEnum):
+ kUnknown = 0x00
+ kInterrupted = 0x01
+ class ActionStateEnum(IntEnum):
+ kInactive = 0x00
+ kActive = 0x01
+ kPaused = 0x02
+ kDisabled = 0x03
- class Commands:
- @dataclass
- class ResetAlarm(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0009
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
+ 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="alarmCode", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterId", Tag=1, Type=uint),
+ 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.ActionStateEnum),
])
- alarmCode: 'uint' = 0
- clusterId: 'uint' = 0
+ actionID: 'uint' = 0
+ name: 'str' = ""
+ type: 'BridgedActions.Enums.ActionTypeEnum' = 0
+ endpointListID: 'uint' = 0
+ supportedCommands: 'uint' = 0
+ status: 'BridgedActions.Enums.ActionStateEnum' = 0
@dataclass
- class Alarm(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0009
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = False
-
+ class EndpointListStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="alarmCode", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterId", Tag=1, Type=uint),
+ 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=typing.List[uint]),
])
- alarmCode: 'uint' = 0
- clusterId: 'uint' = 0
+ endpointListID: 'uint' = 0
+ name: 'str' = ""
+ type: 'BridgedActions.Enums.EndpointListTypeEnum' = 0
+ endpoints: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+
+ class Commands:
@dataclass
- class ResetAllAlarms(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0009
- command_id: typing.ClassVar[int] = 0x0001
+ class InstantAction(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
+ command_id: typing.ClassVar[int] = 0x0000
is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
])
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
@dataclass
- class GetAlarmResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0009
+ class InstantActionWithTransition(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
+ is_client: typing.ClassVar[bool] = True
@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),
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
])
- status: 'uint' = 0
- alarmCode: 'uint' = 0
- clusterId: 'uint' = 0
- timeStamp: 'uint' = 0
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
+ transitionTime: 'uint' = 0
@dataclass
- class GetAlarm(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0009
+ class StartAction(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
command_id: typing.ClassVar[int] = 0x0002
is_client: typing.ClassVar[bool] = True
@@ -3614,12 +3284,16 @@ class GetAlarm(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
])
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
@dataclass
- class ResetAlarmLog(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0009
+ class StartActionWithDuration(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
command_id: typing.ClassVar[int] = 0x0003
is_client: typing.ClassVar[bool] = True
@@ -3627,159 +3301,164 @@ class ResetAlarmLog(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ])
-
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint),
+ ])
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
+ duration: 'uint' = 0
- class Attributes:
@dataclass
- class AlarmCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0009
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
+ class StopAction(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
+ command_id: typing.ClassVar[int] = 0x0004
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
+ ])
- value: 'typing.Optional[uint]' = None
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0009
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ class PauseAction(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
+ command_id: typing.ClassVar[int] = 0x0005
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0009
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ class PauseActionWithDuration(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
+ command_id: typing.ClassVar[int] = 0x0006
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
+ duration: 'uint' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0009
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ class ResumeAction(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
+ command_id: typing.ClassVar[int] = 0x0007
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0009
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ class EnableAction(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
+ command_id: typing.ClassVar[int] = 0x0008
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
+ ])
- value: 'uint' = 0
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0009
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ class EnableActionWithDuration(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
+ command_id: typing.ClassVar[int] = 0x0009
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint),
+ ])
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
+ duration: 'uint' = 0
+ @dataclass
+ class DisableAction(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
+ command_id: typing.ClassVar[int] = 0x000A
+ is_client: typing.ClassVar[bool] = True
-@dataclass
-class Time(Cluster):
- id: typing.ClassVar[int] = 0x000A
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
+ ])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="time", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="timeStatus", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="timeZone", Tag=0x00000002, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="dstStart", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="dstEnd", Tag=0x00000004, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="dstShift", Tag=0x00000005, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="standardTime", Tag=0x00000006, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="localTime", Tag=0x00000007, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="lastSetTime", Tag=0x00000008, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="validUntilTime", Tag=0x00000009, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
- time: 'uint' = None
- timeStatus: 'uint' = None
- timeZone: 'typing.Optional[int]' = None
- dstStart: 'typing.Optional[uint]' = None
- dstEnd: 'typing.Optional[uint]' = None
- dstShift: 'typing.Optional[int]' = None
- standardTime: 'typing.Optional[uint]' = None
- localTime: 'typing.Optional[uint]' = None
- lastSetTime: 'typing.Optional[uint]' = None
- validUntilTime: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class DisableActionWithDuration(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0025
+ command_id: typing.ClassVar[int] = 0x000B
+ is_client: typing.ClassVar[bool] = True
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint),
+ ])
+ actionID: 'uint' = 0
+ invokeID: 'typing.Optional[uint]' = None
+ duration: 'uint' = 0
class Attributes:
@dataclass
- class Time(ClusterAttributeDescriptor):
+ class ActionList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0025
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -3787,15 +3466,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[BridgedActions.Structs.ActionStruct])
- value: 'uint' = 0
+ value: 'typing.List[BridgedActions.Structs.ActionStruct]' = field(default_factory=lambda: [])
@dataclass
- class TimeStatus(ClusterAttributeDescriptor):
+ class EndpointList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0025
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -3803,15 +3482,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[BridgedActions.Structs.EndpointListStruct])
- value: 'uint' = 0
+ value: 'typing.List[BridgedActions.Structs.EndpointListStruct]' = field(default_factory=lambda: [])
@dataclass
- class TimeZone(ClusterAttributeDescriptor):
+ class SetupUrl(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0025
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -3819,179 +3498,276 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.Optional[int]' = None
+ value: 'typing.Optional[str]' = None
@dataclass
- class DstStart(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0025
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class DstEnd(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0025
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class DstShift(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0025
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000005
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[int]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class StandardTime(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0025
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000006
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class LocalTime(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0025
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000007
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
- value: 'typing.Optional[uint]' = None
+ class Events:
@dataclass
- class LastSetTime(ClusterAttributeDescriptor):
+ class StateChanged(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0025
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000008
-
+ def event_id(cls) -> int:
+ return 0x00000000
+
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=BridgedActions.Enums.ActionStateEnum),
+ ])
- value: 'typing.Optional[uint]' = None
+ actionID: 'uint' = 0
+ invokeID: 'uint' = 0
+ newState: 'BridgedActions.Enums.ActionStateEnum' = 0
@dataclass
- class ValidUntilTime(ClusterAttributeDescriptor):
+ class ActionFailed(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0025
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000009
+ def event_id(cls) -> int:
+ return 0x00000001
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=BridgedActions.Enums.ActionStateEnum),
+ ClusterObjectFieldDescriptor(Label="error", Tag=3, Type=BridgedActions.Enums.ActionErrorEnum),
+ ])
+
+ actionID: 'uint' = 0
+ invokeID: 'uint' = 0
+ newState: 'BridgedActions.Enums.ActionStateEnum' = 0
+ error: 'BridgedActions.Enums.ActionErrorEnum' = 0
+
+
+@dataclass
+class Basic(Cluster):
+ id: typing.ClassVar[int] = 0x0028
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="dataModelRevision", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000001, Type=str),
+ ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000002, Type=uint),
+ ClusterObjectFieldDescriptor(Label="productName", Tag=0x00000003, Type=str),
+ ClusterObjectFieldDescriptor(Label="productID", Tag=0x00000004, Type=uint),
+ ClusterObjectFieldDescriptor(Label="nodeLabel", Tag=0x00000005, Type=str),
+ ClusterObjectFieldDescriptor(Label="location", Tag=0x00000006, Type=str),
+ ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=0x00000007, Type=uint),
+ ClusterObjectFieldDescriptor(Label="hardwareVersionString", Tag=0x00000008, Type=str),
+ ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0x00000009, Type=uint),
+ ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=0x0000000A, Type=str),
+ ClusterObjectFieldDescriptor(Label="manufacturingDate", Tag=0x0000000B, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="partNumber", Tag=0x0000000C, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="productURL", Tag=0x0000000D, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="productLabel", Tag=0x0000000E, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="serialNumber", Tag=0x0000000F, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="localConfigDisabled", Tag=0x00000010, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="reachable", Tag=0x00000011, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="uniqueID", Tag=0x00000012, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="capabilityMinima", Tag=0x00000013, Type=Basic.Structs.CapabilityMinimaStruct),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ dataModelRevision: 'uint' = None
+ vendorName: 'str' = None
+ vendorID: 'uint' = None
+ productName: 'str' = None
+ productID: 'uint' = None
+ nodeLabel: 'str' = None
+ location: 'str' = None
+ hardwareVersion: 'uint' = None
+ hardwareVersionString: 'str' = None
+ softwareVersion: 'uint' = None
+ softwareVersionString: 'str' = None
+ manufacturingDate: 'typing.Optional[str]' = None
+ partNumber: 'typing.Optional[str]' = None
+ productURL: 'typing.Optional[str]' = None
+ productLabel: 'typing.Optional[str]' = None
+ serialNumber: 'typing.Optional[str]' = None
+ localConfigDisabled: 'typing.Optional[bool]' = None
+ reachable: 'typing.Optional[bool]' = None
+ uniqueID: 'typing.Optional[str]' = None
+ capabilityMinima: 'Basic.Structs.CapabilityMinimaStruct' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- value: 'typing.Optional[uint]' = None
+ class Structs:
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class CapabilityMinimaStruct(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x000A
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="caseSessionsPerFabric", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="subscriptionsPerFabric", Tag=1, Type=uint),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ caseSessionsPerFabric: 'uint' = 0
+ subscriptionsPerFabric: 'uint' = 0
+
+
+
+ class Commands:
+ @dataclass
+ class MfgSpecificPing(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0028
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
+
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ class Attributes:
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class DataModelRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'uint' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class VendorName(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=str)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'str' = ""
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class VendorID(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -4000,71 +3776,26 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class ProductName(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000A
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class BinaryInputBasic(Cluster):
- id: typing.ClassVar[int] = 0x000F
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="activeText", Tag=0x00000004, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="description", Tag=0x0000001C, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="inactiveText", Tag=0x0000002E, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="outOfService", Tag=0x00000051, Type=bool),
- ClusterObjectFieldDescriptor(Label="polarity", Tag=0x00000054, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="presentValue", Tag=0x00000055, Type=bool),
- ClusterObjectFieldDescriptor(Label="reliability", Tag=0x00000067, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="statusFlags", Tag=0x0000006F, Type=uint),
- ClusterObjectFieldDescriptor(Label="applicationType", Tag=0x00000100, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- activeText: 'typing.Optional[str]' = None
- description: 'typing.Optional[str]' = None
- inactiveText: 'typing.Optional[str]' = None
- outOfService: 'bool' = None
- polarity: 'typing.Optional[uint]' = None
- presentValue: 'bool' = None
- reliability: 'typing.Optional[uint]' = None
- statusFlags: 'uint' = None
- applicationType: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
+ return ClusterObjectFieldDescriptor(Type=str)
+ value: 'str' = ""
- class Attributes:
@dataclass
- class ActiveText(ClusterAttributeDescriptor):
+ class ProductID(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -4072,143 +3803,255 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[str]' = None
+ value: 'uint' = 0
@dataclass
- class Description(ClusterAttributeDescriptor):
+ class NodeLabel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000001C
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ return ClusterObjectFieldDescriptor(Type=str)
- value: 'typing.Optional[str]' = None
+ value: 'str' = ""
@dataclass
- class InactiveText(ClusterAttributeDescriptor):
+ class Location(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000002E
+ return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ return ClusterObjectFieldDescriptor(Type=str)
- value: 'typing.Optional[str]' = None
+ value: 'str' = ""
@dataclass
- class OutOfService(ClusterAttributeDescriptor):
+ class HardwareVersion(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000051
+ return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'bool' = False
+ value: 'uint' = 0
@dataclass
- class Polarity(ClusterAttributeDescriptor):
+ class HardwareVersionString(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000054
+ return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=str)
- value: 'typing.Optional[uint]' = None
+ value: 'str' = ""
@dataclass
- class PresentValue(ClusterAttributeDescriptor):
+ class SoftwareVersion(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000055
+ return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'bool' = False
+ value: 'uint' = 0
@dataclass
- class Reliability(ClusterAttributeDescriptor):
+ class SoftwareVersionString(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000067
+ return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=str)
- value: 'typing.Optional[uint]' = None
+ value: 'str' = ""
@dataclass
- class StatusFlags(ClusterAttributeDescriptor):
+ class ManufacturingDate(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000006F
+ return 0x0000000B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'uint' = 0
+ value: 'typing.Optional[str]' = None
@dataclass
- class ApplicationType(ClusterAttributeDescriptor):
+ class PartNumber(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000100
+ return 0x0000000C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Optional[str]' = None
+
+ @dataclass
+ class ProductURL(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0028
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000000D
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+
+ value: 'typing.Optional[str]' = None
+
+ @dataclass
+ class ProductLabel(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0028
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000000E
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+
+ value: 'typing.Optional[str]' = None
+
+ @dataclass
+ class SerialNumber(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0028
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000000F
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+
+ value: 'typing.Optional[str]' = None
+
+ @dataclass
+ class LocalConfigDisabled(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0028
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000010
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
+
+ value: 'typing.Optional[bool]' = None
+
+ @dataclass
+ class Reachable(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0028
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000011
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
+
+ value: 'typing.Optional[bool]' = None
+
+ @dataclass
+ class UniqueID(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0028
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000012
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+
+ value: 'typing.Optional[str]' = None
+
+ @dataclass
+ class CapabilityMinima(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0028
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000013
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=Basic.Structs.CapabilityMinimaStruct)
+
+ value: 'Basic.Structs.CapabilityMinimaStruct' = field(default_factory=lambda: Basic.Structs.CapabilityMinimaStruct())
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -4224,7 +4067,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -4240,7 +4083,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -4256,7 +4099,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -4272,7 +4115,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x000F
+ return 0x0028
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -4285,135 +4128,52 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
-
-@dataclass
-class PowerProfile(Cluster):
- id: typing.ClassVar[int] = 0x001A
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="totalProfileNum", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="multipleScheduling", Tag=0x00000001, Type=bool),
- ClusterObjectFieldDescriptor(Label="energyFormatting", Tag=0x00000002, Type=uint),
- ClusterObjectFieldDescriptor(Label="energyRemote", Tag=0x00000003, Type=bool),
- ClusterObjectFieldDescriptor(Label="scheduleMode", Tag=0x00000004, Type=uint),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- totalProfileNum: 'uint' = None
- multipleScheduling: 'bool' = None
- energyFormatting: 'uint' = None
- energyRemote: 'bool' = None
- scheduleMode: 'uint' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
- class Structs:
+ class Events:
@dataclass
- class PowerProfileRecord(ClusterObject):
+ class StartUp(ClusterEvent):
@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),
- ])
+ def cluster_id(cls) -> int:
+ return 0x0028
- powerProfileId: 'uint' = 0
- energyPhaseId: 'uint' = 0
- powerProfileRemoteControl: 'bool' = False
- powerProfileState: 'uint' = 0
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000000
- @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),
+ ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint),
])
- energyPhaseId: 'uint' = 0
- scheduledTime: 'uint' = 0
+ softwareVersion: 'uint' = 0
@dataclass
- class TransferredPhase(ClusterObject):
+ class ShutDown(ClusterEvent):
@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' = 0
- macroPhaseId: 'uint' = 0
- expectedDuration: 'uint' = 0
- peakPower: 'uint' = 0
- energy: 'uint' = 0
- maxActivationDelay: 'uint' = 0
-
-
+ def cluster_id(cls) -> int:
+ return 0x0028
- 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 event_id(cls) -> int:
+ return 0x00000001
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint),
])
- powerProfileId: 'uint' = 0
@dataclass
- class PowerProfileNotification(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = False
-
+ class Leave(ClusterEvent):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="totalProfileNum", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="numOfTransferredPhases", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="transferredPhases", Tag=3, Type=typing.List[PowerProfile.Structs.TransferredPhase]),
- ])
-
- totalProfileNum: 'uint' = 0
- powerProfileId: 'uint' = 0
- numOfTransferredPhases: 'uint' = 0
- transferredPhases: 'typing.List[PowerProfile.Structs.TransferredPhase]' = field(default_factory=lambda: [])
+ def cluster_id(cls) -> int:
+ return 0x0028
- @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 event_id(cls) -> int:
+ return 0x00000002
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
@@ -4423,402 +4183,251 @@ def descriptor(cls) -> ClusterObjectDescriptor:
@dataclass
- class PowerProfileResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
-
+ class ReachableChanged(ClusterEvent):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="totalProfileNum", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="numOfTransferredPhases", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="transferredPhases", Tag=3, Type=typing.List[PowerProfile.Structs.TransferredPhase]),
- ])
-
- totalProfileNum: 'uint' = 0
- powerProfileId: 'uint' = 0
- numOfTransferredPhases: 'uint' = 0
- transferredPhases: 'typing.List[PowerProfile.Structs.TransferredPhase]' = field(default_factory=lambda: [])
+ def cluster_id(cls) -> int:
+ return 0x0028
- @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 event_id(cls) -> int:
+ return 0x00000003
@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),
+ ClusterObjectFieldDescriptor(Label="reachableNewValue", Tag=0, Type=bool),
])
- powerProfileId: 'uint' = 0
- currency: 'uint' = 0
- price: 'uint' = 0
- priceTrailingDigit: 'uint' = 0
+ reachableNewValue: 'bool' = False
- @dataclass
- class PowerProfileStateResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = False
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileCount", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="powerProfileRecords", Tag=1, Type=typing.List[PowerProfile.Structs.PowerProfileRecord]),
- ])
-
- powerProfileCount: 'uint' = 0
- powerProfileRecords: 'typing.List[PowerProfile.Structs.PowerProfileRecord]' = field(default_factory=lambda: [])
-
- @dataclass
- class GetOverallSchedulePriceResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="currency", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="price", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="priceTrailingDigit", Tag=2, Type=uint),
- ])
-
- currency: 'uint' = 0
- price: 'uint' = 0
- priceTrailingDigit: 'uint' = 0
-
- @dataclass
- class GetPowerProfilePrice(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint),
- ])
-
- powerProfileId: 'uint' = 0
-
- @dataclass
- class EnergyPhasesScheduleNotification(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=typing.List[PowerProfile.Structs.ScheduledPhase]),
- ])
-
- powerProfileId: 'uint' = 0
- numOfScheduledPhases: 'uint' = 0
- scheduledPhases: 'typing.List[PowerProfile.Structs.ScheduledPhase]' = field(default_factory=lambda: [])
-
- @dataclass
- class PowerProfilesStateNotification(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileCount", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="powerProfileRecords", Tag=1, Type=typing.List[PowerProfile.Structs.PowerProfileRecord]),
- ])
+@dataclass
+class OtaSoftwareUpdateProvider(Cluster):
+ id: typing.ClassVar[int] = 0x0029
- powerProfileCount: 'uint' = 0
- powerProfileRecords: 'typing.List[PowerProfile.Structs.PowerProfileRecord]' = field(default_factory=lambda: [])
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
- @dataclass
- class EnergyPhasesScheduleResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = True
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=typing.List[PowerProfile.Structs.ScheduledPhase]),
- ])
+ class Enums:
+ class OTAApplyUpdateAction(IntEnum):
+ kProceed = 0x00
+ kAwaitNextAction = 0x01
+ kDiscontinue = 0x02
- powerProfileId: 'uint' = 0
- numOfScheduledPhases: 'uint' = 0
- scheduledPhases: 'typing.List[PowerProfile.Structs.ScheduledPhase]' = field(default_factory=lambda: [])
+ class OTADownloadProtocol(IntEnum):
+ kBDXSynchronous = 0x00
+ kBDXAsynchronous = 0x01
+ kHttps = 0x02
+ kVendorSpecific = 0x03
- @dataclass
- class GetOverallSchedulePrice(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = False
+ class OTAQueryStatus(IntEnum):
+ kUpdateAvailable = 0x00
+ kBusy = 0x01
+ kNotAvailable = 0x02
+ kDownloadProtocolNotSupported = 0x03
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ class Commands:
@dataclass
- class PowerProfileScheduleConstraintsRequest(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0006
+ 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="powerProfileId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="vendorId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="productId", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="protocolsSupported", Tag=3, Type=typing.List[OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol]),
+ ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=4, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="location", Tag=5, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="requestorCanConsent", Tag=6, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="metadataForProvider", Tag=7, Type=typing.Optional[bytes]),
])
- powerProfileId: 'uint' = 0
+ vendorId: 'uint' = 0
+ productId: 'uint' = 0
+ softwareVersion: 'uint' = 0
+ protocolsSupported: 'typing.List[OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol]' = field(default_factory=lambda: [])
+ hardwareVersion: 'typing.Optional[uint]' = None
+ location: 'typing.Optional[str]' = None
+ requestorCanConsent: 'typing.Optional[bool]' = None
+ metadataForProvider: 'typing.Optional[bytes]' = None
@dataclass
- class EnergyPhasesScheduleRequest(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0006
+ class QueryImageResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0029
+ command_id: typing.ClassVar[int] = 0x0001
is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAQueryStatus),
+ ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="imageURI", Tag=2, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=3, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=4, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="updateToken", Tag=5, Type=typing.Optional[bytes]),
+ ClusterObjectFieldDescriptor(Label="userConsentNeeded", Tag=6, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="metadataForRequestor", Tag=7, Type=typing.Optional[bytes]),
])
- powerProfileId: 'uint' = 0
+ status: 'OtaSoftwareUpdateProvider.Enums.OTAQueryStatus' = 0
+ delayedActionTime: 'typing.Optional[uint]' = None
+ imageURI: 'typing.Optional[str]' = None
+ softwareVersion: 'typing.Optional[uint]' = None
+ softwareVersionString: 'typing.Optional[str]' = None
+ updateToken: 'typing.Optional[bytes]' = None
+ userConsentNeeded: 'typing.Optional[bool]' = None
+ metadataForRequestor: 'typing.Optional[bytes]' = None
@dataclass
- class EnergyPhasesScheduleStateRequest(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0007
+ class ApplyUpdateRequest(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0029
+ command_id: typing.ClassVar[int] = 0x0002
is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="updateToken", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="newVersion", Tag=1, Type=uint),
])
- powerProfileId: 'uint' = 0
+ updateToken: 'bytes' = b""
+ newVersion: 'uint' = 0
@dataclass
- class EnergyPhasesScheduleStateResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0007
+ class ApplyUpdateResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0029
+ command_id: typing.ClassVar[int] = 0x0003
is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=typing.List[PowerProfile.Structs.ScheduledPhase]),
+ ClusterObjectFieldDescriptor(Label="action", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction),
+ ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=uint),
])
- powerProfileId: 'uint' = 0
- numOfScheduledPhases: 'uint' = 0
- scheduledPhases: 'typing.List[PowerProfile.Structs.ScheduledPhase]' = field(default_factory=lambda: [])
+ action: 'OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction' = 0
+ delayedActionTime: 'uint' = 0
@dataclass
- class GetPowerProfilePriceExtendedResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0008
+ class NotifyUpdateApplied(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0029
+ command_id: typing.ClassVar[int] = 0x0004
is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="currency", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="price", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="priceTrailingDigit", Tag=3, Type=uint),
- ])
-
- powerProfileId: 'uint' = 0
- currency: 'uint' = 0
- price: 'uint' = 0
- priceTrailingDigit: 'uint' = 0
-
- @dataclass
- class EnergyPhasesScheduleStateNotification(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0008
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="numOfScheduledPhases", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="scheduledPhases", Tag=2, Type=typing.List[PowerProfile.Structs.ScheduledPhase]),
- ])
-
- powerProfileId: 'uint' = 0
- numOfScheduledPhases: 'uint' = 0
- scheduledPhases: 'typing.List[PowerProfile.Structs.ScheduledPhase]' = field(default_factory=lambda: [])
-
- @dataclass
- class PowerProfileScheduleConstraintsNotification(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x0009
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="startAfter", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="stopBefore", Tag=2, Type=uint),
- ])
-
- powerProfileId: 'uint' = 0
- startAfter: 'uint' = 0
- stopBefore: 'uint' = 0
-
- @dataclass
- class PowerProfileScheduleConstraintsResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x000A
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="startAfter", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="stopBefore", Tag=2, Type=uint),
- ])
-
- powerProfileId: 'uint' = 0
- startAfter: 'uint' = 0
- stopBefore: 'uint' = 0
-
- @dataclass
- class GetPowerProfilePriceExtended(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001A
- command_id: typing.ClassVar[int] = 0x000B
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="options", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="powerProfileId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="powerProfileStartTime", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="updateToken", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=1, Type=uint),
])
- options: 'uint' = 0
- powerProfileId: 'uint' = 0
- powerProfileStartTime: 'uint' = 0
+ updateToken: 'bytes' = b""
+ softwareVersion: 'uint' = 0
class Attributes:
@dataclass
- class TotalProfileNum(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001A
+ return 0x0029
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'uint' = 0
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class MultipleScheduling(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001A
+ return 0x0029
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'bool' = False
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class EnergyFormatting(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001A
+ return 0x0029
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'uint' = 0
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class EnergyRemote(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001A
+ return 0x0029
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'bool' = False
+ value: 'uint' = 0
@dataclass
- class ScheduleMode(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001A
+ return 0x0029
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -4826,99 +4435,20 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001A
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001A
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001A
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001A
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001A
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class ApplianceControl(Cluster):
- id: typing.ClassVar[int] = 0x001B
+@dataclass
+class OtaSoftwareUpdateRequestor(Cluster):
+ id: typing.ClassVar[int] = 0x002A
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="startTime", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="finishTime", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="remainingTime", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="defaultOtaProviders", Tag=0x00000000, Type=typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]),
+ ClusterObjectFieldDescriptor(Label="updatePossible", Tag=0x00000001, Type=bool),
+ ClusterObjectFieldDescriptor(Label="updateState", Tag=0x00000002, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum),
+ ClusterObjectFieldDescriptor(Label="updateStateProgress", Tag=0x00000003, Type=typing.Union[Nullable, uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -4926,9 +4456,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- startTime: 'uint' = None
- finishTime: 'uint' = None
- remainingTime: 'typing.Optional[uint]' = None
+ defaultOtaProviders: 'typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]' = None
+ updatePossible: 'bool' = None
+ updateState: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = None
+ updateStateProgress: 'typing.Union[Nullable, uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -4936,227 +4467,143 @@ def descriptor(cls) -> ClusterObjectDescriptor:
clusterRevision: 'uint' = None
class Enums:
- class ApplianceStatus(IntEnum):
- kOff = 0x01
- kStandBy = 0x02
- kProgrammed = 0x03
- kProgrammedWaitingToStart = 0x04
- kRunning = 0x05
- kPause = 0x06
- kEndProgrammed = 0x07
- kFailure = 0x08
- kProgrammeInterrupted = 0x09
- kIdle = 0x0A
- kRinseHold = 0x0B
- kService = 0x0C
- kSuperfreezing = 0x0D
- kSupercooling = 0x0E
- kSuperheating = 0x0F
-
- class CommandIdentification(IntEnum):
- kStart = 0x01
- kStop = 0x02
- kPause = 0x03
- kStartSuperfreezing = 0x04
- kStopSuperfreezing = 0x05
- kStartSupercooling = 0x06
- kStopSupercooling = 0x07
- kDisableGas = 0x08
- kEnableGas = 0x09
- kEnableEnergyControl = 0x0A
- kDisableEnergyControl = 0x0B
-
- class WarningEvent(IntEnum):
- kWarning1OverallPowerAboveAvailablePowerLevel = 0x00
- kWarning2OverallPowerAbovePowerThresholdLevel = 0x01
- kWarning3OverallPowerBackBelowTheAvailablePowerLevel = 0x02
- kWarning4OverallPowerBackBelowThePowerThresholdLevel = 0x03
- kWarning5OverallPowerWillBePotentiallyAboveAvailablePowerLevelIfTheApplianceStarts = 0x04
-
-
-
- class Commands:
- @dataclass
- class ExecutionOfACommand(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001B
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="commandId", Tag=0, Type=ApplianceControl.Enums.CommandIdentification),
- ])
-
- commandId: 'ApplianceControl.Enums.CommandIdentification' = 0
+ class OTAAnnouncementReason(IntEnum):
+ kSimpleAnnouncement = 0x00
+ kUpdateAvailable = 0x01
+ kUrgentUpdateAvailable = 0x02
- @dataclass
- class SignalStateResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001B
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = False
+ class OTAChangeReasonEnum(IntEnum):
+ kUnknown = 0x00
+ kSuccess = 0x01
+ kFailure = 0x02
+ kTimeOut = 0x03
+ kDelayByProvider = 0x04
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="applianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus),
- ClusterObjectFieldDescriptor(Label="remoteEnableFlagsAndDeviceStatus2", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="applianceStatus2", Tag=2, Type=ApplianceControl.Enums.ApplianceStatus),
- ])
+ class OTAUpdateStateEnum(IntEnum):
+ kUnknown = 0x00
+ kIdle = 0x01
+ kQuerying = 0x02
+ kDelayedOnQuery = 0x03
+ kDownloading = 0x04
+ kApplying = 0x05
+ kDelayedOnApply = 0x06
+ kRollingBack = 0x07
+ kDelayedOnUserConsent = 0x08
- applianceStatus: 'ApplianceControl.Enums.ApplianceStatus' = 0
- remoteEnableFlagsAndDeviceStatus2: 'uint' = 0
- applianceStatus2: 'ApplianceControl.Enums.ApplianceStatus' = 0
+ class Structs:
@dataclass
- class SignalState(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001B
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
-
+ class ProviderLocation(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
+ ClusterObjectFieldDescriptor(Label="providerNodeID", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="endpoint", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
])
+ providerNodeID: 'uint' = 0
+ endpoint: 'uint' = 0
+ fabricIndex: 'uint' = 0
- @dataclass
- class SignalStateNotification(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001B
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="applianceStatus", Tag=0, Type=ApplianceControl.Enums.ApplianceStatus),
- ClusterObjectFieldDescriptor(Label="remoteEnableFlagsAndDeviceStatus2", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="applianceStatus2", Tag=2, Type=ApplianceControl.Enums.ApplianceStatus),
- ])
- applianceStatus: 'ApplianceControl.Enums.ApplianceStatus' = 0
- remoteEnableFlagsAndDeviceStatus2: 'uint' = 0
- applianceStatus2: 'ApplianceControl.Enums.ApplianceStatus' = 0
+ class Commands:
@dataclass
- class WriteFunctions(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001B
- command_id: typing.ClassVar[int] = 0x0002
+ 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="functionId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="functionDataType", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="functionData", Tag=2, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="providerNodeId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="vendorId", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="announcementReason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason),
+ ClusterObjectFieldDescriptor(Label="metadataForNode", Tag=3, Type=typing.Optional[bytes]),
+ ClusterObjectFieldDescriptor(Label="endpoint", Tag=4, Type=uint),
])
- functionId: 'uint' = 0
- functionDataType: 'uint' = 0
- functionData: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class OverloadPauseResume(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001B
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ providerNodeId: 'uint' = 0
+ vendorId: 'uint' = 0
+ announcementReason: 'OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason' = 0
+ metadataForNode: 'typing.Optional[bytes]' = None
+ endpoint: 'uint' = 0
+ class Attributes:
@dataclass
- class OverloadPause(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x001B
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
-
+ class DefaultOtaProviders(ClusterAttributeDescriptor):
@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
+ def cluster_id(cls) -> int:
+ return 0x002A
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="warningEvent", Tag=0, Type=ApplianceControl.Enums.WarningEvent),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000000
- warningEvent: 'ApplianceControl.Enums.WarningEvent' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation])
+ value: 'typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]' = field(default_factory=lambda: [])
- class Attributes:
@dataclass
- class StartTime(ClusterAttributeDescriptor):
+ class UpdatePossible(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001B
+ return 0x002A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=bool)
- value: 'uint' = 0
+ value: 'bool' = False
@dataclass
- class FinishTime(ClusterAttributeDescriptor):
+ class UpdateState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001B
+ return 0x002A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum)
- value: 'uint' = 0
+ value: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = 0
@dataclass
- class RemainingTime(ClusterAttributeDescriptor):
+ class UpdateStateProgress(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001B
+ return 0x002A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001B
+ return 0x002A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5172,7 +4619,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001B
+ return 0x002A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5188,7 +4635,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001B
+ return 0x002A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5204,7 +4651,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001B
+ return 0x002A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5220,7 +4667,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001B
+ return 0x002A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5233,41 +4680,149 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
-
-@dataclass
-class PulseWidthModulation(Cluster):
- id: typing.ClassVar[int] = 0x001C
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
+ class Events:
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class StateTransition(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001C
+ return 0x002A
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ def event_id(cls) -> int:
+ return 0x00000000
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="previousState", Tag=0, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum),
+ ClusterObjectFieldDescriptor(Label="newState", Tag=1, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum),
+ ClusterObjectFieldDescriptor(Label="reason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAChangeReasonEnum),
+ ClusterObjectFieldDescriptor(Label="targetSoftwareVersion", Tag=3, Type=typing.Union[Nullable, uint]),
+ ])
+
+ previousState: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = 0
+ newState: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = 0
+ reason: 'OtaSoftwareUpdateRequestor.Enums.OTAChangeReasonEnum' = 0
+ targetSoftwareVersion: 'typing.Union[Nullable, uint]' = NullValue
+
+ @dataclass
+ class VersionApplied(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002A
+
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000001
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="productID", Tag=1, Type=uint),
+ ])
+
+ softwareVersion: 'uint' = 0
+ productID: 'uint' = 0
+
+ @dataclass
+ class DownloadError(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002A
+
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000002
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="bytesDownloaded", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="progressPercent", Tag=2, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="platformCode", Tag=3, Type=typing.Union[Nullable, int]),
+ ])
+
+ softwareVersion: 'uint' = 0
+ bytesDownloaded: 'uint' = 0
+ progressPercent: 'typing.Union[Nullable, uint]' = NullValue
+ platformCode: 'typing.Union[Nullable, int]' = NullValue
+
+
+@dataclass
+class LocalizationConfiguration(Cluster):
+ id: typing.ClassVar[int] = 0x002B
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="activeLocale", Tag=0x00000000, Type=str),
+ ClusterObjectFieldDescriptor(Label="supportedLocales", Tag=0x00000001, Type=typing.List[str]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ activeLocale: 'str' = None
+ supportedLocales: 'typing.List[str]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+
+
+
+
+ class Attributes:
+ @dataclass
+ class ActiveLocale(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002B
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000000
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=str)
+
+ value: 'str' = ""
+
+ @dataclass
+ class SupportedLocales(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002B
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000001
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[str])
+
+ value: 'typing.List[str]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class GeneratedCommandList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002B
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -5279,7 +4834,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001C
+ return 0x002B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5295,7 +4850,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001C
+ return 0x002B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5311,7 +4866,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001C
+ return 0x002B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5327,7 +4882,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001C
+ return 0x002B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5342,17 +4897,16 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class Descriptor(Cluster):
- id: typing.ClassVar[int] = 0x001D
+class TimeFormatLocalization(Cluster):
+ id: typing.ClassVar[int] = 0x002C
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="deviceList", Tag=0x00000000, Type=typing.List[Descriptor.Structs.DeviceType]),
- ClusterObjectFieldDescriptor(Label="serverList", Tag=0x00000001, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="clientList", Tag=0x00000002, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="partsList", Tag=0x00000003, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="hourFormat", Tag=0x00000000, Type=TimeFormatLocalization.Enums.HourFormat),
+ ClusterObjectFieldDescriptor(Label="activeCalendarType", Tag=0x00000001, Type=typing.Optional[TimeFormatLocalization.Enums.CalendarType]),
+ ClusterObjectFieldDescriptor(Label="supportedCalendarTypes", Tag=0x00000002, Type=typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarType]]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -5360,40 +4914,43 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- deviceList: 'typing.List[Descriptor.Structs.DeviceType]' = None
- serverList: 'typing.List[uint]' = None
- clientList: 'typing.List[uint]' = None
- partsList: 'typing.List[uint]' = None
+ hourFormat: 'TimeFormatLocalization.Enums.HourFormat' = None
+ activeCalendarType: 'typing.Optional[TimeFormatLocalization.Enums.CalendarType]' = None
+ supportedCalendarTypes: 'typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarType]]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class CalendarType(IntEnum):
+ kBuddhist = 0x00
+ kChinese = 0x01
+ kCoptic = 0x02
+ kEthiopian = 0x03
+ kGregorian = 0x04
+ kHebrew = 0x05
+ kIndian = 0x06
+ kIslamic = 0x07
+ kJapanese = 0x08
+ kKorean = 0x09
+ kPersian = 0x0A
+ kTaiwanese = 0x0B
- 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' = 0
- revision: 'uint' = 0
+ class HourFormat(IntEnum):
+ k12hr = 0x00
+ k24hr = 0x01
class Attributes:
@dataclass
- class DeviceList(ClusterAttributeDescriptor):
+ class HourFormat(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001D
+ return 0x002C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5401,15 +4958,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[Descriptor.Structs.DeviceType])
+ return ClusterObjectFieldDescriptor(Type=TimeFormatLocalization.Enums.HourFormat)
- value: 'typing.List[Descriptor.Structs.DeviceType]' = field(default_factory=lambda: [])
+ value: 'TimeFormatLocalization.Enums.HourFormat' = 0
@dataclass
- class ServerList(ClusterAttributeDescriptor):
+ class ActiveCalendarType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001D
+ return 0x002C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5417,15 +4974,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[TimeFormatLocalization.Enums.CalendarType])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[TimeFormatLocalization.Enums.CalendarType]' = None
@dataclass
- class ClientList(ClusterAttributeDescriptor):
+ class SupportedCalendarTypes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001D
+ return 0x002C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5433,31 +4990,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class PartsList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarType]])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarType]]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001D
+ return 0x002C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5473,7 +5014,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001D
+ return 0x002C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5489,7 +5030,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001D
+ return 0x002C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5505,7 +5046,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001D
+ return 0x002C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5521,7 +5062,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001D
+ return 0x002C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5536,14 +5077,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class Binding(Cluster):
- id: typing.ClassVar[int] = 0x001E
+class UnitLocalization(Cluster):
+ id: typing.ClassVar[int] = 0x002D
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="binding", Tag=0x00000000, Type=typing.List[Binding.Structs.TargetStruct]),
+ ClusterObjectFieldDescriptor(Label="temperatureUnit", Tag=0x00000000, Type=typing.Optional[UnitLocalization.Enums.TempUnit]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -5551,43 +5092,28 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- binding: 'typing.List[Binding.Structs.TargetStruct]' = None
+ temperatureUnit: 'typing.Optional[UnitLocalization.Enums.TempUnit]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
-
- class Structs:
- @dataclass
- class TargetStruct(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="node", Tag=1, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="group", Tag=2, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="endpoint", Tag=3, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="cluster", Tag=4, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
- ])
-
- node: 'typing.Optional[uint]' = None
- group: 'typing.Optional[uint]' = None
- endpoint: 'typing.Optional[uint]' = None
- cluster: 'typing.Optional[uint]' = None
- fabricIndex: 'uint' = 0
+ class Enums:
+ class TempUnit(IntEnum):
+ kFahrenheit = 0x00
+ kCelsius = 0x01
+ kKelvin = 0x02
class Attributes:
@dataclass
- class Binding(ClusterAttributeDescriptor):
+ class TemperatureUnit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001E
+ return 0x002D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5595,15 +5121,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[Binding.Structs.TargetStruct])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[UnitLocalization.Enums.TempUnit])
- value: 'typing.List[Binding.Structs.TargetStruct]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[UnitLocalization.Enums.TempUnit]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001E
+ return 0x002D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5619,7 +5145,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001E
+ return 0x002D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5635,7 +5161,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001E
+ return 0x002D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5651,7 +5177,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001E
+ return 0x002D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5667,7 +5193,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001E
+ return 0x002D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5682,18 +5208,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class AccessControl(Cluster):
- id: typing.ClassVar[int] = 0x001F
+class PowerSourceConfiguration(Cluster):
+ id: typing.ClassVar[int] = 0x002E
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="acl", Tag=0x00000000, Type=typing.List[AccessControl.Structs.AccessControlEntry]),
- ClusterObjectFieldDescriptor(Label="extension", Tag=0x00000001, Type=typing.Optional[typing.List[AccessControl.Structs.ExtensionEntry]]),
- ClusterObjectFieldDescriptor(Label="subjectsPerAccessControlEntry", Tag=0x00000002, Type=uint),
- ClusterObjectFieldDescriptor(Label="targetsPerAccessControlEntry", Tag=0x00000003, Type=uint),
- ClusterObjectFieldDescriptor(Label="accessControlEntriesPerFabric", Tag=0x00000004, Type=uint),
+ ClusterObjectFieldDescriptor(Label="sources", Tag=0x00000000, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -5701,93 +5223,22 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- acl: 'typing.List[AccessControl.Structs.AccessControlEntry]' = None
- extension: 'typing.Optional[typing.List[AccessControl.Structs.ExtensionEntry]]' = None
- subjectsPerAccessControlEntry: 'uint' = None
- targetsPerAccessControlEntry: 'uint' = None
- accessControlEntriesPerFabric: 'uint' = None
+ sources: 'typing.List[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
- class Enums:
- class AuthMode(IntEnum):
- kPase = 0x01
- kCase = 0x02
- kGroup = 0x03
-
- class ChangeTypeEnum(IntEnum):
- kChanged = 0x00
- kAdded = 0x01
- kRemoved = 0x02
-
- class Privilege(IntEnum):
- kView = 0x01
- kProxyView = 0x02
- kOperate = 0x03
- kManage = 0x04
- kAdminister = 0x05
-
-
- class Structs:
- @dataclass
- class Target(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="cluster", Tag=0, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="endpoint", Tag=1, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="deviceType", Tag=2, Type=typing.Union[Nullable, uint]),
- ])
-
- cluster: 'typing.Union[Nullable, uint]' = NullValue
- endpoint: 'typing.Union[Nullable, uint]' = NullValue
- deviceType: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class AccessControlEntry(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="privilege", Tag=1, Type=AccessControl.Enums.Privilege),
- ClusterObjectFieldDescriptor(Label="authMode", Tag=2, Type=AccessControl.Enums.AuthMode),
- ClusterObjectFieldDescriptor(Label="subjects", Tag=3, Type=typing.Union[Nullable, typing.List[uint]]),
- ClusterObjectFieldDescriptor(Label="targets", Tag=4, Type=typing.Union[Nullable, typing.List[AccessControl.Structs.Target]]),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
- ])
-
- privilege: 'AccessControl.Enums.Privilege' = 0
- authMode: 'AccessControl.Enums.AuthMode' = 0
- subjects: 'typing.Union[Nullable, typing.List[uint]]' = NullValue
- targets: 'typing.Union[Nullable, typing.List[AccessControl.Structs.Target]]' = NullValue
- fabricIndex: 'uint' = 0
-
- @dataclass
- class ExtensionEntry(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=bytes),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
- ])
-
- data: 'bytes' = b""
- fabricIndex: 'uint' = 0
-
class Attributes:
@dataclass
- class Acl(ClusterAttributeDescriptor):
+ class Sources(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001F
+ return 0x002E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5795,79 +5246,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[AccessControl.Structs.AccessControlEntry])
-
- value: 'typing.List[AccessControl.Structs.AccessControlEntry]' = field(default_factory=lambda: [])
-
- @dataclass
- class Extension(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[AccessControl.Structs.ExtensionEntry]])
-
- value: 'typing.Optional[typing.List[AccessControl.Structs.ExtensionEntry]]' = None
-
- @dataclass
- class SubjectsPerAccessControlEntry(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class TargetsPerAccessControlEntry(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class AccessControlEntriesPerFabric(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'uint' = 0
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001F
+ return 0x002E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5883,7 +5270,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001F
+ return 0x002E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5899,7 +5286,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001F
+ return 0x002E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5915,7 +5302,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001F
+ return 0x002E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5931,7 +5318,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x001F
+ return 0x002E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -5944,77 +5331,46 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
- class Events:
- @dataclass
- class AccessControlEntryChanged(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001F
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="adminNodeID", Tag=1, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="adminPasscodeID", Tag=2, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="changeType", Tag=3, Type=AccessControl.Enums.ChangeTypeEnum),
- ClusterObjectFieldDescriptor(Label="latestValue", Tag=4, Type=typing.Union[Nullable, AccessControl.Structs.AccessControlEntry]),
- ClusterObjectFieldDescriptor(Label="adminFabricIndex", Tag=254, Type=uint),
- ])
-
- adminNodeID: 'typing.Union[Nullable, uint]' = NullValue
- adminPasscodeID: 'typing.Union[Nullable, uint]' = NullValue
- changeType: 'AccessControl.Enums.ChangeTypeEnum' = 0
- latestValue: 'typing.Union[Nullable, AccessControl.Structs.AccessControlEntry]' = NullValue
- adminFabricIndex: 'uint' = 0
-
- @dataclass
- class AccessControlExtensionChanged(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x001F
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="adminNodeID", Tag=1, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="adminPasscodeID", Tag=2, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="changeType", Tag=3, Type=AccessControl.Enums.ChangeTypeEnum),
- ClusterObjectFieldDescriptor(Label="latestValue", Tag=4, Type=typing.Union[Nullable, AccessControl.Structs.ExtensionEntry]),
- ClusterObjectFieldDescriptor(Label="adminFabricIndex", Tag=254, Type=uint),
- ])
-
- adminNodeID: 'typing.Union[Nullable, uint]' = NullValue
- adminPasscodeID: 'typing.Union[Nullable, uint]' = NullValue
- changeType: 'AccessControl.Enums.ChangeTypeEnum' = 0
- latestValue: 'typing.Union[Nullable, AccessControl.Structs.ExtensionEntry]' = NullValue
- adminFabricIndex: 'uint' = 0
-
@dataclass
-class PollControl(Cluster):
- id: typing.ClassVar[int] = 0x0020
+class PowerSource(Cluster):
+ id: typing.ClassVar[int] = 0x002F
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="checkInInterval", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="longPollInterval", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="shortPollInterval", Tag=0x00000002, Type=uint),
- ClusterObjectFieldDescriptor(Label="fastPollTimeout", Tag=0x00000003, Type=uint),
- ClusterObjectFieldDescriptor(Label="checkInIntervalMin", Tag=0x00000004, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="longPollIntervalMin", Tag=0x00000005, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="fastPollTimeoutMax", Tag=0x00000006, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="status", Tag=0x00000000, Type=PowerSource.Enums.PowerSourceStatus),
+ ClusterObjectFieldDescriptor(Label="order", Tag=0x00000001, Type=uint),
+ ClusterObjectFieldDescriptor(Label="description", Tag=0x00000002, Type=str),
+ ClusterObjectFieldDescriptor(Label="wiredAssessedInputVoltage", Tag=0x00000003, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="wiredAssessedInputFrequency", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="wiredCurrentType", Tag=0x00000005, Type=typing.Optional[PowerSource.Enums.WiredCurrentType]),
+ ClusterObjectFieldDescriptor(Label="wiredAssessedCurrent", Tag=0x00000006, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="wiredNominalVoltage", Tag=0x00000007, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="wiredMaximumCurrent", Tag=0x00000008, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="wiredPresent", Tag=0x00000009, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="activeWiredFaults", Tag=0x0000000A, Type=typing.Optional[typing.List[PowerSource.Enums.WiredFault]]),
+ ClusterObjectFieldDescriptor(Label="batVoltage", Tag=0x0000000B, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="batPercentRemaining", Tag=0x0000000C, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="batTimeRemaining", Tag=0x0000000D, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="batChargeLevel", Tag=0x0000000E, Type=typing.Optional[PowerSource.Enums.BatChargeLevel]),
+ ClusterObjectFieldDescriptor(Label="batReplacementNeeded", Tag=0x0000000F, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="batReplaceability", Tag=0x00000010, Type=typing.Optional[PowerSource.Enums.BatReplaceability]),
+ ClusterObjectFieldDescriptor(Label="batPresent", Tag=0x00000011, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="activeBatFaults", Tag=0x00000012, Type=typing.Optional[typing.List[PowerSource.Enums.BatFault]]),
+ ClusterObjectFieldDescriptor(Label="batReplacementDescription", Tag=0x00000013, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="batCommonDesignation", Tag=0x00000014, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="batANSIDesignation", Tag=0x00000015, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="batIECDesignation", Tag=0x00000016, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="batApprovedChemistry", Tag=0x00000017, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="batCapacity", Tag=0x00000018, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="batQuantity", Tag=0x00000019, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="batChargeState", Tag=0x0000001A, Type=typing.Optional[PowerSource.Enums.BatChargeState]),
+ ClusterObjectFieldDescriptor(Label="batTimeToFullCharge", Tag=0x0000001B, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="batFunctionalWhileCharging", Tag=0x0000001C, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="batChargingCurrent", Tag=0x0000001D, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="activeBatChargeFaults", Tag=0x0000001E, Type=typing.Optional[typing.List[PowerSource.Enums.BatChargeFault]]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -6022,102 +5378,144 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- checkInInterval: 'uint' = None
- longPollInterval: 'uint' = None
- shortPollInterval: 'uint' = None
- fastPollTimeout: 'uint' = None
- checkInIntervalMin: 'typing.Optional[uint]' = None
- longPollIntervalMin: 'typing.Optional[uint]' = None
- fastPollTimeoutMax: 'typing.Optional[uint]' = None
+ status: 'PowerSource.Enums.PowerSourceStatus' = None
+ order: 'uint' = None
+ description: 'str' = None
+ wiredAssessedInputVoltage: 'typing.Union[None, Nullable, uint]' = None
+ wiredAssessedInputFrequency: 'typing.Union[None, Nullable, uint]' = None
+ wiredCurrentType: 'typing.Optional[PowerSource.Enums.WiredCurrentType]' = None
+ wiredAssessedCurrent: 'typing.Union[None, Nullable, uint]' = None
+ wiredNominalVoltage: 'typing.Optional[uint]' = None
+ wiredMaximumCurrent: 'typing.Optional[uint]' = None
+ wiredPresent: 'typing.Optional[bool]' = None
+ activeWiredFaults: 'typing.Optional[typing.List[PowerSource.Enums.WiredFault]]' = None
+ batVoltage: 'typing.Union[None, Nullable, uint]' = None
+ batPercentRemaining: 'typing.Union[None, Nullable, uint]' = None
+ batTimeRemaining: 'typing.Union[None, Nullable, uint]' = None
+ batChargeLevel: 'typing.Optional[PowerSource.Enums.BatChargeLevel]' = None
+ batReplacementNeeded: 'typing.Optional[bool]' = None
+ batReplaceability: 'typing.Optional[PowerSource.Enums.BatReplaceability]' = None
+ batPresent: 'typing.Optional[bool]' = None
+ activeBatFaults: 'typing.Optional[typing.List[PowerSource.Enums.BatFault]]' = None
+ batReplacementDescription: 'typing.Optional[str]' = None
+ batCommonDesignation: 'typing.Optional[uint]' = None
+ batANSIDesignation: 'typing.Optional[str]' = None
+ batIECDesignation: 'typing.Optional[str]' = None
+ batApprovedChemistry: 'typing.Optional[uint]' = None
+ batCapacity: 'typing.Optional[uint]' = None
+ batQuantity: 'typing.Optional[uint]' = None
+ batChargeState: 'typing.Optional[PowerSource.Enums.BatChargeState]' = None
+ batTimeToFullCharge: 'typing.Union[None, Nullable, uint]' = None
+ batFunctionalWhileCharging: 'typing.Optional[bool]' = None
+ batChargingCurrent: 'typing.Union[None, Nullable, uint]' = None
+ activeBatChargeFaults: 'typing.Optional[typing.List[PowerSource.Enums.BatChargeFault]]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class BatChargeFault(IntEnum):
+ kUnspecfied = 0x00
+ kAmbientTooHot = 0x01
+ kAmbientTooCold = 0x02
+ kBatteryTooHot = 0x03
+ kBatteryTooCold = 0x04
+ kBatteryAbsent = 0x05
+ kBatteryOverVoltage = 0x06
+ kBatteryUnderVoltage = 0x07
+ kChargerOverVoltage = 0x08
+ kChargerUnderVoltage = 0x09
+ kSafetyTimeout = 0x0A
+
+ class BatChargeLevel(IntEnum):
+ kOk = 0x00
+ kWarning = 0x01
+ kCritical = 0x02
+ class BatChargeState(IntEnum):
+ kUnknown = 0x00
+ kIsCharging = 0x01
+ kIsAtFullCharge = 0x02
+ kIsNotCharging = 0x03
- class Commands:
- @dataclass
- class CheckIn(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0020
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = False
+ class BatFault(IntEnum):
+ kUnspecfied = 0x00
+ kOverTemp = 0x01
+ kUnderTemp = 0x02
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ class BatReplaceability(IntEnum):
+ kUnspecified = 0x00
+ kNotReplaceable = 0x01
+ kUserReplaceable = 0x02
+ kFactoryReplaceable = 0x03
+ class PowerSourceStatus(IntEnum):
+ kUnspecfied = 0x00
+ kActive = 0x01
+ kStandby = 0x02
+ kUnavailable = 0x03
- @dataclass
- class CheckInResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0020
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
+ class WiredCurrentType(IntEnum):
+ kAc = 0x00
+ kDc = 0x01
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="startFastPolling", Tag=0, Type=bool),
- ClusterObjectFieldDescriptor(Label="fastPollTimeout", Tag=1, Type=uint),
- ])
+ class WiredFault(IntEnum):
+ kUnspecfied = 0x00
+ kOverVoltage = 0x01
+ kUnderVoltage = 0x02
- startFastPolling: 'bool' = False
- fastPollTimeout: 'uint' = 0
+ class Structs:
@dataclass
- class FastPollStop(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0020
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
-
+ class BatChargeFaultChangeType(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
+ ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatChargeFault]),
+ ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatChargeFault]),
])
+ current: 'typing.List[PowerSource.Enums.BatChargeFault]' = field(default_factory=lambda: [])
+ previous: 'typing.List[PowerSource.Enums.BatChargeFault]' = field(default_factory=lambda: [])
@dataclass
- class SetLongPollInterval(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0020
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
-
+ class BatFaultChangeType(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="newLongPollInterval", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatFault]),
+ ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatFault]),
])
- newLongPollInterval: 'uint' = 0
+ current: 'typing.List[PowerSource.Enums.BatFault]' = field(default_factory=lambda: [])
+ previous: 'typing.List[PowerSource.Enums.BatFault]' = field(default_factory=lambda: [])
@dataclass
- class SetShortPollInterval(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0020
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
-
+ class WiredFaultChangeType(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="newShortPollInterval", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.WiredFault]),
+ ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.WiredFault]),
])
- newShortPollInterval: 'uint' = 0
+ current: 'typing.List[PowerSource.Enums.WiredFault]' = field(default_factory=lambda: [])
+ previous: 'typing.List[PowerSource.Enums.WiredFault]' = field(default_factory=lambda: [])
+
+
class Attributes:
@dataclass
- class CheckInInterval(ClusterAttributeDescriptor):
+ class Status(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6125,15 +5523,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=PowerSource.Enums.PowerSourceStatus)
- value: 'uint' = 0
+ value: 'PowerSource.Enums.PowerSourceStatus' = 0
@dataclass
- class LongPollInterval(ClusterAttributeDescriptor):
+ class Order(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6146,10 +5544,10 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class ShortPollInterval(ClusterAttributeDescriptor):
+ class Description(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6157,15 +5555,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=str)
- value: 'uint' = 0
+ value: 'str' = ""
@dataclass
- class FastPollTimeout(ClusterAttributeDescriptor):
+ class WiredAssessedInputVoltage(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6173,15 +5571,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class CheckInIntervalMin(ClusterAttributeDescriptor):
+ class WiredAssessedInputFrequency(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6189,15 +5587,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class LongPollIntervalMin(ClusterAttributeDescriptor):
+ class WiredCurrentType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6205,20 +5603,36 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.WiredCurrentType])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Optional[PowerSource.Enums.WiredCurrentType]' = None
@dataclass
- class FastPollTimeoutMax(ClusterAttributeDescriptor):
+ class WiredAssessedCurrent(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
return 0x00000006
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+
+ value: 'typing.Union[None, Nullable, uint]' = None
+
+ @dataclass
+ class WiredNominalVoltage(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000007
+
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
@@ -6226,451 +5640,378 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class WiredMaximumCurrent(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class WiredPresent(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[bool]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class ActiveWiredFaults(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[PowerSource.Enums.WiredFault]])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[typing.List[PowerSource.Enums.WiredFault]]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class BatVoltage(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x0000000B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class BatPercentRemaining(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0020
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x0000000C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, uint]' = None
+ @dataclass
+ class BatTimeRemaining(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000000D
-@dataclass
-class BridgedActions(Cluster):
- id: typing.ClassVar[int] = 0x0025
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionList", Tag=0x00000000, Type=typing.List[BridgedActions.Structs.ActionStruct]),
- ClusterObjectFieldDescriptor(Label="endpointList", Tag=0x00000001, Type=typing.List[BridgedActions.Structs.EndpointListStruct]),
- ClusterObjectFieldDescriptor(Label="setupUrl", Tag=0x00000002, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ value: 'typing.Union[None, Nullable, uint]' = None
- actionList: 'typing.List[BridgedActions.Structs.ActionStruct]' = None
- endpointList: 'typing.List[BridgedActions.Structs.EndpointListStruct]' = None
- setupUrl: 'typing.Optional[str]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class BatChargeLevel(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
- class Enums:
- class ActionErrorEnum(IntEnum):
- kUnknown = 0x00
- kInterrupted = 0x01
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000000E
- class ActionStateEnum(IntEnum):
- kInactive = 0x00
- kActive = 0x01
- kPaused = 0x02
- kDisabled = 0x03
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.BatChargeLevel])
- class ActionTypeEnum(IntEnum):
- kOther = 0x00
- kScene = 0x01
- kSequence = 0x02
- kAutomation = 0x03
- kException = 0x04
- kNotification = 0x05
- kAlarm = 0x06
+ value: 'typing.Optional[PowerSource.Enums.BatChargeLevel]' = None
- class EndpointListTypeEnum(IntEnum):
- kOther = 0x00
- kRoom = 0x01
- kZone = 0x02
+ @dataclass
+ class BatReplacementNeeded(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000000F
- 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.ActionStateEnum),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
- actionID: 'uint' = 0
- name: 'str' = ""
- type: 'BridgedActions.Enums.ActionTypeEnum' = 0
- endpointListID: 'uint' = 0
- supportedCommands: 'uint' = 0
- status: 'BridgedActions.Enums.ActionStateEnum' = 0
+ value: 'typing.Optional[bool]' = None
@dataclass
- class EndpointListStruct(ClusterObject):
+ class BatReplaceability(ClusterAttributeDescriptor):
@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=typing.List[uint]),
- ])
+ def cluster_id(cls) -> int:
+ return 0x002F
- endpointListID: 'uint' = 0
- name: 'str' = ""
- type: 'BridgedActions.Enums.EndpointListTypeEnum' = 0
- endpoints: 'typing.List[uint]' = field(default_factory=lambda: [])
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000010
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.BatReplaceability])
+ value: 'typing.Optional[PowerSource.Enums.BatReplaceability]' = 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
+ class BatPresent(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000011
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
+
+ value: 'typing.Optional[bool]' = None
@dataclass
- class InstantActionWithTransition(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0025
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
+ class ActiveBatFaults(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000012
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
- transitionTime: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[PowerSource.Enums.BatFault]])
+
+ value: 'typing.Optional[typing.List[PowerSource.Enums.BatFault]]' = None
@dataclass
- class StartAction(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0025
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
+ class BatReplacementDescription(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000013
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+
+ value: 'typing.Optional[str]' = None
@dataclass
- class StartActionWithDuration(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0025
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
+ class BatCommonDesignation(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000014
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
- duration: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
- class StopAction(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0025
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
+ class BatANSIDesignation(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000015
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+
+ value: 'typing.Optional[str]' = None
@dataclass
- class PauseAction(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0025
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = True
+ class BatIECDesignation(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000016
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+
+ value: 'typing.Optional[str]' = None
@dataclass
- class PauseActionWithDuration(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0025
- command_id: typing.ClassVar[int] = 0x0006
- is_client: typing.ClassVar[bool] = True
-
+ class BatApprovedChemistry(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint),
- ])
-
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
- duration: 'uint' = 0
+ def cluster_id(cls) -> int:
+ return 0x002F
- @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 attribute_id(cls) -> int:
+ return 0x00000017
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class EnableAction(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0025
- command_id: typing.ClassVar[int] = 0x0008
- is_client: typing.ClassVar[bool] = True
+ class BatCapacity(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000018
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
- class EnableActionWithDuration(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0025
- command_id: typing.ClassVar[int] = 0x0009
- is_client: typing.ClassVar[bool] = True
+ class BatQuantity(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000019
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
- duration: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
- class DisableAction(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0025
- command_id: typing.ClassVar[int] = 0x000A
- is_client: typing.ClassVar[bool] = True
+ class BatChargeState(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ])
+ def attribute_id(cls) -> int:
+ return 0x0000001A
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.BatChargeState])
+
+ value: 'typing.Optional[PowerSource.Enums.BatChargeState]' = None
@dataclass
- class DisableActionWithDuration(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0025
- command_id: typing.ClassVar[int] = 0x000B
- is_client: typing.ClassVar[bool] = True
+ class BatTimeToFullCharge(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x002F
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="duration", Tag=2, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x0000001B
- actionID: 'uint' = 0
- invokeID: 'typing.Optional[uint]' = None
- duration: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ value: 'typing.Union[None, Nullable, uint]' = None
- class Attributes:
@dataclass
- class ActionList(ClusterAttributeDescriptor):
+ class BatFunctionalWhileCharging(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0025
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x0000001C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[BridgedActions.Structs.ActionStruct])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
- value: 'typing.List[BridgedActions.Structs.ActionStruct]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[bool]' = None
@dataclass
- class EndpointList(ClusterAttributeDescriptor):
+ class BatChargingCurrent(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0025
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x0000001D
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[BridgedActions.Structs.EndpointListStruct])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[BridgedActions.Structs.EndpointListStruct]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class SetupUrl(ClusterAttributeDescriptor):
+ class ActiveBatChargeFaults(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0025
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000001E
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[PowerSource.Enums.BatChargeFault]])
- value: 'typing.Optional[str]' = None
+ value: 'typing.Optional[typing.List[PowerSource.Enums.BatChargeFault]]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0025
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6686,7 +6027,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0025
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6702,7 +6043,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0025
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6718,7 +6059,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0025
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6734,7 +6075,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0025
+ return 0x002F
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6747,155 +6088,176 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
- class Events:
- @dataclass
- class StateChanged(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0025
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
+@dataclass
+class GeneralCommissioning(Cluster):
+ id: typing.ClassVar[int] = 0x0030
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="basicCommissioningInfo", Tag=0x00000001, Type=GeneralCommissioning.Structs.BasicCommissioningInfo),
+ ClusterObjectFieldDescriptor(Label="regulatoryConfig", Tag=0x00000002, Type=GeneralCommissioning.Enums.RegulatoryLocationType),
+ ClusterObjectFieldDescriptor(Label="locationCapability", Tag=0x00000003, Type=GeneralCommissioning.Enums.RegulatoryLocationType),
+ ClusterObjectFieldDescriptor(Label="supportsConcurrentConnection", Tag=0x00000004, Type=bool),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ breadcrumb: 'uint' = None
+ basicCommissioningInfo: 'GeneralCommissioning.Structs.BasicCommissioningInfo' = None
+ regulatoryConfig: 'GeneralCommissioning.Enums.RegulatoryLocationType' = None
+ locationCapability: 'GeneralCommissioning.Enums.RegulatoryLocationType' = None
+ supportsConcurrentConnection: 'bool' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+
+ class Enums:
+ class CommissioningError(IntEnum):
+ kOk = 0x00
+ kValueOutsideRange = 0x01
+ kInvalidAuthentication = 0x02
+ kNoFailSafe = 0x03
+ kBusyWithOtherAdmin = 0x04
+
+ class RegulatoryLocationType(IntEnum):
+ kIndoor = 0x00
+ kOutdoor = 0x01
+ kIndoorOutdoor = 0x02
+
+ class Structs:
+ @dataclass
+ class BasicCommissioningInfo(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=BridgedActions.Enums.ActionStateEnum),
+ ClusterObjectFieldDescriptor(Label="failSafeExpiryLengthSeconds", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="maxCumulativeFailsafeSeconds", Tag=1, Type=uint),
])
- actionID: 'uint' = 0
- invokeID: 'uint' = 0
- newState: 'BridgedActions.Enums.ActionStateEnum' = 0
+ failSafeExpiryLengthSeconds: 'uint' = 0
+ maxCumulativeFailsafeSeconds: 'uint' = 0
- @dataclass
- class ActionFailed(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0025
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000001
+
+ 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="actionID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="invokeID", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="newState", Tag=2, Type=BridgedActions.Enums.ActionStateEnum),
- ClusterObjectFieldDescriptor(Label="error", Tag=3, Type=BridgedActions.Enums.ActionErrorEnum),
+ ClusterObjectFieldDescriptor(Label="expiryLengthSeconds", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint),
])
- actionID: 'uint' = 0
- invokeID: 'uint' = 0
- newState: 'BridgedActions.Enums.ActionStateEnum' = 0
- error: 'BridgedActions.Enums.ActionErrorEnum' = 0
+ expiryLengthSeconds: 'uint' = 0
+ breadcrumb: 'uint' = 0
+ @dataclass
+ class ArmFailSafeResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0030
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = False
-@dataclass
-class Basic(Cluster):
- id: typing.ClassVar[int] = 0x0028
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningError),
+ ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str),
+ ])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="dataModelRevision", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000001, Type=str),
- ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000002, Type=uint),
- ClusterObjectFieldDescriptor(Label="productName", Tag=0x00000003, Type=str),
- ClusterObjectFieldDescriptor(Label="productID", Tag=0x00000004, Type=uint),
- ClusterObjectFieldDescriptor(Label="nodeLabel", Tag=0x00000005, Type=str),
- ClusterObjectFieldDescriptor(Label="location", Tag=0x00000006, Type=str),
- ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=0x00000007, Type=uint),
- ClusterObjectFieldDescriptor(Label="hardwareVersionString", Tag=0x00000008, Type=str),
- ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0x00000009, Type=uint),
- ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=0x0000000A, Type=str),
- ClusterObjectFieldDescriptor(Label="manufacturingDate", Tag=0x0000000B, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="partNumber", Tag=0x0000000C, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="productURL", Tag=0x0000000D, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="productLabel", Tag=0x0000000E, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="serialNumber", Tag=0x0000000F, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="localConfigDisabled", Tag=0x00000010, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="reachable", Tag=0x00000011, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="uniqueID", Tag=0x00000012, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="capabilityMinima", Tag=0x00000013, Type=Basic.Structs.CapabilityMinimaStruct),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ errorCode: 'GeneralCommissioning.Enums.CommissioningError' = 0
+ debugText: 'str' = ""
- dataModelRevision: 'uint' = None
- vendorName: 'str' = None
- vendorID: 'uint' = None
- productName: 'str' = None
- productID: 'uint' = None
- nodeLabel: 'str' = None
- location: 'str' = None
- hardwareVersion: 'uint' = None
- hardwareVersionString: 'str' = None
- softwareVersion: 'uint' = None
- softwareVersionString: 'str' = None
- manufacturingDate: 'typing.Optional[str]' = None
- partNumber: 'typing.Optional[str]' = None
- productURL: 'typing.Optional[str]' = None
- productLabel: 'typing.Optional[str]' = None
- serialNumber: 'typing.Optional[str]' = None
- localConfigDisabled: 'typing.Optional[bool]' = None
- reachable: 'typing.Optional[bool]' = None
- uniqueID: 'typing.Optional[str]' = None
- capabilityMinima: 'Basic.Structs.CapabilityMinimaStruct' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = 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="newRegulatoryConfig", Tag=0, Type=GeneralCommissioning.Enums.RegulatoryLocationType),
+ ClusterObjectFieldDescriptor(Label="countryCode", Tag=1, Type=str),
+ ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=uint),
+ ])
+
+ newRegulatoryConfig: 'GeneralCommissioning.Enums.RegulatoryLocationType' = 0
+ countryCode: 'str' = ""
+ breadcrumb: 'uint' = 0
- class Structs:
@dataclass
- class CapabilityMinimaStruct(ClusterObject):
+ 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="caseSessionsPerFabric", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="subscriptionsPerFabric", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningError),
+ ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str),
])
- caseSessionsPerFabric: 'uint' = 0
- subscriptionsPerFabric: 'uint' = 0
+ errorCode: 'GeneralCommissioning.Enums.CommissioningError' = 0
+ debugText: 'str' = ""
+
+ @dataclass
+ class CommissioningComplete(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0030
+ command_id: typing.ClassVar[int] = 0x0004
+ is_client: typing.ClassVar[bool] = True
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- class Commands:
@dataclass
- class MfgSpecificPing(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0028
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
+ 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.CommissioningError),
+ ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str),
])
+ errorCode: 'GeneralCommissioning.Enums.CommissioningError' = 0
+ debugText: 'str' = ""
class Attributes:
@dataclass
- class DataModelRevision(ClusterAttributeDescriptor):
+ class Breadcrumb(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0030
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6908,10 +6270,10 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class VendorName(ClusterAttributeDescriptor):
+ class BasicCommissioningInfo(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0030
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6919,15 +6281,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+ return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Structs.BasicCommissioningInfo)
- value: 'str' = ""
+ value: 'GeneralCommissioning.Structs.BasicCommissioningInfo' = field(default_factory=lambda: GeneralCommissioning.Structs.BasicCommissioningInfo())
@dataclass
- class VendorID(ClusterAttributeDescriptor):
+ class RegulatoryConfig(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0030
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6935,15 +6297,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Enums.RegulatoryLocationType)
- value: 'uint' = 0
+ value: 'GeneralCommissioning.Enums.RegulatoryLocationType' = 0
@dataclass
- class ProductName(ClusterAttributeDescriptor):
+ class LocationCapability(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0030
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6951,15 +6313,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+ return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Enums.RegulatoryLocationType)
- value: 'str' = ""
+ value: 'GeneralCommissioning.Enums.RegulatoryLocationType' = 0
@dataclass
- class ProductID(ClusterAttributeDescriptor):
+ class SupportsConcurrentConnection(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0030
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -6967,83 +6329,83 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=bool)
- value: 'uint' = 0
+ value: 'bool' = False
@dataclass
- class NodeLabel(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0030
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000005
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'str' = ""
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Location(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0030
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000006
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'str' = ""
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class HardwareVersion(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0030
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000007
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'uint' = 0
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class HardwareVersionString(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0030
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000008
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'str' = ""
+ value: 'uint' = 0
@dataclass
- class SoftwareVersion(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0030
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000009
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -7051,324 +6413,512 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
- @dataclass
- class SoftwareVersionString(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0028
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000A
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+@dataclass
+class NetworkCommissioning(Cluster):
+ id: typing.ClassVar[int] = 0x0031
- value: 'str' = ""
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="maxNetworks", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="networks", Tag=0x00000001, Type=typing.List[NetworkCommissioning.Structs.NetworkInfo]),
+ ClusterObjectFieldDescriptor(Label="scanMaxTimeSeconds", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="connectMaxTimeSeconds", Tag=0x00000003, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="interfaceEnabled", Tag=0x00000004, Type=bool),
+ ClusterObjectFieldDescriptor(Label="lastNetworkingStatus", Tag=0x00000005, Type=typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus]),
+ ClusterObjectFieldDescriptor(Label="lastNetworkID", Tag=0x00000006, Type=typing.Union[Nullable, bytes]),
+ ClusterObjectFieldDescriptor(Label="lastConnectErrorValue", Tag=0x00000007, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
- @dataclass
- class ManufacturingDate(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0028
+ maxNetworks: 'uint' = None
+ networks: 'typing.List[NetworkCommissioning.Structs.NetworkInfo]' = None
+ scanMaxTimeSeconds: 'typing.Optional[uint]' = None
+ connectMaxTimeSeconds: 'typing.Optional[uint]' = None
+ interfaceEnabled: 'bool' = None
+ lastNetworkingStatus: 'typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus]' = None
+ lastNetworkID: 'typing.Union[Nullable, bytes]' = None
+ lastConnectErrorValue: 'typing.Union[Nullable, int]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000B
+ class Enums:
+ class NetworkCommissioningStatus(IntEnum):
+ kSuccess = 0x00
+ kOutOfRange = 0x01
+ kBoundsExceeded = 0x02
+ kNetworkIDNotFound = 0x03
+ kDuplicateNetworkID = 0x04
+ kNetworkNotFound = 0x05
+ kRegulatoryError = 0x06
+ kAuthFailure = 0x07
+ kUnsupportedSecurity = 0x08
+ kOtherConnectionFailure = 0x09
+ kIPV6Failed = 0x0A
+ kIPBindFailed = 0x0B
+ kUnknownError = 0x0C
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ class WiFiBand(IntEnum):
+ k2g4 = 0x00
+ k3g65 = 0x01
+ k5g = 0x02
+ k6g = 0x03
+ k60g = 0x04
- value: 'typing.Optional[str]' = None
+ class Structs:
@dataclass
- class PartNumber(ClusterAttributeDescriptor):
+ class NetworkInfo(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0028
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="connected", Tag=1, Type=bool),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000C
+ networkID: 'bytes' = b""
+ connected: 'bool' = False
+ @dataclass
+ class ThreadInterfaceScanResult(ClusterObject):
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="panId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="extendedPanId", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="networkName", Tag=2, Type=str),
+ ClusterObjectFieldDescriptor(Label="channel", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="version", Tag=4, Type=uint),
+ ClusterObjectFieldDescriptor(Label="extendedAddress", Tag=5, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="rssi", Tag=6, Type=int),
+ ClusterObjectFieldDescriptor(Label="lqi", Tag=7, Type=uint),
+ ])
- value: 'typing.Optional[str]' = None
+ panId: 'uint' = 0
+ extendedPanId: 'uint' = 0
+ networkName: 'str' = ""
+ channel: 'uint' = 0
+ version: 'uint' = 0
+ extendedAddress: 'bytes' = b""
+ rssi: 'int' = 0
+ lqi: 'uint' = 0
@dataclass
- class ProductURL(ClusterAttributeDescriptor):
+ class WiFiInterfaceScanResult(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0028
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="security", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="ssid", Tag=1, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="bssid", Tag=2, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="channel", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="wiFiBand", Tag=4, Type=NetworkCommissioning.Enums.WiFiBand),
+ ClusterObjectFieldDescriptor(Label="rssi", Tag=5, Type=int),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000D
+ security: 'uint' = 0
+ ssid: 'bytes' = b""
+ bssid: 'bytes' = b""
+ channel: 'uint' = 0
+ wiFiBand: 'NetworkCommissioning.Enums.WiFiBand' = 0
+ rssi: 'int' = 0
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.Optional[str]' = None
+ class Commands:
@dataclass
- class ProductLabel(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0028
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000E
+ class ScanNetworks(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0031
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=typing.Union[None, Nullable, bytes]),
+ ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]),
+ ])
- value: 'typing.Optional[str]' = None
+ ssid: 'typing.Union[None, Nullable, bytes]' = None
+ breadcrumb: 'typing.Optional[uint]' = None
@dataclass
- class SerialNumber(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0028
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000F
+ class ScanNetworksResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0031
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus),
+ ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="wiFiScanResults", Tag=2, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResult]]),
+ ClusterObjectFieldDescriptor(Label="threadScanResults", Tag=3, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResult]]),
+ ])
- value: 'typing.Optional[str]' = None
+ networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0
+ debugText: 'typing.Optional[str]' = None
+ wiFiScanResults: 'typing.Optional[typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResult]]' = None
+ threadScanResults: 'typing.Optional[typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResult]]' = None
@dataclass
- class LocalConfigDisabled(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0028
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000010
+ class AddOrUpdateWiFiNetwork(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0031
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="credentials", Tag=1, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=typing.Optional[uint]),
+ ])
- value: 'typing.Optional[bool]' = None
+ ssid: 'bytes' = b""
+ credentials: 'bytes' = b""
+ breadcrumb: 'typing.Optional[uint]' = None
@dataclass
- class Reachable(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0028
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000011
+ class AddOrUpdateThreadNetwork(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0031
+ command_id: typing.ClassVar[int] = 0x0003
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="operationalDataset", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]),
+ ])
- value: 'typing.Optional[bool]' = None
+ operationalDataset: 'bytes' = b""
+ breadcrumb: 'typing.Optional[uint]' = None
@dataclass
- class UniqueID(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0028
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000012
+ class RemoveNetwork(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0031
+ command_id: typing.ClassVar[int] = 0x0004
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]),
+ ])
- value: 'typing.Optional[str]' = None
+ networkID: 'bytes' = b""
+ breadcrumb: 'typing.Optional[uint]' = None
@dataclass
- class CapabilityMinima(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0028
+ class NetworkConfigResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0031
+ command_id: typing.ClassVar[int] = 0x0005
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000013
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus),
+ ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="networkIndex", Tag=2, Type=typing.Optional[uint]),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=Basic.Structs.CapabilityMinimaStruct)
+ networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0
+ debugText: 'typing.Optional[str]' = None
+ networkIndex: 'typing.Optional[uint]' = None
- value: 'Basic.Structs.CapabilityMinimaStruct' = field(default_factory=lambda: Basic.Structs.CapabilityMinimaStruct())
+ @dataclass
+ class ConnectNetwork(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0031
+ command_id: typing.ClassVar[int] = 0x0006
+ is_client: typing.ClassVar[bool] = True
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]),
+ ])
+
+ networkID: 'bytes' = b""
+ breadcrumb: 'typing.Optional[uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class ConnectNetworkResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0031
+ command_id: typing.ClassVar[int] = 0x0007
+ is_client: typing.ClassVar[bool] = False
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus),
+ ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="errorValue", Tag=2, Type=typing.Union[Nullable, int]),
+ ])
+
+ networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0
+ debugText: 'typing.Optional[str]' = None
+ errorValue: 'typing.Union[Nullable, int]' = NullValue
+
+ @dataclass
+ class ReorderNetwork(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0031
+ command_id: typing.ClassVar[int] = 0x0008
+ is_client: typing.ClassVar[bool] = True
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="networkIndex", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=typing.Optional[uint]),
+ ])
+
+ networkID: 'bytes' = b""
+ networkIndex: 'uint' = 0
+ breadcrumb: 'typing.Optional[uint]' = None
+
+
+ class Attributes:
+ @dataclass
+ class MaxNetworks(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0031
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'uint' = 0
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class Networks(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0031
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[NetworkCommissioning.Structs.NetworkInfo])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.List[NetworkCommissioning.Structs.NetworkInfo]' = field(default_factory=lambda: [])
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class ScanMaxTimeSeconds(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0031
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class ConnectMaxTimeSeconds(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0031
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class InterfaceEnabled(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0031
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=bool)
- value: 'uint' = 0
+ value: 'bool' = False
+ @dataclass
+ class LastNetworkingStatus(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0031
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000005
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus])
+
+ value: 'typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus]' = NullValue
- class Events:
@dataclass
- class StartUp(ClusterEvent):
+ class LastNetworkID(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0031
@ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
+ def attribute_id(cls) -> int:
+ return 0x00000006
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes])
- softwareVersion: 'uint' = 0
+ value: 'typing.Union[Nullable, bytes]' = NullValue
@dataclass
- class ShutDown(ClusterEvent):
+ class LastConnectErrorValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0031
@ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000001
+ def attribute_id(cls) -> int:
+ return 0x00000007
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
+ value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
- class Leave(ClusterEvent):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0031
@ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000002
+ def attribute_id(cls) -> int:
+ return 0x0000FFF8
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ReachableChanged(ClusterEvent):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0028
+ return 0x0031
@ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000003
+ def attribute_id(cls) -> int:
+ return 0x0000FFF9
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="reachableNewValue", Tag=0, Type=bool),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class AttributeList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0031
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFFB
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class FeatureMap(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0031
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFFC
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+ @dataclass
+ class ClusterRevision(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0031
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFFD
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
- reachableNewValue: 'bool' = False
@dataclass
-class OtaSoftwareUpdateProvider(Cluster):
- id: typing.ClassVar[int] = 0x0029
+class DiagnosticLogs(Cluster):
+ id: typing.ClassVar[int] = 0x0032
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
@@ -7388,29 +6938,28 @@ def descriptor(cls) -> ClusterObjectDescriptor:
clusterRevision: 'uint' = None
class Enums:
- class OTAApplyUpdateAction(IntEnum):
- kProceed = 0x00
- kAwaitNextAction = 0x01
- kDiscontinue = 0x02
-
- class OTADownloadProtocol(IntEnum):
- kBDXSynchronous = 0x00
- kBDXAsynchronous = 0x01
- kHttps = 0x02
- kVendorSpecific = 0x03
+ class LogsIntent(IntEnum):
+ kEndUserSupport = 0x00
+ kNetworkDiag = 0x01
+ kCrashLogs = 0x02
- class OTAQueryStatus(IntEnum):
- kUpdateAvailable = 0x00
- kBusy = 0x01
- kNotAvailable = 0x02
- kDownloadProtocolNotSupported = 0x03
+ class LogsStatus(IntEnum):
+ kSuccess = 0x00
+ kExhausted = 0x01
+ kNoLogs = 0x02
+ kBusy = 0x03
+ kDenied = 0x04
+
+ class LogsTransferProtocol(IntEnum):
+ kResponsePayload = 0x00
+ kBdx = 0x01
class Commands:
@dataclass
- class QueryImage(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0029
+ class RetrieveLogsRequest(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0032
command_id: typing.ClassVar[int] = 0x0000
is_client: typing.ClassVar[bool] = True
@@ -7418,28 +6967,18 @@ class QueryImage(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="vendorId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="productId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="protocolsSupported", Tag=3, Type=typing.List[OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol]),
- ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=4, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="location", Tag=5, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="requestorCanConsent", Tag=6, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="metadataForProvider", Tag=7, Type=typing.Optional[bytes]),
+ 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),
])
- vendorId: 'uint' = 0
- productId: 'uint' = 0
- softwareVersion: 'uint' = 0
- protocolsSupported: 'typing.List[OtaSoftwareUpdateProvider.Enums.OTADownloadProtocol]' = field(default_factory=lambda: [])
- hardwareVersion: 'typing.Optional[uint]' = None
- location: 'typing.Optional[str]' = None
- requestorCanConsent: 'typing.Optional[bool]' = None
- metadataForProvider: 'typing.Optional[bytes]' = None
+ intent: 'DiagnosticLogs.Enums.LogsIntent' = 0
+ requestedProtocol: 'DiagnosticLogs.Enums.LogsTransferProtocol' = 0
+ transferFileDesignator: 'bytes' = b""
@dataclass
- class QueryImageResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0029
+ class RetrieveLogsResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0032
command_id: typing.ClassVar[int] = 0x0001
is_client: typing.ClassVar[bool] = False
@@ -7447,75 +6986,16 @@ class QueryImageResponse(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAQueryStatus),
- ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="imageURI", Tag=2, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=3, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=4, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="updateToken", Tag=5, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="userConsentNeeded", Tag=6, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="metadataForRequestor", Tag=7, Type=typing.Optional[bytes]),
- ])
-
- status: 'OtaSoftwareUpdateProvider.Enums.OTAQueryStatus' = 0
- delayedActionTime: 'typing.Optional[uint]' = None
- imageURI: 'typing.Optional[str]' = None
- softwareVersion: 'typing.Optional[uint]' = None
- softwareVersionString: 'typing.Optional[str]' = None
- updateToken: 'typing.Optional[bytes]' = None
- userConsentNeeded: 'typing.Optional[bool]' = None
- metadataForRequestor: 'typing.Optional[bytes]' = None
-
- @dataclass
- class ApplyUpdateRequest(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0029
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="updateToken", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="newVersion", Tag=1, Type=uint),
- ])
-
- updateToken: 'bytes' = b""
- newVersion: 'uint' = 0
-
- @dataclass
- class ApplyUpdateResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0029
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="action", Tag=0, Type=OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction),
- ClusterObjectFieldDescriptor(Label="delayedActionTime", Tag=1, Type=uint),
- ])
-
- action: 'OtaSoftwareUpdateProvider.Enums.OTAApplyUpdateAction' = 0
- delayedActionTime: 'uint' = 0
-
- @dataclass
- class NotifyUpdateApplied(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0029
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="updateToken", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=1, Type=uint),
+ 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),
])
- updateToken: 'bytes' = b""
- softwareVersion: 'uint' = 0
+ status: 'DiagnosticLogs.Enums.LogsStatus' = 0
+ content: 'bytes' = b""
+ timeStamp: 'uint' = 0
+ timeSinceBoot: 'uint' = 0
class Attributes:
@@ -7523,7 +7003,7 @@ class Attributes:
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0029
+ return 0x0032
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7539,7 +7019,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0029
+ return 0x0032
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7555,7 +7035,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0029
+ return 0x0032
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7571,7 +7051,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0029
+ return 0x0032
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7587,7 +7067,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0029
+ return 0x0032
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7602,17 +7082,22 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class OtaSoftwareUpdateRequestor(Cluster):
- id: typing.ClassVar[int] = 0x002A
+class GeneralDiagnostics(Cluster):
+ id: typing.ClassVar[int] = 0x0033
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="defaultOtaProviders", Tag=0x00000000, Type=typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]),
- ClusterObjectFieldDescriptor(Label="updatePossible", Tag=0x00000001, Type=bool),
- ClusterObjectFieldDescriptor(Label="updateState", Tag=0x00000002, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum),
- ClusterObjectFieldDescriptor(Label="updateStateProgress", Tag=0x00000003, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="networkInterfaces", Tag=0x00000000, Type=typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType]),
+ ClusterObjectFieldDescriptor(Label="rebootCount", Tag=0x00000001, Type=uint),
+ ClusterObjectFieldDescriptor(Label="upTime", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="totalOperationalHours", Tag=0x00000003, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="bootReasons", Tag=0x00000004, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="activeHardwareFaults", Tag=0x00000005, Type=typing.Optional[typing.List[uint]]),
+ ClusterObjectFieldDescriptor(Label="activeRadioFaults", Tag=0x00000006, Type=typing.Optional[typing.List[uint]]),
+ ClusterObjectFieldDescriptor(Label="activeNetworkFaults", Tag=0x00000007, Type=typing.Optional[typing.List[uint]]),
+ ClusterObjectFieldDescriptor(Label="testEventTriggersEnabled", Tag=0x00000008, Type=bool),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -7620,10 +7105,15 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- defaultOtaProviders: 'typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]' = None
- updatePossible: 'bool' = None
- updateState: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = None
- updateStateProgress: 'typing.Union[Nullable, uint]' = None
+ networkInterfaces: 'typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType]' = None
+ rebootCount: 'uint' = None
+ upTime: 'typing.Optional[uint]' = None
+ totalOperationalHours: 'typing.Optional[uint]' = None
+ bootReasons: 'typing.Optional[uint]' = None
+ activeHardwareFaults: 'typing.Optional[typing.List[uint]]' = None
+ activeRadioFaults: 'typing.Optional[typing.List[uint]]' = None
+ activeNetworkFaults: 'typing.Optional[typing.List[uint]]' = None
+ testEventTriggersEnabled: 'bool' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -7631,52 +7121,83 @@ def descriptor(cls) -> ClusterObjectDescriptor:
clusterRevision: 'uint' = None
class Enums:
- class OTAAnnouncementReason(IntEnum):
- kSimpleAnnouncement = 0x00
- kUpdateAvailable = 0x01
- kUrgentUpdateAvailable = 0x02
+ class BootReasonType(IntEnum):
+ kUnspecified = 0x00
+ kPowerOnReboot = 0x01
+ kBrownOutReset = 0x02
+ kSoftwareWatchdogReset = 0x03
+ kHardwareWatchdogReset = 0x04
+ kSoftwareUpdateCompleted = 0x05
+ kSoftwareReset = 0x06
- class OTAChangeReasonEnum(IntEnum):
- kUnknown = 0x00
- kSuccess = 0x01
- kFailure = 0x02
- kTimeOut = 0x03
- kDelayByProvider = 0x04
+ 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 OTAUpdateStateEnum(IntEnum):
- kUnknown = 0x00
- kIdle = 0x01
- kQuerying = 0x02
- kDelayedOnQuery = 0x03
- kDownloading = 0x04
- kApplying = 0x05
- kDelayedOnApply = 0x06
- kRollingBack = 0x07
- kDelayedOnUserConsent = 0x08
+ 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 ProviderLocation(ClusterObject):
+ class NetworkInterfaceType(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="providerNodeID", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="endpoint", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
+ ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="isOperational", Tag=1, Type=bool),
+ ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv4", Tag=2, Type=typing.Union[Nullable, bool]),
+ ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv6", Tag=3, Type=typing.Union[Nullable, bool]),
+ ClusterObjectFieldDescriptor(Label="hardwareAddress", Tag=4, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="IPv4Addresses", Tag=5, Type=typing.List[bytes]),
+ ClusterObjectFieldDescriptor(Label="IPv6Addresses", Tag=6, Type=typing.List[bytes]),
+ ClusterObjectFieldDescriptor(Label="type", Tag=7, Type=GeneralDiagnostics.Enums.InterfaceType),
])
- providerNodeID: 'uint' = 0
- endpoint: 'uint' = 0
- fabricIndex: 'uint' = 0
+ name: 'str' = ""
+ isOperational: 'bool' = False
+ offPremiseServicesReachableIPv4: 'typing.Union[Nullable, bool]' = NullValue
+ offPremiseServicesReachableIPv6: 'typing.Union[Nullable, bool]' = NullValue
+ hardwareAddress: 'bytes' = b""
+ IPv4Addresses: 'typing.List[bytes]' = field(default_factory=lambda: [])
+ IPv6Addresses: 'typing.List[bytes]' = field(default_factory=lambda: [])
+ type: 'GeneralDiagnostics.Enums.InterfaceType' = 0
class Commands:
@dataclass
- class AnnounceOtaProvider(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x002A
+ class TestEventTrigger(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0033
command_id: typing.ClassVar[int] = 0x0000
is_client: typing.ClassVar[bool] = True
@@ -7684,26 +7205,20 @@ class AnnounceOtaProvider(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="providerNodeId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="vendorId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="announcementReason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason),
- ClusterObjectFieldDescriptor(Label="metadataForNode", Tag=3, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="endpoint", Tag=4, Type=uint),
+ ClusterObjectFieldDescriptor(Label="enableKey", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="eventTrigger", Tag=1, Type=uint),
])
- providerNodeId: 'uint' = 0
- vendorId: 'uint' = 0
- announcementReason: 'OtaSoftwareUpdateRequestor.Enums.OTAAnnouncementReason' = 0
- metadataForNode: 'typing.Optional[bytes]' = None
- endpoint: 'uint' = 0
+ enableKey: 'bytes' = b""
+ eventTrigger: 'uint' = 0
class Attributes:
@dataclass
- class DefaultOtaProviders(ClusterAttributeDescriptor):
+ class NetworkInterfaces(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7711,15 +7226,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation])
+ return ClusterObjectFieldDescriptor(Type=typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType])
- value: 'typing.List[OtaSoftwareUpdateRequestor.Structs.ProviderLocation]' = field(default_factory=lambda: [])
+ value: 'typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType]' = field(default_factory=lambda: [])
@dataclass
- class UpdatePossible(ClusterAttributeDescriptor):
+ class RebootCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7727,15 +7242,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'bool' = False
+ value: 'uint' = 0
@dataclass
- class UpdateState(ClusterAttributeDescriptor):
+ class UpTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7743,15 +7258,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class UpdateStateProgress(ClusterAttributeDescriptor):
+ class TotalOperationalHours(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7759,15 +7274,95 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, uint]' = NullValue
+ value: 'typing.Optional[uint]' = None
+
+ @dataclass
+ class BootReasons(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0033
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000004
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
+
+ @dataclass
+ class ActiveHardwareFaults(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0033
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000005
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]])
+
+ value: 'typing.Optional[typing.List[uint]]' = None
+
+ @dataclass
+ class ActiveRadioFaults(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0033
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000006
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]])
+
+ value: 'typing.Optional[typing.List[uint]]' = None
+
+ @dataclass
+ class ActiveNetworkFaults(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0033
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000007
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]])
+
+ value: 'typing.Optional[typing.List[uint]]' = None
+
+ @dataclass
+ class TestEventTriggersEnabled(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0033
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000008
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=bool)
+
+ value: 'bool' = False
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7783,7 +7378,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7799,7 +7394,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7815,7 +7410,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7831,7 +7426,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7846,10 +7441,10 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class Events:
@dataclass
- class StateTransition(ClusterEvent):
+ class HardwareFaultChange(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def event_id(cls) -> int:
@@ -7859,22 +7454,18 @@ def event_id(cls) -> int:
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="previousState", Tag=0, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum),
- ClusterObjectFieldDescriptor(Label="newState", Tag=1, Type=OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum),
- ClusterObjectFieldDescriptor(Label="reason", Tag=2, Type=OtaSoftwareUpdateRequestor.Enums.OTAChangeReasonEnum),
- ClusterObjectFieldDescriptor(Label="targetSoftwareVersion", Tag=3, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultType]),
+ ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultType]),
])
- previousState: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = 0
- newState: 'OtaSoftwareUpdateRequestor.Enums.OTAUpdateStateEnum' = 0
- reason: 'OtaSoftwareUpdateRequestor.Enums.OTAChangeReasonEnum' = 0
- targetSoftwareVersion: 'typing.Union[Nullable, uint]' = NullValue
+ current: 'typing.List[GeneralDiagnostics.Enums.HardwareFaultType]' = field(default_factory=lambda: [])
+ previous: 'typing.List[GeneralDiagnostics.Enums.HardwareFaultType]' = field(default_factory=lambda: [])
@dataclass
- class VersionApplied(ClusterEvent):
+ class RadioFaultChange(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def event_id(cls) -> int:
@@ -7884,18 +7475,18 @@ def event_id(cls) -> int:
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="productID", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultType]),
+ ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultType]),
])
- softwareVersion: 'uint' = 0
- productID: 'uint' = 0
+ current: 'typing.List[GeneralDiagnostics.Enums.RadioFaultType]' = field(default_factory=lambda: [])
+ previous: 'typing.List[GeneralDiagnostics.Enums.RadioFaultType]' = field(default_factory=lambda: [])
@dataclass
- class DownloadError(ClusterEvent):
+ class NetworkFaultChange(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002A
+ return 0x0033
@ChipUtility.classproperty
def event_id(cls) -> int:
@@ -7905,28 +7496,45 @@ def event_id(cls) -> int:
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="bytesDownloaded", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="progressPercent", Tag=2, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="platformCode", Tag=3, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultType]),
+ ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultType]),
])
- softwareVersion: 'uint' = 0
- bytesDownloaded: 'uint' = 0
- progressPercent: 'typing.Union[Nullable, uint]' = NullValue
- platformCode: 'typing.Union[Nullable, int]' = NullValue
+ current: 'typing.List[GeneralDiagnostics.Enums.NetworkFaultType]' = field(default_factory=lambda: [])
+ previous: 'typing.List[GeneralDiagnostics.Enums.NetworkFaultType]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class BootReason(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0033
+
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000003
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="bootReason", Tag=0, Type=GeneralDiagnostics.Enums.BootReasonType),
+ ])
+
+ bootReason: 'GeneralDiagnostics.Enums.BootReasonType' = 0
@dataclass
-class LocalizationConfiguration(Cluster):
- id: typing.ClassVar[int] = 0x002B
+class SoftwareDiagnostics(Cluster):
+ id: typing.ClassVar[int] = 0x0034
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="activeLocale", Tag=0x00000000, Type=str),
- ClusterObjectFieldDescriptor(Label="supportedLocales", Tag=0x00000001, Type=typing.List[str]),
+ ClusterObjectFieldDescriptor(Label="threadMetrics", Tag=0x00000000, Type=typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]]),
+ ClusterObjectFieldDescriptor(Label="currentHeapFree", Tag=0x00000001, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="currentHeapUsed", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="currentHeapHighWatermark", Tag=0x00000003, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -7934,8 +7542,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- activeLocale: 'str' = None
- supportedLocales: 'typing.List[str]' = None
+ threadMetrics: 'typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]]' = None
+ currentHeapFree: 'typing.Optional[uint]' = None
+ currentHeapUsed: 'typing.Optional[uint]' = None
+ currentHeapHighWatermark: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -7943,14 +7553,49 @@ def descriptor(cls) -> ClusterObjectDescriptor:
clusterRevision: 'uint' = None
+ 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=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="stackFreeCurrent", Tag=2, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="stackFreeMinimum", Tag=3, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="stackSize", Tag=4, Type=typing.Optional[uint]),
+ ])
+
+ id: 'uint' = 0
+ name: 'typing.Optional[str]' = None
+ stackFreeCurrent: 'typing.Optional[uint]' = None
+ stackFreeMinimum: 'typing.Optional[uint]' = None
+ stackSize: 'typing.Optional[uint]' = None
+
+
+
+ class Commands:
+ @dataclass
+ class ResetWatermarks(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0034
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
+
class Attributes:
@dataclass
- class ActiveLocale(ClusterAttributeDescriptor):
+ class ThreadMetrics(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002B
+ return 0x0034
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7958,15 +7603,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]])
- value: 'str' = ""
+ value: 'typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]]' = None
@dataclass
- class SupportedLocales(ClusterAttributeDescriptor):
+ class CurrentHeapFree(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002B
+ return 0x0034
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -7974,195 +7619,47 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[str])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[str]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class TimeFormatLocalization(Cluster):
- id: typing.ClassVar[int] = 0x002C
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="hourFormat", Tag=0x00000000, Type=TimeFormatLocalization.Enums.HourFormat),
- ClusterObjectFieldDescriptor(Label="activeCalendarType", Tag=0x00000001, Type=typing.Optional[TimeFormatLocalization.Enums.CalendarType]),
- ClusterObjectFieldDescriptor(Label="supportedCalendarTypes", Tag=0x00000002, Type=typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarType]]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- hourFormat: 'TimeFormatLocalization.Enums.HourFormat' = None
- activeCalendarType: 'typing.Optional[TimeFormatLocalization.Enums.CalendarType]' = None
- supportedCalendarTypes: 'typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarType]]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class CalendarType(IntEnum):
- kBuddhist = 0x00
- kChinese = 0x01
- kCoptic = 0x02
- kEthiopian = 0x03
- kGregorian = 0x04
- kHebrew = 0x05
- kIndian = 0x06
- kIslamic = 0x07
- kJapanese = 0x08
- kKorean = 0x09
- kPersian = 0x0A
- kTaiwanese = 0x0B
-
- class HourFormat(IntEnum):
- k12hr = 0x00
- k24hr = 0x01
-
-
-
-
- class Attributes:
- @dataclass
- class HourFormat(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=TimeFormatLocalization.Enums.HourFormat)
-
- value: 'TimeFormatLocalization.Enums.HourFormat' = 0
-
- @dataclass
- class ActiveCalendarType(ClusterAttributeDescriptor):
+ class CurrentHeapUsed(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002C
+ return 0x0034
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[TimeFormatLocalization.Enums.CalendarType])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[TimeFormatLocalization.Enums.CalendarType]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class SupportedCalendarTypes(ClusterAttributeDescriptor):
+ class CurrentHeapHighWatermark(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002C
+ return 0x0034
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarType]])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[typing.List[TimeFormatLocalization.Enums.CalendarType]]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002C
+ return 0x0034
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -8178,7 +7675,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002C
+ return 0x0034
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -8194,7 +7691,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002C
+ return 0x0034
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -8210,7 +7707,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002C
+ return 0x0034
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -8226,7 +7723,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002C
+ return 0x0034
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -8239,147 +7736,102 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
-
-@dataclass
-class UnitLocalization(Cluster):
- id: typing.ClassVar[int] = 0x002D
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="temperatureUnit", Tag=0x00000000, Type=typing.Optional[UnitLocalization.Enums.TempUnit]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- temperatureUnit: 'typing.Optional[UnitLocalization.Enums.TempUnit]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class TempUnit(IntEnum):
- kFahrenheit = 0x00
- kCelsius = 0x01
- kKelvin = 0x02
-
-
-
-
- class Attributes:
+ class Events:
@dataclass
- class TemperatureUnit(ClusterAttributeDescriptor):
+ class SoftwareFault(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002D
+ return 0x0034
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
+ def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[UnitLocalization.Enums.TempUnit])
-
- value: 'typing.Optional[UnitLocalization.Enums.TempUnit]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="id", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="faultRecording", Tag=2, Type=typing.Optional[bytes]),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ id: 'uint' = 0
+ name: 'typing.Optional[str]' = None
+ faultRecording: 'typing.Optional[bytes]' = None
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class PowerSourceConfiguration(Cluster):
- id: typing.ClassVar[int] = 0x002E
+@dataclass
+class ThreadNetworkDiagnostics(Cluster):
+ id: typing.ClassVar[int] = 0x0035
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="sources", Tag=0x00000000, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="channel", Tag=0x00000000, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="routingRole", Tag=0x00000001, Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole]),
+ ClusterObjectFieldDescriptor(Label="networkName", Tag=0x00000002, Type=typing.Union[Nullable, str]),
+ ClusterObjectFieldDescriptor(Label="panId", Tag=0x00000003, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="extendedPanId", Tag=0x00000004, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="meshLocalPrefix", Tag=0x00000005, Type=typing.Union[Nullable, bytes]),
+ ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x00000006, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="neighborTableList", Tag=0x00000007, Type=typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]),
+ ClusterObjectFieldDescriptor(Label="routeTableList", Tag=0x00000008, Type=typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]),
+ ClusterObjectFieldDescriptor(Label="partitionId", Tag=0x00000009, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="weighting", Tag=0x0000000A, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="dataVersion", Tag=0x0000000B, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="stableDataVersion", Tag=0x0000000C, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="leaderRouterId", Tag=0x0000000D, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="detachedRoleCount", Tag=0x0000000E, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="childRoleCount", Tag=0x0000000F, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="routerRoleCount", Tag=0x00000010, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="leaderRoleCount", Tag=0x00000011, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="attachAttemptCount", Tag=0x00000012, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="partitionIdChangeCount", Tag=0x00000013, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="betterPartitionAttachAttemptCount", Tag=0x00000014, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="parentChangeCount", Tag=0x00000015, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txTotalCount", Tag=0x00000016, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txUnicastCount", Tag=0x00000017, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txBroadcastCount", Tag=0x00000018, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txAckRequestedCount", Tag=0x00000019, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txAckedCount", Tag=0x0000001A, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txNoAckRequestedCount", Tag=0x0000001B, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txDataCount", Tag=0x0000001C, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txDataPollCount", Tag=0x0000001D, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txBeaconCount", Tag=0x0000001E, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txBeaconRequestCount", Tag=0x0000001F, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txOtherCount", Tag=0x00000020, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txRetryCount", Tag=0x00000021, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txDirectMaxRetryExpiryCount", Tag=0x00000022, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txIndirectMaxRetryExpiryCount", Tag=0x00000023, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txErrCcaCount", Tag=0x00000024, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txErrAbortCount", Tag=0x00000025, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txErrBusyChannelCount", Tag=0x00000026, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxTotalCount", Tag=0x00000027, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxUnicastCount", Tag=0x00000028, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxBroadcastCount", Tag=0x00000029, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxDataCount", Tag=0x0000002A, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxDataPollCount", Tag=0x0000002B, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxBeaconCount", Tag=0x0000002C, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxBeaconRequestCount", Tag=0x0000002D, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxOtherCount", Tag=0x0000002E, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxAddressFilteredCount", Tag=0x0000002F, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxDestAddrFilteredCount", Tag=0x00000030, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxDuplicatedCount", Tag=0x00000031, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxErrNoFrameCount", Tag=0x00000032, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxErrUnknownNeighborCount", Tag=0x00000033, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxErrInvalidSrcAddrCount", Tag=0x00000034, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxErrSecCount", Tag=0x00000035, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxErrFcsCount", Tag=0x00000036, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rxErrOtherCount", Tag=0x00000037, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="activeTimestamp", Tag=0x00000038, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="pendingTimestamp", Tag=0x00000039, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="delay", Tag=0x0000003A, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="securityPolicy", Tag=0x0000003B, Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy]),
+ ClusterObjectFieldDescriptor(Label="channelMask", Tag=0x0000003C, Type=typing.Union[Nullable, bytes]),
+ ClusterObjectFieldDescriptor(Label="operationalDatasetComponents", Tag=0x0000003D, Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]),
+ ClusterObjectFieldDescriptor(Label="activeNetworkFaultsList", Tag=0x0000003E, Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -8387,415 +7839,476 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- sources: 'typing.List[uint]' = None
+ channel: 'typing.Union[Nullable, uint]' = None
+ routingRole: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole]' = None
+ networkName: 'typing.Union[Nullable, str]' = None
+ panId: 'typing.Union[Nullable, uint]' = None
+ extendedPanId: 'typing.Union[Nullable, uint]' = None
+ meshLocalPrefix: 'typing.Union[Nullable, bytes]' = None
+ overrunCount: 'typing.Optional[uint]' = None
+ neighborTableList: 'typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]' = None
+ routeTableList: 'typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]' = None
+ partitionId: 'typing.Union[Nullable, uint]' = None
+ weighting: 'typing.Union[Nullable, uint]' = None
+ dataVersion: 'typing.Union[Nullable, uint]' = None
+ stableDataVersion: 'typing.Union[Nullable, uint]' = None
+ leaderRouterId: 'typing.Union[Nullable, uint]' = None
+ detachedRoleCount: 'typing.Optional[uint]' = None
+ childRoleCount: 'typing.Optional[uint]' = None
+ routerRoleCount: 'typing.Optional[uint]' = None
+ leaderRoleCount: 'typing.Optional[uint]' = None
+ attachAttemptCount: 'typing.Optional[uint]' = None
+ partitionIdChangeCount: 'typing.Optional[uint]' = None
+ betterPartitionAttachAttemptCount: 'typing.Optional[uint]' = None
+ parentChangeCount: 'typing.Optional[uint]' = None
+ txTotalCount: 'typing.Optional[uint]' = None
+ txUnicastCount: 'typing.Optional[uint]' = None
+ txBroadcastCount: 'typing.Optional[uint]' = None
+ txAckRequestedCount: 'typing.Optional[uint]' = None
+ txAckedCount: 'typing.Optional[uint]' = None
+ txNoAckRequestedCount: 'typing.Optional[uint]' = None
+ txDataCount: 'typing.Optional[uint]' = None
+ txDataPollCount: 'typing.Optional[uint]' = None
+ txBeaconCount: 'typing.Optional[uint]' = None
+ txBeaconRequestCount: 'typing.Optional[uint]' = None
+ txOtherCount: 'typing.Optional[uint]' = None
+ txRetryCount: 'typing.Optional[uint]' = None
+ txDirectMaxRetryExpiryCount: 'typing.Optional[uint]' = None
+ txIndirectMaxRetryExpiryCount: 'typing.Optional[uint]' = None
+ txErrCcaCount: 'typing.Optional[uint]' = None
+ txErrAbortCount: 'typing.Optional[uint]' = None
+ txErrBusyChannelCount: 'typing.Optional[uint]' = None
+ rxTotalCount: 'typing.Optional[uint]' = None
+ rxUnicastCount: 'typing.Optional[uint]' = None
+ rxBroadcastCount: 'typing.Optional[uint]' = None
+ rxDataCount: 'typing.Optional[uint]' = None
+ rxDataPollCount: 'typing.Optional[uint]' = None
+ rxBeaconCount: 'typing.Optional[uint]' = None
+ rxBeaconRequestCount: 'typing.Optional[uint]' = None
+ rxOtherCount: 'typing.Optional[uint]' = None
+ rxAddressFilteredCount: 'typing.Optional[uint]' = None
+ rxDestAddrFilteredCount: 'typing.Optional[uint]' = None
+ rxDuplicatedCount: 'typing.Optional[uint]' = None
+ rxErrNoFrameCount: 'typing.Optional[uint]' = None
+ rxErrUnknownNeighborCount: 'typing.Optional[uint]' = None
+ rxErrInvalidSrcAddrCount: 'typing.Optional[uint]' = None
+ rxErrSecCount: 'typing.Optional[uint]' = None
+ rxErrFcsCount: 'typing.Optional[uint]' = None
+ rxErrOtherCount: 'typing.Optional[uint]' = None
+ activeTimestamp: 'typing.Union[None, Nullable, uint]' = None
+ pendingTimestamp: 'typing.Union[None, Nullable, uint]' = None
+ delay: 'typing.Union[None, Nullable, uint]' = None
+ securityPolicy: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy]' = None
+ channelMask: 'typing.Union[Nullable, bytes]' = None
+ operationalDatasetComponents: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]' = None
+ activeNetworkFaultsList: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class NetworkFault(IntEnum):
+ kUnspecified = 0x00
+ kLinkDown = 0x01
+ kHardwareFailure = 0x02
+ kNetworkJammed = 0x03
+ class RoutingRole(IntEnum):
+ kUnspecified = 0x00
+ kUnassigned = 0x01
+ kSleepyEndDevice = 0x02
+ kEndDevice = 0x03
+ kReed = 0x04
+ kRouter = 0x05
+ kLeader = 0x06
+ class ThreadConnectionStatus(IntEnum):
+ kConnected = 0x00
+ kNotConnected = 0x01
- class Attributes:
- @dataclass
- class Sources(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x002E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
+ class Structs:
+ @dataclass
+ class NeighborTable(ClusterObject):
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="extAddress", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="age", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="rloc16", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="linkFrameCounter", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="mleFrameCounter", Tag=4, Type=uint),
+ ClusterObjectFieldDescriptor(Label="lqi", Tag=5, Type=uint),
+ ClusterObjectFieldDescriptor(Label="averageRssi", Tag=6, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="lastRssi", Tag=7, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="frameErrorRate", Tag=8, Type=uint),
+ ClusterObjectFieldDescriptor(Label="messageErrorRate", Tag=9, Type=uint),
+ ClusterObjectFieldDescriptor(Label="rxOnWhenIdle", Tag=10, Type=bool),
+ ClusterObjectFieldDescriptor(Label="fullThreadDevice", Tag=11, Type=bool),
+ ClusterObjectFieldDescriptor(Label="fullNetworkData", Tag=12, Type=bool),
+ ClusterObjectFieldDescriptor(Label="isChild", Tag=13, Type=bool),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ extAddress: 'uint' = 0
+ age: 'uint' = 0
+ rloc16: 'uint' = 0
+ linkFrameCounter: 'uint' = 0
+ mleFrameCounter: 'uint' = 0
+ lqi: 'uint' = 0
+ averageRssi: 'typing.Union[Nullable, int]' = NullValue
+ lastRssi: 'typing.Union[Nullable, int]' = NullValue
+ frameErrorRate: 'uint' = 0
+ messageErrorRate: 'uint' = 0
+ rxOnWhenIdle: 'bool' = False
+ fullThreadDevice: 'bool' = False
+ fullNetworkData: 'bool' = False
+ isChild: 'bool' = False
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class OperationalDatasetComponents(ClusterObject):
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="activeTimestampPresent", Tag=0, Type=bool),
+ ClusterObjectFieldDescriptor(Label="pendingTimestampPresent", Tag=1, Type=bool),
+ ClusterObjectFieldDescriptor(Label="masterKeyPresent", Tag=2, Type=bool),
+ ClusterObjectFieldDescriptor(Label="networkNamePresent", Tag=3, Type=bool),
+ ClusterObjectFieldDescriptor(Label="extendedPanIdPresent", Tag=4, Type=bool),
+ ClusterObjectFieldDescriptor(Label="meshLocalPrefixPresent", Tag=5, Type=bool),
+ ClusterObjectFieldDescriptor(Label="delayPresent", Tag=6, Type=bool),
+ ClusterObjectFieldDescriptor(Label="panIdPresent", Tag=7, Type=bool),
+ ClusterObjectFieldDescriptor(Label="channelPresent", Tag=8, Type=bool),
+ ClusterObjectFieldDescriptor(Label="pskcPresent", Tag=9, Type=bool),
+ ClusterObjectFieldDescriptor(Label="securityPolicyPresent", Tag=10, Type=bool),
+ ClusterObjectFieldDescriptor(Label="channelMaskPresent", Tag=11, Type=bool),
+ ])
+
+ activeTimestampPresent: 'bool' = False
+ pendingTimestampPresent: 'bool' = False
+ masterKeyPresent: 'bool' = False
+ networkNamePresent: 'bool' = False
+ extendedPanIdPresent: 'bool' = False
+ meshLocalPrefixPresent: 'bool' = False
+ delayPresent: 'bool' = False
+ panIdPresent: 'bool' = False
+ channelPresent: 'bool' = False
+ pskcPresent: 'bool' = False
+ securityPolicyPresent: 'bool' = False
+ channelMaskPresent: 'bool' = False
+
+ @dataclass
+ class RouteTable(ClusterObject):
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="extAddress", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="rloc16", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="routerId", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="nextHop", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="pathCost", Tag=4, Type=uint),
+ ClusterObjectFieldDescriptor(Label="LQIIn", Tag=5, Type=uint),
+ ClusterObjectFieldDescriptor(Label="LQIOut", Tag=6, Type=uint),
+ ClusterObjectFieldDescriptor(Label="age", Tag=7, Type=uint),
+ ClusterObjectFieldDescriptor(Label="allocated", Tag=8, Type=bool),
+ ClusterObjectFieldDescriptor(Label="linkEstablished", Tag=9, Type=bool),
+ ])
+
+ extAddress: 'uint' = 0
+ rloc16: 'uint' = 0
+ routerId: 'uint' = 0
+ nextHop: 'uint' = 0
+ pathCost: 'uint' = 0
+ LQIIn: 'uint' = 0
+ LQIOut: 'uint' = 0
+ age: 'uint' = 0
+ allocated: 'bool' = False
+ linkEstablished: 'bool' = False
+
+ @dataclass
+ class SecurityPolicy(ClusterObject):
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="rotationTime", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="flags", Tag=1, Type=uint),
+ ])
+
+ rotationTime: 'uint' = 0
+ flags: 'uint' = 0
+
+
+
+ class Commands:
+ @dataclass
+ class ResetCounts(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0035
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
+
+
+
+ class Attributes:
+ @dataclass
+ class Channel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002E
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class RoutingRole(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002E
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole]' = NullValue
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class NetworkName(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002E
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, str])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[Nullable, str]' = NullValue
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class PanId(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002E
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class ExtendedPanId(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002E
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[Nullable, uint]' = NullValue
+ @dataclass
+ class MeshLocalPrefix(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0035
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000005
-@dataclass
-class PowerSource(Cluster):
- id: typing.ClassVar[int] = 0x002F
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0x00000000, Type=PowerSource.Enums.PowerSourceStatus),
- ClusterObjectFieldDescriptor(Label="order", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="description", Tag=0x00000002, Type=str),
- ClusterObjectFieldDescriptor(Label="wiredAssessedInputVoltage", Tag=0x00000003, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="wiredAssessedInputFrequency", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="wiredCurrentType", Tag=0x00000005, Type=typing.Optional[PowerSource.Enums.WiredCurrentType]),
- ClusterObjectFieldDescriptor(Label="wiredAssessedCurrent", Tag=0x00000006, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="wiredNominalVoltage", Tag=0x00000007, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="wiredMaximumCurrent", Tag=0x00000008, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="wiredPresent", Tag=0x00000009, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="activeWiredFaults", Tag=0x0000000A, Type=typing.Optional[typing.List[PowerSource.Enums.WiredFault]]),
- ClusterObjectFieldDescriptor(Label="batVoltage", Tag=0x0000000B, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="batPercentRemaining", Tag=0x0000000C, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="batTimeRemaining", Tag=0x0000000D, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="batChargeLevel", Tag=0x0000000E, Type=typing.Optional[PowerSource.Enums.BatChargeLevel]),
- ClusterObjectFieldDescriptor(Label="batReplacementNeeded", Tag=0x0000000F, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="batReplaceability", Tag=0x00000010, Type=typing.Optional[PowerSource.Enums.BatReplaceability]),
- ClusterObjectFieldDescriptor(Label="batPresent", Tag=0x00000011, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="activeBatFaults", Tag=0x00000012, Type=typing.Optional[typing.List[PowerSource.Enums.BatFault]]),
- ClusterObjectFieldDescriptor(Label="batReplacementDescription", Tag=0x00000013, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="batCommonDesignation", Tag=0x00000014, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batANSIDesignation", Tag=0x00000015, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="batIECDesignation", Tag=0x00000016, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="batApprovedChemistry", Tag=0x00000017, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batCapacity", Tag=0x00000018, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batQuantity", Tag=0x00000019, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="batChargeState", Tag=0x0000001A, Type=typing.Optional[PowerSource.Enums.BatChargeState]),
- ClusterObjectFieldDescriptor(Label="batTimeToFullCharge", Tag=0x0000001B, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="batFunctionalWhileCharging", Tag=0x0000001C, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="batChargingCurrent", Tag=0x0000001D, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="activeBatChargeFaults", Tag=0x0000001E, Type=typing.Optional[typing.List[PowerSource.Enums.BatChargeFault]]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ value: 'typing.Union[Nullable, bytes]' = NullValue
- status: 'PowerSource.Enums.PowerSourceStatus' = None
- order: 'uint' = None
- description: 'str' = None
- wiredAssessedInputVoltage: 'typing.Union[None, Nullable, uint]' = None
- wiredAssessedInputFrequency: 'typing.Union[None, Nullable, uint]' = None
- wiredCurrentType: 'typing.Optional[PowerSource.Enums.WiredCurrentType]' = None
- wiredAssessedCurrent: 'typing.Union[None, Nullable, uint]' = None
- wiredNominalVoltage: 'typing.Optional[uint]' = None
- wiredMaximumCurrent: 'typing.Optional[uint]' = None
- wiredPresent: 'typing.Optional[bool]' = None
- activeWiredFaults: 'typing.Optional[typing.List[PowerSource.Enums.WiredFault]]' = None
- batVoltage: 'typing.Union[None, Nullable, uint]' = None
- batPercentRemaining: 'typing.Union[None, Nullable, uint]' = None
- batTimeRemaining: 'typing.Union[None, Nullable, uint]' = None
- batChargeLevel: 'typing.Optional[PowerSource.Enums.BatChargeLevel]' = None
- batReplacementNeeded: 'typing.Optional[bool]' = None
- batReplaceability: 'typing.Optional[PowerSource.Enums.BatReplaceability]' = None
- batPresent: 'typing.Optional[bool]' = None
- activeBatFaults: 'typing.Optional[typing.List[PowerSource.Enums.BatFault]]' = None
- batReplacementDescription: 'typing.Optional[str]' = None
- batCommonDesignation: 'typing.Optional[uint]' = None
- batANSIDesignation: 'typing.Optional[str]' = None
- batIECDesignation: 'typing.Optional[str]' = None
- batApprovedChemistry: 'typing.Optional[uint]' = None
- batCapacity: 'typing.Optional[uint]' = None
- batQuantity: 'typing.Optional[uint]' = None
- batChargeState: 'typing.Optional[PowerSource.Enums.BatChargeState]' = None
- batTimeToFullCharge: 'typing.Union[None, Nullable, uint]' = None
- batFunctionalWhileCharging: 'typing.Optional[bool]' = None
- batChargingCurrent: 'typing.Union[None, Nullable, uint]' = None
- activeBatChargeFaults: 'typing.Optional[typing.List[PowerSource.Enums.BatChargeFault]]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class OverrunCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0035
- class Enums:
- class BatChargeFault(IntEnum):
- kUnspecfied = 0x00
- kAmbientTooHot = 0x01
- kAmbientTooCold = 0x02
- kBatteryTooHot = 0x03
- kBatteryTooCold = 0x04
- kBatteryAbsent = 0x05
- kBatteryOverVoltage = 0x06
- kBatteryUnderVoltage = 0x07
- kChargerOverVoltage = 0x08
- kChargerUnderVoltage = 0x09
- kSafetyTimeout = 0x0A
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000006
- class BatChargeLevel(IntEnum):
- kOk = 0x00
- kWarning = 0x01
- kCritical = 0x02
-
- class BatChargeState(IntEnum):
- kUnknown = 0x00
- kIsCharging = 0x01
- kIsAtFullCharge = 0x02
- kIsNotCharging = 0x03
-
- class BatFault(IntEnum):
- kUnspecfied = 0x00
- kOverTemp = 0x01
- kUnderTemp = 0x02
-
- class BatReplaceability(IntEnum):
- kUnspecified = 0x00
- kNotReplaceable = 0x01
- kUserReplaceable = 0x02
- kFactoryReplaceable = 0x03
-
- class PowerSourceStatus(IntEnum):
- kUnspecfied = 0x00
- kActive = 0x01
- kStandby = 0x02
- kUnavailable = 0x03
-
- class WiredCurrentType(IntEnum):
- kAc = 0x00
- kDc = 0x01
-
- class WiredFault(IntEnum):
- kUnspecfied = 0x00
- kOverVoltage = 0x01
- kUnderVoltage = 0x02
-
-
- class Structs:
- @dataclass
- class BatChargeFaultChangeType(ClusterObject):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatChargeFault]),
- ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatChargeFault]),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- current: 'typing.List[PowerSource.Enums.BatChargeFault]' = field(default_factory=lambda: [])
- previous: 'typing.List[PowerSource.Enums.BatChargeFault]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatFaultChangeType(ClusterObject):
+ class NeighborTableList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.BatFault]),
- ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.BatFault]),
- ])
-
- current: 'typing.List[PowerSource.Enums.BatFault]' = field(default_factory=lambda: [])
- previous: 'typing.List[PowerSource.Enums.BatFault]' = field(default_factory=lambda: [])
+ def cluster_id(cls) -> int:
+ return 0x0035
- @dataclass
- class WiredFaultChangeType(ClusterObject):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[PowerSource.Enums.WiredFault]),
- ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[PowerSource.Enums.WiredFault]),
- ])
-
- current: 'typing.List[PowerSource.Enums.WiredFault]' = field(default_factory=lambda: [])
- previous: 'typing.List[PowerSource.Enums.WiredFault]' = field(default_factory=lambda: [])
-
+ def attribute_id(cls) -> int:
+ return 0x00000007
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable])
+ value: 'typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]' = field(default_factory=lambda: [])
- class Attributes:
@dataclass
- class Status(ClusterAttributeDescriptor):
+ class RouteTableList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=PowerSource.Enums.PowerSourceStatus)
+ return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.RouteTable])
- value: 'PowerSource.Enums.PowerSourceStatus' = 0
+ value: 'typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]' = field(default_factory=lambda: [])
@dataclass
- class Order(ClusterAttributeDescriptor):
+ class PartitionId(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class Description(ClusterAttributeDescriptor):
+ class Weighting(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'str' = ""
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class WiredAssessedInputVoltage(ClusterAttributeDescriptor):
+ class DataVersion(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000000B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class WiredAssessedInputFrequency(ClusterAttributeDescriptor):
+ class StableDataVersion(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x0000000C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class WiredCurrentType(ClusterAttributeDescriptor):
+ class LeaderRouterId(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000005
+ return 0x0000000D
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.WiredCurrentType])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'typing.Optional[PowerSource.Enums.WiredCurrentType]' = None
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class WiredAssessedCurrent(ClusterAttributeDescriptor):
+ class DetachedRoleCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000006
+ return 0x0000000E
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class WiredNominalVoltage(ClusterAttributeDescriptor):
+ class ChildRoleCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000007
+ return 0x0000000F
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -8804,14 +8317,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class WiredMaximumCurrent(ClusterAttributeDescriptor):
+ class RouterRoleCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000008
+ return 0x00000010
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -8820,190 +8333,190 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class WiredPresent(ClusterAttributeDescriptor):
+ class LeaderRoleCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000009
+ return 0x00000011
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[bool]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ActiveWiredFaults(ClusterAttributeDescriptor):
+ class AttachAttemptCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000A
+ return 0x00000012
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[PowerSource.Enums.WiredFault]])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[typing.List[PowerSource.Enums.WiredFault]]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatVoltage(ClusterAttributeDescriptor):
+ class PartitionIdChangeCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000B
+ return 0x00000013
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatPercentRemaining(ClusterAttributeDescriptor):
+ class BetterPartitionAttachAttemptCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000C
+ return 0x00000014
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatTimeRemaining(ClusterAttributeDescriptor):
+ class ParentChangeCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000D
+ return 0x00000015
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatChargeLevel(ClusterAttributeDescriptor):
+ class TxTotalCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000E
+ return 0x00000016
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.BatChargeLevel])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[PowerSource.Enums.BatChargeLevel]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatReplacementNeeded(ClusterAttributeDescriptor):
+ class TxUnicastCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000F
+ return 0x00000017
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[bool]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatReplaceability(ClusterAttributeDescriptor):
+ class TxBroadcastCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000010
+ return 0x00000018
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.BatReplaceability])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[PowerSource.Enums.BatReplaceability]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatPresent(ClusterAttributeDescriptor):
+ class TxAckRequestedCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000011
+ return 0x00000019
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[bool]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ActiveBatFaults(ClusterAttributeDescriptor):
+ class TxAckedCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000012
+ return 0x0000001A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[PowerSource.Enums.BatFault]])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[typing.List[PowerSource.Enums.BatFault]]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatReplacementDescription(ClusterAttributeDescriptor):
+ class TxNoAckRequestedCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000013
+ return 0x0000001B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[str]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatCommonDesignation(ClusterAttributeDescriptor):
+ class TxDataCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000014
+ return 0x0000001C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -9012,46 +8525,46 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class BatANSIDesignation(ClusterAttributeDescriptor):
+ class TxDataPollCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000015
+ return 0x0000001D
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[str]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatIECDesignation(ClusterAttributeDescriptor):
+ class TxBeaconCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000016
+ return 0x0000001E
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[str]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatApprovedChemistry(ClusterAttributeDescriptor):
+ class TxBeaconRequestCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000017
+ return 0x0000001F
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -9060,14 +8573,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class BatCapacity(ClusterAttributeDescriptor):
+ class TxOtherCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000018
+ return 0x00000020
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -9076,14 +8589,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class BatQuantity(ClusterAttributeDescriptor):
+ class TxRetryCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000019
+ return 0x00000021
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -9092,789 +8605,668 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class BatChargeState(ClusterAttributeDescriptor):
+ class TxDirectMaxRetryExpiryCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000001A
+ return 0x00000022
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[PowerSource.Enums.BatChargeState])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[PowerSource.Enums.BatChargeState]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatTimeToFullCharge(ClusterAttributeDescriptor):
+ class TxIndirectMaxRetryExpiryCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000001B
+ return 0x00000023
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatFunctionalWhileCharging(ClusterAttributeDescriptor):
+ class TxErrCcaCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000001C
+ return 0x00000024
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[bool]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BatChargingCurrent(ClusterAttributeDescriptor):
+ class TxErrAbortCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000001D
+ return 0x00000025
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ActiveBatChargeFaults(ClusterAttributeDescriptor):
+ class TxErrBusyChannelCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000001E
+ return 0x00000026
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[PowerSource.Enums.BatChargeFault]])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[typing.List[PowerSource.Enums.BatChargeFault]]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class RxTotalCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000027
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class RxUnicastCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000028
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class RxBroadcastCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000029
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class RxDataCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x0000002A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class RxDataPollCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x002F
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x0000002B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
+ @dataclass
+ class RxBeaconCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0035
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000002C
-@dataclass
-class GeneralCommissioning(Cluster):
- id: typing.ClassVar[int] = 0x0030
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="basicCommissioningInfo", Tag=0x00000001, Type=GeneralCommissioning.Structs.BasicCommissioningInfo),
- ClusterObjectFieldDescriptor(Label="regulatoryConfig", Tag=0x00000002, Type=GeneralCommissioning.Enums.RegulatoryLocationType),
- ClusterObjectFieldDescriptor(Label="locationCapability", Tag=0x00000003, Type=GeneralCommissioning.Enums.RegulatoryLocationType),
- ClusterObjectFieldDescriptor(Label="supportsConcurrentConnection", Tag=0x00000004, Type=bool),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ value: 'typing.Optional[uint]' = None
- breadcrumb: 'uint' = None
- basicCommissioningInfo: 'GeneralCommissioning.Structs.BasicCommissioningInfo' = None
- regulatoryConfig: 'GeneralCommissioning.Enums.RegulatoryLocationType' = None
- locationCapability: 'GeneralCommissioning.Enums.RegulatoryLocationType' = None
- supportsConcurrentConnection: 'bool' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class RxBeaconRequestCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0035
- class Enums:
- class CommissioningError(IntEnum):
- kOk = 0x00
- kValueOutsideRange = 0x01
- kInvalidAuthentication = 0x02
- kNoFailSafe = 0x03
- kBusyWithOtherAdmin = 0x04
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000002D
- class RegulatoryLocationType(IntEnum):
- kIndoor = 0x00
- kOutdoor = 0x01
- kIndoorOutdoor = 0x02
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Structs:
@dataclass
- class BasicCommissioningInfo(ClusterObject):
+ class RxOtherCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="failSafeExpiryLengthSeconds", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="maxCumulativeFailsafeSeconds", Tag=1, Type=uint),
- ])
+ def cluster_id(cls) -> int:
+ return 0x0035
- failSafeExpiryLengthSeconds: 'uint' = 0
- maxCumulativeFailsafeSeconds: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000002E
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Commands:
@dataclass
- class ArmFailSafe(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0030
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
+ class RxAddressFilteredCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0035
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="expiryLengthSeconds", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x0000002F
- expiryLengthSeconds: 'uint' = 0
- breadcrumb: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ArmFailSafeResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0030
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
+ class RxDestAddrFilteredCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0035
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningError),
- ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000030
- errorCode: 'GeneralCommissioning.Enums.CommissioningError' = 0
- debugText: 'str' = ""
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
- class SetRegulatoryConfig(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0030
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
+ class RxDuplicatedCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0035
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="newRegulatoryConfig", Tag=0, Type=GeneralCommissioning.Enums.RegulatoryLocationType),
- ClusterObjectFieldDescriptor(Label="countryCode", Tag=1, Type=str),
- ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000031
- newRegulatoryConfig: 'GeneralCommissioning.Enums.RegulatoryLocationType' = 0
- countryCode: 'str' = ""
- breadcrumb: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
- class SetRegulatoryConfigResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0030
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = False
+ class RxErrNoFrameCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0035
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningError),
- ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000032
- errorCode: 'GeneralCommissioning.Enums.CommissioningError' = 0
- debugText: 'str' = ""
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
- class CommissioningComplete(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0030
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
+ class RxErrUnknownNeighborCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0035
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000033
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class CommissioningCompleteResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0030
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = False
+ class RxErrInvalidSrcAddrCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0035
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="errorCode", Tag=0, Type=GeneralCommissioning.Enums.CommissioningError),
- ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=str),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000034
- errorCode: 'GeneralCommissioning.Enums.CommissioningError' = 0
- debugText: 'str' = ""
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class Breadcrumb(ClusterAttributeDescriptor):
+ class RxErrSecCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0030
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000035
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BasicCommissioningInfo(ClusterAttributeDescriptor):
+ class RxErrFcsCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0030
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000036
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Structs.BasicCommissioningInfo)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'GeneralCommissioning.Structs.BasicCommissioningInfo' = field(default_factory=lambda: GeneralCommissioning.Structs.BasicCommissioningInfo())
+ value: 'typing.Optional[uint]' = None
@dataclass
- class RegulatoryConfig(ClusterAttributeDescriptor):
+ class RxErrOtherCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0030
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000037
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Enums.RegulatoryLocationType)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'GeneralCommissioning.Enums.RegulatoryLocationType' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class LocationCapability(ClusterAttributeDescriptor):
+ class ActiveTimestamp(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0030
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000038
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=GeneralCommissioning.Enums.RegulatoryLocationType)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'GeneralCommissioning.Enums.RegulatoryLocationType' = 0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class SupportsConcurrentConnection(ClusterAttributeDescriptor):
+ class PendingTimestamp(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0030
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x00000039
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'bool' = False
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class Delay(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0030
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x0000003A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class SecurityPolicy(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0030
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x0000003B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy]' = NullValue
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class ChannelMask(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0030
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x0000003C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[Nullable, bytes]' = NullValue
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class OperationalDatasetComponents(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0030
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x0000003D
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents])
- value: 'uint' = 0
+ value: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]' = NullValue
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class ActiveNetworkFaultsList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0030
+ return 0x0035
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x0000003E
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault])
- value: 'uint' = 0
+ value: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]' = field(default_factory=lambda: [])
+ @dataclass
+ class GeneratedCommandList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0035
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFF8
-@dataclass
-class NetworkCommissioning(Cluster):
- id: typing.ClassVar[int] = 0x0031
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="maxNetworks", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="networks", Tag=0x00000001, Type=typing.List[NetworkCommissioning.Structs.NetworkInfo]),
- ClusterObjectFieldDescriptor(Label="scanMaxTimeSeconds", Tag=0x00000002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="connectMaxTimeSeconds", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="interfaceEnabled", Tag=0x00000004, Type=bool),
- ClusterObjectFieldDescriptor(Label="lastNetworkingStatus", Tag=0x00000005, Type=typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus]),
- ClusterObjectFieldDescriptor(Label="lastNetworkID", Tag=0x00000006, Type=typing.Union[Nullable, bytes]),
- ClusterObjectFieldDescriptor(Label="lastConnectErrorValue", Tag=0x00000007, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- maxNetworks: 'uint' = None
- networks: 'typing.List[NetworkCommissioning.Structs.NetworkInfo]' = None
- scanMaxTimeSeconds: 'typing.Optional[uint]' = None
- connectMaxTimeSeconds: 'typing.Optional[uint]' = None
- interfaceEnabled: 'bool' = None
- lastNetworkingStatus: 'typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus]' = None
- lastNetworkID: 'typing.Union[Nullable, bytes]' = None
- lastConnectErrorValue: 'typing.Union[Nullable, int]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class NetworkCommissioningStatus(IntEnum):
- kSuccess = 0x00
- kOutOfRange = 0x01
- kBoundsExceeded = 0x02
- kNetworkIDNotFound = 0x03
- kDuplicateNetworkID = 0x04
- kNetworkNotFound = 0x05
- kRegulatoryError = 0x06
- kAuthFailure = 0x07
- kUnsupportedSecurity = 0x08
- kOtherConnectionFailure = 0x09
- kIPV6Failed = 0x0A
- kIPBindFailed = 0x0B
- kUnknownError = 0x0C
-
- class WiFiBand(IntEnum):
- k2g4 = 0x00
- k3g65 = 0x01
- k5g = 0x02
- k6g = 0x03
- k60g = 0x04
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
- class Structs:
@dataclass
- class NetworkInfo(ClusterObject):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="connected", Tag=1, Type=bool),
- ])
+ def cluster_id(cls) -> int:
+ return 0x0035
- networkID: 'bytes' = b""
- connected: 'bool' = False
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFF9
- @dataclass
- class ThreadInterfaceScanResult(ClusterObject):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="panId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="extendedPanId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="networkName", Tag=2, Type=str),
- ClusterObjectFieldDescriptor(Label="channel", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="version", Tag=4, Type=uint),
- ClusterObjectFieldDescriptor(Label="extendedAddress", Tag=5, Type=bytes),
- ClusterObjectFieldDescriptor(Label="rssi", Tag=6, Type=int),
- ClusterObjectFieldDescriptor(Label="lqi", Tag=7, Type=uint),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- panId: 'uint' = 0
- extendedPanId: 'uint' = 0
- networkName: 'str' = ""
- channel: 'uint' = 0
- version: 'uint' = 0
- extendedAddress: 'bytes' = b""
- rssi: 'int' = 0
- lqi: 'uint' = 0
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class WiFiInterfaceScanResult(ClusterObject):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="security", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="ssid", Tag=1, Type=bytes),
- ClusterObjectFieldDescriptor(Label="bssid", Tag=2, Type=bytes),
- ClusterObjectFieldDescriptor(Label="channel", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="wiFiBand", Tag=4, Type=NetworkCommissioning.Enums.WiFiBand),
- ClusterObjectFieldDescriptor(Label="rssi", Tag=5, Type=int),
- ])
-
- security: 'uint' = 0
- ssid: 'bytes' = b""
- bssid: 'bytes' = b""
- channel: 'uint' = 0
- wiFiBand: 'NetworkCommissioning.Enums.WiFiBand' = 0
- rssi: 'int' = 0
-
-
+ def cluster_id(cls) -> int:
+ return 0x0035
- 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 attribute_id(cls) -> int:
+ return 0x0000FFFB
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=typing.Union[None, Nullable, bytes]),
- ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- ssid: 'typing.Union[None, Nullable, bytes]' = None
- breadcrumb: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ScanNetworksResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0031
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
-
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus),
- ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="wiFiScanResults", Tag=2, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResult]]),
- ClusterObjectFieldDescriptor(Label="threadScanResults", Tag=3, Type=typing.Optional[typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResult]]),
- ])
-
- networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0
- debugText: 'typing.Optional[str]' = None
- wiFiScanResults: 'typing.Optional[typing.List[NetworkCommissioning.Structs.WiFiInterfaceScanResult]]' = None
- threadScanResults: 'typing.Optional[typing.List[NetworkCommissioning.Structs.ThreadInterfaceScanResult]]' = None
+ def cluster_id(cls) -> int:
+ return 0x0035
- @dataclass
- class AddOrUpdateWiFiNetwork(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0031
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFFC
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="ssid", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="credentials", Tag=1, Type=bytes),
- ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=typing.Optional[uint]),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
- ssid: 'bytes' = b""
- credentials: 'bytes' = b""
- breadcrumb: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class AddOrUpdateThreadNetwork(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0031
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
-
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="operationalDataset", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]),
- ])
-
- operationalDataset: 'bytes' = b""
- breadcrumb: 'typing.Optional[uint]' = None
+ def cluster_id(cls) -> int:
+ return 0x0035
- @dataclass
- class RemoveNetwork(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0031
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFFD
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
- networkID: 'bytes' = b""
- breadcrumb: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
- @dataclass
- class NetworkConfigResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0031
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = False
+ class Events:
+ @dataclass
+ class ConnectionStatus(ClusterEvent):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus),
- ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="networkIndex", Tag=2, Type=typing.Optional[uint]),
- ])
-
- networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0
- debugText: 'typing.Optional[str]' = None
- networkIndex: 'typing.Optional[uint]' = None
+ def cluster_id(cls) -> int:
+ return 0x0035
- @dataclass
- class ConnectNetwork(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0031
- command_id: typing.ClassVar[int] = 0x0006
- is_client: typing.ClassVar[bool] = True
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000000
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=1, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=ThreadNetworkDiagnostics.Enums.ThreadConnectionStatus),
])
- networkID: 'bytes' = b""
- breadcrumb: 'typing.Optional[uint]' = None
+ connectionStatus: 'ThreadNetworkDiagnostics.Enums.ThreadConnectionStatus' = 0
- @dataclass
- class ConnectNetworkResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0031
- command_id: typing.ClassVar[int] = 0x0007
- is_client: typing.ClassVar[bool] = False
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="networkingStatus", Tag=0, Type=NetworkCommissioning.Enums.NetworkCommissioningStatus),
- ClusterObjectFieldDescriptor(Label="debugText", Tag=1, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="errorValue", Tag=2, Type=typing.Union[Nullable, int]),
- ])
+@dataclass
+class WiFiNetworkDiagnostics(Cluster):
+ id: typing.ClassVar[int] = 0x0036
- networkingStatus: 'NetworkCommissioning.Enums.NetworkCommissioningStatus' = 0
- debugText: 'typing.Optional[str]' = None
- errorValue: 'typing.Union[Nullable, int]' = NullValue
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="bssid", Tag=0x00000000, Type=typing.Union[Nullable, bytes]),
+ ClusterObjectFieldDescriptor(Label="securityType", Tag=0x00000001, Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityType]),
+ ClusterObjectFieldDescriptor(Label="wiFiVersion", Tag=0x00000002, Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionType]),
+ ClusterObjectFieldDescriptor(Label="channelNumber", Tag=0x00000003, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="rssi", Tag=0x00000004, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="beaconLostCount", Tag=0x00000005, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="beaconRxCount", Tag=0x00000006, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="packetMulticastRxCount", Tag=0x00000007, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="packetMulticastTxCount", Tag=0x00000008, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="packetUnicastRxCount", Tag=0x00000009, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="packetUnicastTxCount", Tag=0x0000000A, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="currentMaxRate", Tag=0x0000000B, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x0000000C, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ bssid: 'typing.Union[Nullable, bytes]' = None
+ securityType: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityType]' = None
+ wiFiVersion: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionType]' = None
+ channelNumber: 'typing.Union[Nullable, uint]' = None
+ rssi: 'typing.Union[Nullable, int]' = None
+ beaconLostCount: 'typing.Optional[uint]' = None
+ beaconRxCount: 'typing.Optional[uint]' = None
+ packetMulticastRxCount: 'typing.Optional[uint]' = None
+ packetMulticastTxCount: 'typing.Optional[uint]' = None
+ packetUnicastRxCount: 'typing.Optional[uint]' = None
+ packetUnicastTxCount: 'typing.Optional[uint]' = None
+ currentMaxRate: 'typing.Optional[uint]' = None
+ overrunCount: 'typing.Optional[uint]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+
+ class Enums:
+ class AssociationFailureCause(IntEnum):
+ kUnknown = 0x00
+ kAssociationFailed = 0x01
+ kAuthenticationFailed = 0x02
+ kSsidNotFound = 0x03
+
+ class SecurityType(IntEnum):
+ kUnspecified = 0x00
+ kNone = 0x01
+ kWep = 0x02
+ kWpa = 0x03
+ kWpa2 = 0x04
+ kWpa3 = 0x05
+
+ class WiFiConnectionStatus(IntEnum):
+ kConnected = 0x00
+ kNotConnected = 0x01
+ class WiFiVersionType(IntEnum):
+ k80211a = 0x00
+ k80211b = 0x01
+ k80211g = 0x02
+ k80211n = 0x03
+ k80211ac = 0x04
+ k80211ax = 0x05
+
+
+
+ class Commands:
@dataclass
- class ReorderNetwork(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0031
- command_id: typing.ClassVar[int] = 0x0008
+ 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 = [
- ClusterObjectFieldDescriptor(Label="networkID", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="networkIndex", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="breadcrumb", Tag=2, Type=typing.Optional[uint]),
])
- networkID: 'bytes' = b""
- networkIndex: 'uint' = 0
- breadcrumb: 'typing.Optional[uint]' = None
class Attributes:
@dataclass
- class MaxNetworks(ClusterAttributeDescriptor):
+ class Bssid(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -9882,15 +9274,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes])
- value: 'uint' = 0
+ value: 'typing.Union[Nullable, bytes]' = NullValue
@dataclass
- class Networks(ClusterAttributeDescriptor):
+ class SecurityType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -9898,15 +9290,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[NetworkCommissioning.Structs.NetworkInfo])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityType])
- value: 'typing.List[NetworkCommissioning.Structs.NetworkInfo]' = field(default_factory=lambda: [])
+ value: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityType]' = NullValue
@dataclass
- class ScanMaxTimeSeconds(ClusterAttributeDescriptor):
+ class WiFiVersion(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -9914,15 +9306,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionType])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionType]' = NullValue
@dataclass
- class ConnectMaxTimeSeconds(ClusterAttributeDescriptor):
+ class ChannelNumber(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -9930,15 +9322,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class InterfaceEnabled(ClusterAttributeDescriptor):
+ class Rssi(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -9946,15 +9338,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
- value: 'bool' = False
+ value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
- class LastNetworkingStatus(ClusterAttributeDescriptor):
+ class BeaconLostCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -9962,15 +9354,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, NetworkCommissioning.Enums.NetworkCommissioningStatus]' = NullValue
+ value: 'typing.Optional[uint]' = None
@dataclass
- class LastNetworkID(ClusterAttributeDescriptor):
+ class BeaconRxCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -9978,15 +9370,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, bytes]' = NullValue
+ value: 'typing.Optional[uint]' = None
@dataclass
- class LastConnectErrorValue(ClusterAttributeDescriptor):
+ class PacketMulticastRxCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -9994,15 +9386,95 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, int]' = NullValue
+ value: 'typing.Optional[uint]' = None
+
+ @dataclass
+ class PacketMulticastTxCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0036
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000008
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
+
+ @dataclass
+ class PacketUnicastRxCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0036
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000009
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
+
+ @dataclass
+ class PacketUnicastTxCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0036
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000000A
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
+
+ @dataclass
+ class CurrentMaxRate(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0036
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000000B
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
+
+ @dataclass
+ class OverrunCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0036
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000000C
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -10018,7 +9490,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -10034,7 +9506,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -10050,7 +9522,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -10066,7 +9538,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0031
+ return 0x0036
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -10079,15 +9551,84 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
+ class Events:
+ @dataclass
+ class Disconnection(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0036
-@dataclass
-class DiagnosticLogs(Cluster):
- id: typing.ClassVar[int] = 0x0032
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000000
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="reasonCode", Tag=0, Type=uint),
+ ])
+
+ reasonCode: 'uint' = 0
+
+ @dataclass
+ class AssociationFailure(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0036
+
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000001
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="associationFailure", Tag=0, Type=WiFiNetworkDiagnostics.Enums.AssociationFailureCause),
+ ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint),
+ ])
+
+ associationFailure: 'WiFiNetworkDiagnostics.Enums.AssociationFailureCause' = 0
+ status: 'uint' = 0
+
+ @dataclass
+ class ConnectionStatus(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0036
+
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000002
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=WiFiNetworkDiagnostics.Enums.WiFiConnectionStatus),
+ ])
+
+ connectionStatus: 'WiFiNetworkDiagnostics.Enums.WiFiConnectionStatus' = 0
+
+
+@dataclass
+class EthernetNetworkDiagnostics(Cluster):
+ id: typing.ClassVar[int] = 0x0037
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
Fields = [
+ ClusterObjectFieldDescriptor(Label="PHYRate", Tag=0x00000000, Type=typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateType]),
+ ClusterObjectFieldDescriptor(Label="fullDuplex", Tag=0x00000001, Type=typing.Union[None, Nullable, bool]),
+ ClusterObjectFieldDescriptor(Label="packetRxCount", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="packetTxCount", Tag=0x00000003, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="txErrCount", Tag=0x00000004, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="collisionCount", Tag=0x00000005, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x00000006, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="carrierDetect", Tag=0x00000007, Type=typing.Union[None, Nullable, bool]),
+ ClusterObjectFieldDescriptor(Label="timeSinceReset", Tag=0x00000008, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -10095,6 +9636,15 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
+ PHYRate: 'typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateType]' = None
+ fullDuplex: 'typing.Union[None, Nullable, bool]' = None
+ packetRxCount: 'typing.Optional[uint]' = None
+ packetTxCount: 'typing.Optional[uint]' = None
+ txErrCount: 'typing.Optional[uint]' = None
+ collisionCount: 'typing.Optional[uint]' = None
+ overrunCount: 'typing.Optional[uint]' = None
+ carrierDetect: 'typing.Union[None, Nullable, bool]' = None
+ timeSinceReset: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -10102,28 +9652,24 @@ def descriptor(cls) -> ClusterObjectDescriptor:
clusterRevision: 'uint' = None
class Enums:
- class LogsIntent(IntEnum):
- kEndUserSupport = 0x00
- kNetworkDiag = 0x01
- kCrashLogs = 0x02
-
- class LogsStatus(IntEnum):
- kSuccess = 0x00
- kExhausted = 0x01
- kNoLogs = 0x02
- kBusy = 0x03
- kDenied = 0x04
-
- class LogsTransferProtocol(IntEnum):
- kResponsePayload = 0x00
- kBdx = 0x01
+ class 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 RetrieveLogsRequest(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0032
+ class ResetCounts(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0037
command_id: typing.ClassVar[int] = 0x0000
is_client: typing.ClassVar[bool] = True
@@ -10131,402 +9677,267 @@ class RetrieveLogsRequest(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="intent", Tag=0, Type=DiagnosticLogs.Enums.LogsIntent),
- ClusterObjectFieldDescriptor(Label="requestedProtocol", Tag=1, Type=DiagnosticLogs.Enums.LogsTransferProtocol),
- ClusterObjectFieldDescriptor(Label="transferFileDesignator", Tag=2, Type=bytes),
])
- intent: 'DiagnosticLogs.Enums.LogsIntent' = 0
- requestedProtocol: 'DiagnosticLogs.Enums.LogsTransferProtocol' = 0
- transferFileDesignator: 'bytes' = b""
+
+ class Attributes:
@dataclass
- class RetrieveLogsResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0032
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
+ class PHYRate(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0037
@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),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000000
- status: 'DiagnosticLogs.Enums.LogsStatus' = 0
- content: 'bytes' = b""
- timeStamp: 'uint' = 0
- timeSinceBoot: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateType])
+ value: 'typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateType]' = None
- class Attributes:
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class FullDuplex(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0032
+ return 0x0037
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, bool])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, bool]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class PacketRxCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0032
+ return 0x0037
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class PacketTxCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0032
+ return 0x0037
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class TxErrCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0032
+ return 0x0037
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class CollisionCount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0032
+ return 0x0037
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
+ @dataclass
+ class OverrunCount(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0037
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000006
-@dataclass
-class GeneralDiagnostics(Cluster):
- id: typing.ClassVar[int] = 0x0033
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="networkInterfaces", Tag=0x00000000, Type=typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType]),
- ClusterObjectFieldDescriptor(Label="rebootCount", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="upTime", Tag=0x00000002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="totalOperationalHours", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="bootReasons", Tag=0x00000004, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="activeHardwareFaults", Tag=0x00000005, Type=typing.Optional[typing.List[uint]]),
- ClusterObjectFieldDescriptor(Label="activeRadioFaults", Tag=0x00000006, Type=typing.Optional[typing.List[uint]]),
- ClusterObjectFieldDescriptor(Label="activeNetworkFaults", Tag=0x00000007, Type=typing.Optional[typing.List[uint]]),
- ClusterObjectFieldDescriptor(Label="testEventTriggersEnabled", Tag=0x00000008, Type=bool),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ value: 'typing.Optional[uint]' = None
- networkInterfaces: 'typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType]' = None
- rebootCount: 'uint' = None
- upTime: 'typing.Optional[uint]' = None
- totalOperationalHours: 'typing.Optional[uint]' = None
- bootReasons: 'typing.Optional[uint]' = None
- activeHardwareFaults: 'typing.Optional[typing.List[uint]]' = None
- activeRadioFaults: 'typing.Optional[typing.List[uint]]' = None
- activeNetworkFaults: 'typing.Optional[typing.List[uint]]' = None
- testEventTriggersEnabled: 'bool' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class CarrierDetect(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0037
- 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="isOperational", Tag=1, Type=bool),
- ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv4", Tag=2, Type=typing.Union[Nullable, bool]),
- ClusterObjectFieldDescriptor(Label="offPremiseServicesReachableIPv6", Tag=3, Type=typing.Union[Nullable, bool]),
- ClusterObjectFieldDescriptor(Label="hardwareAddress", Tag=4, Type=bytes),
- ClusterObjectFieldDescriptor(Label="IPv4Addresses", Tag=5, Type=typing.List[bytes]),
- ClusterObjectFieldDescriptor(Label="IPv6Addresses", Tag=6, Type=typing.List[bytes]),
- ClusterObjectFieldDescriptor(Label="type", Tag=7, Type=GeneralDiagnostics.Enums.InterfaceType),
- ])
-
- name: 'str' = ""
- isOperational: 'bool' = False
- offPremiseServicesReachableIPv4: 'typing.Union[Nullable, bool]' = NullValue
- offPremiseServicesReachableIPv6: 'typing.Union[Nullable, bool]' = NullValue
- hardwareAddress: 'bytes' = b""
- IPv4Addresses: 'typing.List[bytes]' = field(default_factory=lambda: [])
- IPv6Addresses: 'typing.List[bytes]' = field(default_factory=lambda: [])
- type: 'GeneralDiagnostics.Enums.InterfaceType' = 0
-
-
-
- class Commands:
- @dataclass
- class TestEventTrigger(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0033
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="enableKey", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="eventTrigger", Tag=1, Type=uint),
- ])
-
- enableKey: 'bytes' = b""
- eventTrigger: 'uint' = 0
-
-
- class Attributes:
- @dataclass
- class NetworkInterfaces(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0033
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, bool])
- value: 'typing.List[GeneralDiagnostics.Structs.NetworkInterfaceType]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, bool]' = None
@dataclass
- class RebootCount(ClusterAttributeDescriptor):
+ class TimeSinceReset(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0037
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class UpTime(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0037
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class TotalOperationalHours(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0037
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class BootReasons(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0037
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ActiveHardwareFaults(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0037
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000005
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[typing.List[uint]]' = None
+ value: 'uint' = 0
@dataclass
- class ActiveRadioFaults(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0037
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000006
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[typing.List[uint]]' = None
+ value: 'uint' = 0
- @dataclass
- class ActiveNetworkFaults(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0033
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000007
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]])
+@dataclass
+class TimeSynchronization(Cluster):
+ id: typing.ClassVar[int] = 0x0038
- value: 'typing.Optional[typing.List[uint]]' = None
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
- @dataclass
- class TestEventTriggersEnabled(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0033
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000008
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
- value: 'bool' = False
+ class Attributes:
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0038
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -10542,7 +9953,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0038
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -10558,7 +9969,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0038
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -10574,7 +9985,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0038
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -10590,7 +10001,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0038
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -10603,183 +10014,167 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
- class Events:
- @dataclass
- class HardwareFaultChange(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0033
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
+@dataclass
+class BridgedDeviceBasic(Cluster):
+ id: typing.ClassVar[int] = 0x0039
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultType]),
- ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.HardwareFaultType]),
- ])
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000001, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="productName", Tag=0x00000003, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="nodeLabel", Tag=0x00000005, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=0x00000007, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="hardwareVersionString", Tag=0x00000008, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0x00000009, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=0x0000000A, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="manufacturingDate", Tag=0x0000000B, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="partNumber", Tag=0x0000000C, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="productURL", Tag=0x0000000D, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="productLabel", Tag=0x0000000E, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="serialNumber", Tag=0x0000000F, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="reachable", Tag=0x00000011, Type=bool),
+ ClusterObjectFieldDescriptor(Label="uniqueID", Tag=0x00000012, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
- current: 'typing.List[GeneralDiagnostics.Enums.HardwareFaultType]' = field(default_factory=lambda: [])
- previous: 'typing.List[GeneralDiagnostics.Enums.HardwareFaultType]' = field(default_factory=lambda: [])
+ vendorName: 'typing.Optional[str]' = None
+ vendorID: 'typing.Optional[uint]' = None
+ productName: 'typing.Optional[str]' = None
+ nodeLabel: 'typing.Optional[str]' = None
+ hardwareVersion: 'typing.Optional[uint]' = None
+ hardwareVersionString: 'typing.Optional[str]' = None
+ softwareVersion: 'typing.Optional[uint]' = None
+ softwareVersionString: 'typing.Optional[str]' = None
+ manufacturingDate: 'typing.Optional[str]' = None
+ partNumber: 'typing.Optional[str]' = None
+ productURL: 'typing.Optional[str]' = None
+ productLabel: 'typing.Optional[str]' = None
+ serialNumber: 'typing.Optional[str]' = None
+ reachable: 'bool' = None
+ uniqueID: 'typing.Optional[str]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+
+
+
+ class Attributes:
@dataclass
- class RadioFaultChange(ClusterEvent):
+ class VendorName(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0039
@ChipUtility.classproperty
- def event_id(cls) -> int:
+ def attribute_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultType]),
- ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.RadioFaultType]),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- current: 'typing.List[GeneralDiagnostics.Enums.RadioFaultType]' = field(default_factory=lambda: [])
- previous: 'typing.List[GeneralDiagnostics.Enums.RadioFaultType]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[str]' = None
@dataclass
- class NetworkFaultChange(ClusterEvent):
+ class VendorID(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0039
@ChipUtility.classproperty
- def event_id(cls) -> int:
+ def attribute_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="current", Tag=0, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultType]),
- ClusterObjectFieldDescriptor(Label="previous", Tag=1, Type=typing.List[GeneralDiagnostics.Enums.NetworkFaultType]),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- current: 'typing.List[GeneralDiagnostics.Enums.NetworkFaultType]' = field(default_factory=lambda: [])
- previous: 'typing.List[GeneralDiagnostics.Enums.NetworkFaultType]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class BootReason(ClusterEvent):
+ class ProductName(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0033
+ return 0x0039
@ChipUtility.classproperty
- def event_id(cls) -> int:
+ def attribute_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="bootReason", Tag=0, Type=GeneralDiagnostics.Enums.BootReasonType),
- ])
-
- bootReason: 'GeneralDiagnostics.Enums.BootReasonType' = 0
-
-
-@dataclass
-class SoftwareDiagnostics(Cluster):
- id: typing.ClassVar[int] = 0x0034
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="threadMetrics", Tag=0x00000000, Type=typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]]),
- ClusterObjectFieldDescriptor(Label="currentHeapFree", Tag=0x00000001, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="currentHeapUsed", Tag=0x00000002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="currentHeapHighWatermark", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- threadMetrics: 'typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]]' = None
- currentHeapFree: 'typing.Optional[uint]' = None
- currentHeapUsed: 'typing.Optional[uint]' = None
- currentHeapHighWatermark: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ value: 'typing.Optional[str]' = None
- class Structs:
@dataclass
- class ThreadMetrics(ClusterObject):
+ class NodeLabel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="id", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="stackFreeCurrent", Tag=2, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="stackFreeMinimum", Tag=3, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="stackSize", Tag=4, Type=typing.Optional[uint]),
- ])
+ def cluster_id(cls) -> int:
+ return 0x0039
- id: 'uint' = 0
- name: 'typing.Optional[str]' = None
- stackFreeCurrent: 'typing.Optional[uint]' = None
- stackFreeMinimum: 'typing.Optional[uint]' = None
- stackSize: 'typing.Optional[uint]' = None
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000005
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ value: 'typing.Optional[str]' = None
- class Commands:
@dataclass
- class ResetWatermarks(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0034
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
+ class HardwareVersion(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0039
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000007
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class ThreadMetrics(ClusterAttributeDescriptor):
+ class HardwareVersionString(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0034
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.Optional[typing.List[SoftwareDiagnostics.Structs.ThreadMetrics]]' = None
+ value: 'typing.Optional[str]' = None
@dataclass
- class CurrentHeapFree(ClusterAttributeDescriptor):
+ class SoftwareVersion(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0034
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -10788,9892 +10183,299 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class CurrentHeapUsed(ClusterAttributeDescriptor):
+ class SoftwareVersionString(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0034
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Optional[str]' = None
@dataclass
- class CurrentHeapHighWatermark(ClusterAttributeDescriptor):
+ class ManufacturingDate(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0034
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000000B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Optional[str]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class PartNumber(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0034
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x0000000C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[str]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class ProductURL(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0034
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x0000000D
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[str]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class ProductLabel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0034
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x0000000E
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[str]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class SerialNumber(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0034
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x0000000F
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'uint' = 0
+ value: 'typing.Optional[str]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class Reachable(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0034
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000011
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
+ return ClusterObjectFieldDescriptor(Type=bool)
+ value: 'bool' = False
- class Events:
@dataclass
- class SoftwareFault(ClusterEvent):
+ class UniqueID(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0034
+ return 0x0039
@ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
+ def attribute_id(cls) -> int:
+ return 0x00000012
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="id", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="faultRecording", Tag=2, Type=typing.Optional[bytes]),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- id: 'uint' = 0
- name: 'typing.Optional[str]' = None
- faultRecording: 'typing.Optional[bytes]' = None
-
-
-@dataclass
-class ThreadNetworkDiagnostics(Cluster):
- id: typing.ClassVar[int] = 0x0035
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="channel", Tag=0x00000000, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="routingRole", Tag=0x00000001, Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole]),
- ClusterObjectFieldDescriptor(Label="networkName", Tag=0x00000002, Type=typing.Union[Nullable, str]),
- ClusterObjectFieldDescriptor(Label="panId", Tag=0x00000003, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="extendedPanId", Tag=0x00000004, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="meshLocalPrefix", Tag=0x00000005, Type=typing.Union[Nullable, bytes]),
- ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x00000006, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="neighborTableList", Tag=0x00000007, Type=typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]),
- ClusterObjectFieldDescriptor(Label="routeTableList", Tag=0x00000008, Type=typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]),
- ClusterObjectFieldDescriptor(Label="partitionId", Tag=0x00000009, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="weighting", Tag=0x0000000A, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="dataVersion", Tag=0x0000000B, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="stableDataVersion", Tag=0x0000000C, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="leaderRouterId", Tag=0x0000000D, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="detachedRoleCount", Tag=0x0000000E, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="childRoleCount", Tag=0x0000000F, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="routerRoleCount", Tag=0x00000010, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="leaderRoleCount", Tag=0x00000011, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="attachAttemptCount", Tag=0x00000012, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="partitionIdChangeCount", Tag=0x00000013, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="betterPartitionAttachAttemptCount", Tag=0x00000014, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="parentChangeCount", Tag=0x00000015, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txTotalCount", Tag=0x00000016, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txUnicastCount", Tag=0x00000017, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txBroadcastCount", Tag=0x00000018, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txAckRequestedCount", Tag=0x00000019, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txAckedCount", Tag=0x0000001A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txNoAckRequestedCount", Tag=0x0000001B, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txDataCount", Tag=0x0000001C, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txDataPollCount", Tag=0x0000001D, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txBeaconCount", Tag=0x0000001E, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txBeaconRequestCount", Tag=0x0000001F, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txOtherCount", Tag=0x00000020, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txRetryCount", Tag=0x00000021, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txDirectMaxRetryExpiryCount", Tag=0x00000022, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txIndirectMaxRetryExpiryCount", Tag=0x00000023, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txErrCcaCount", Tag=0x00000024, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txErrAbortCount", Tag=0x00000025, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txErrBusyChannelCount", Tag=0x00000026, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxTotalCount", Tag=0x00000027, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxUnicastCount", Tag=0x00000028, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxBroadcastCount", Tag=0x00000029, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxDataCount", Tag=0x0000002A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxDataPollCount", Tag=0x0000002B, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxBeaconCount", Tag=0x0000002C, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxBeaconRequestCount", Tag=0x0000002D, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxOtherCount", Tag=0x0000002E, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxAddressFilteredCount", Tag=0x0000002F, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxDestAddrFilteredCount", Tag=0x00000030, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxDuplicatedCount", Tag=0x00000031, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxErrNoFrameCount", Tag=0x00000032, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxErrUnknownNeighborCount", Tag=0x00000033, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxErrInvalidSrcAddrCount", Tag=0x00000034, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxErrSecCount", Tag=0x00000035, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxErrFcsCount", Tag=0x00000036, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rxErrOtherCount", Tag=0x00000037, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="activeTimestamp", Tag=0x00000038, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="pendingTimestamp", Tag=0x00000039, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="delay", Tag=0x0000003A, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="securityPolicy", Tag=0x0000003B, Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy]),
- ClusterObjectFieldDescriptor(Label="channelMask", Tag=0x0000003C, Type=typing.Union[Nullable, bytes]),
- ClusterObjectFieldDescriptor(Label="operationalDatasetComponents", Tag=0x0000003D, Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]),
- ClusterObjectFieldDescriptor(Label="activeNetworkFaultsList", Tag=0x0000003E, Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- channel: 'typing.Union[Nullable, uint]' = None
- routingRole: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole]' = None
- networkName: 'typing.Union[Nullable, str]' = None
- panId: 'typing.Union[Nullable, uint]' = None
- extendedPanId: 'typing.Union[Nullable, uint]' = None
- meshLocalPrefix: 'typing.Union[Nullable, bytes]' = None
- overrunCount: 'typing.Optional[uint]' = None
- neighborTableList: 'typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]' = None
- routeTableList: 'typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]' = None
- partitionId: 'typing.Union[Nullable, uint]' = None
- weighting: 'typing.Union[Nullable, uint]' = None
- dataVersion: 'typing.Union[Nullable, uint]' = None
- stableDataVersion: 'typing.Union[Nullable, uint]' = None
- leaderRouterId: 'typing.Union[Nullable, uint]' = None
- detachedRoleCount: 'typing.Optional[uint]' = None
- childRoleCount: 'typing.Optional[uint]' = None
- routerRoleCount: 'typing.Optional[uint]' = None
- leaderRoleCount: 'typing.Optional[uint]' = None
- attachAttemptCount: 'typing.Optional[uint]' = None
- partitionIdChangeCount: 'typing.Optional[uint]' = None
- betterPartitionAttachAttemptCount: 'typing.Optional[uint]' = None
- parentChangeCount: 'typing.Optional[uint]' = None
- txTotalCount: 'typing.Optional[uint]' = None
- txUnicastCount: 'typing.Optional[uint]' = None
- txBroadcastCount: 'typing.Optional[uint]' = None
- txAckRequestedCount: 'typing.Optional[uint]' = None
- txAckedCount: 'typing.Optional[uint]' = None
- txNoAckRequestedCount: 'typing.Optional[uint]' = None
- txDataCount: 'typing.Optional[uint]' = None
- txDataPollCount: 'typing.Optional[uint]' = None
- txBeaconCount: 'typing.Optional[uint]' = None
- txBeaconRequestCount: 'typing.Optional[uint]' = None
- txOtherCount: 'typing.Optional[uint]' = None
- txRetryCount: 'typing.Optional[uint]' = None
- txDirectMaxRetryExpiryCount: 'typing.Optional[uint]' = None
- txIndirectMaxRetryExpiryCount: 'typing.Optional[uint]' = None
- txErrCcaCount: 'typing.Optional[uint]' = None
- txErrAbortCount: 'typing.Optional[uint]' = None
- txErrBusyChannelCount: 'typing.Optional[uint]' = None
- rxTotalCount: 'typing.Optional[uint]' = None
- rxUnicastCount: 'typing.Optional[uint]' = None
- rxBroadcastCount: 'typing.Optional[uint]' = None
- rxDataCount: 'typing.Optional[uint]' = None
- rxDataPollCount: 'typing.Optional[uint]' = None
- rxBeaconCount: 'typing.Optional[uint]' = None
- rxBeaconRequestCount: 'typing.Optional[uint]' = None
- rxOtherCount: 'typing.Optional[uint]' = None
- rxAddressFilteredCount: 'typing.Optional[uint]' = None
- rxDestAddrFilteredCount: 'typing.Optional[uint]' = None
- rxDuplicatedCount: 'typing.Optional[uint]' = None
- rxErrNoFrameCount: 'typing.Optional[uint]' = None
- rxErrUnknownNeighborCount: 'typing.Optional[uint]' = None
- rxErrInvalidSrcAddrCount: 'typing.Optional[uint]' = None
- rxErrSecCount: 'typing.Optional[uint]' = None
- rxErrFcsCount: 'typing.Optional[uint]' = None
- rxErrOtherCount: 'typing.Optional[uint]' = None
- activeTimestamp: 'typing.Union[None, Nullable, uint]' = None
- pendingTimestamp: 'typing.Union[None, Nullable, uint]' = None
- delay: 'typing.Union[None, Nullable, uint]' = None
- securityPolicy: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy]' = None
- channelMask: 'typing.Union[Nullable, bytes]' = None
- operationalDatasetComponents: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]' = None
- activeNetworkFaultsList: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class NetworkFault(IntEnum):
- kUnspecified = 0x00
- kLinkDown = 0x01
- kHardwareFailure = 0x02
- kNetworkJammed = 0x03
-
- class RoutingRole(IntEnum):
- kUnspecified = 0x00
- kUnassigned = 0x01
- kSleepyEndDevice = 0x02
- kEndDevice = 0x03
- kReed = 0x04
- kRouter = 0x05
- kLeader = 0x06
-
- class ThreadConnectionStatus(IntEnum):
- kConnected = 0x00
- kNotConnected = 0x01
-
-
- class Structs:
- @dataclass
- class NeighborTable(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="extAddress", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="age", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="rloc16", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="linkFrameCounter", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="mleFrameCounter", Tag=4, Type=uint),
- ClusterObjectFieldDescriptor(Label="lqi", Tag=5, Type=uint),
- ClusterObjectFieldDescriptor(Label="averageRssi", Tag=6, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="lastRssi", Tag=7, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="frameErrorRate", Tag=8, Type=uint),
- ClusterObjectFieldDescriptor(Label="messageErrorRate", Tag=9, Type=uint),
- ClusterObjectFieldDescriptor(Label="rxOnWhenIdle", Tag=10, Type=bool),
- ClusterObjectFieldDescriptor(Label="fullThreadDevice", Tag=11, Type=bool),
- ClusterObjectFieldDescriptor(Label="fullNetworkData", Tag=12, Type=bool),
- ClusterObjectFieldDescriptor(Label="isChild", Tag=13, Type=bool),
- ])
-
- extAddress: 'uint' = 0
- age: 'uint' = 0
- rloc16: 'uint' = 0
- linkFrameCounter: 'uint' = 0
- mleFrameCounter: 'uint' = 0
- lqi: 'uint' = 0
- averageRssi: 'typing.Union[Nullable, int]' = NullValue
- lastRssi: 'typing.Union[Nullable, int]' = NullValue
- frameErrorRate: 'uint' = 0
- messageErrorRate: 'uint' = 0
- rxOnWhenIdle: 'bool' = False
- fullThreadDevice: 'bool' = False
- fullNetworkData: 'bool' = False
- isChild: 'bool' = False
-
- @dataclass
- class OperationalDatasetComponents(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="activeTimestampPresent", Tag=0, Type=bool),
- ClusterObjectFieldDescriptor(Label="pendingTimestampPresent", Tag=1, Type=bool),
- ClusterObjectFieldDescriptor(Label="masterKeyPresent", Tag=2, Type=bool),
- ClusterObjectFieldDescriptor(Label="networkNamePresent", Tag=3, Type=bool),
- ClusterObjectFieldDescriptor(Label="extendedPanIdPresent", Tag=4, Type=bool),
- ClusterObjectFieldDescriptor(Label="meshLocalPrefixPresent", Tag=5, Type=bool),
- ClusterObjectFieldDescriptor(Label="delayPresent", Tag=6, Type=bool),
- ClusterObjectFieldDescriptor(Label="panIdPresent", Tag=7, Type=bool),
- ClusterObjectFieldDescriptor(Label="channelPresent", Tag=8, Type=bool),
- ClusterObjectFieldDescriptor(Label="pskcPresent", Tag=9, Type=bool),
- ClusterObjectFieldDescriptor(Label="securityPolicyPresent", Tag=10, Type=bool),
- ClusterObjectFieldDescriptor(Label="channelMaskPresent", Tag=11, Type=bool),
- ])
-
- activeTimestampPresent: 'bool' = False
- pendingTimestampPresent: 'bool' = False
- masterKeyPresent: 'bool' = False
- networkNamePresent: 'bool' = False
- extendedPanIdPresent: 'bool' = False
- meshLocalPrefixPresent: 'bool' = False
- delayPresent: 'bool' = False
- panIdPresent: 'bool' = False
- channelPresent: 'bool' = False
- pskcPresent: 'bool' = False
- securityPolicyPresent: 'bool' = False
- channelMaskPresent: 'bool' = False
-
- @dataclass
- class RouteTable(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="extAddress", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="rloc16", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="routerId", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="nextHop", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="pathCost", Tag=4, Type=uint),
- ClusterObjectFieldDescriptor(Label="LQIIn", Tag=5, Type=uint),
- ClusterObjectFieldDescriptor(Label="LQIOut", Tag=6, Type=uint),
- ClusterObjectFieldDescriptor(Label="age", Tag=7, Type=uint),
- ClusterObjectFieldDescriptor(Label="allocated", Tag=8, Type=bool),
- ClusterObjectFieldDescriptor(Label="linkEstablished", Tag=9, Type=bool),
- ])
-
- extAddress: 'uint' = 0
- rloc16: 'uint' = 0
- routerId: 'uint' = 0
- nextHop: 'uint' = 0
- pathCost: 'uint' = 0
- LQIIn: 'uint' = 0
- LQIOut: 'uint' = 0
- age: 'uint' = 0
- allocated: 'bool' = False
- linkEstablished: 'bool' = False
-
- @dataclass
- class SecurityPolicy(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="rotationTime", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="flags", Tag=1, Type=uint),
- ])
-
- rotationTime: 'uint' = 0
- flags: 'uint' = 0
-
-
-
- class Commands:
- @dataclass
- class ResetCounts(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0035
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
-
- class Attributes:
- @dataclass
- class Channel(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class RoutingRole(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole])
-
- value: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Enums.RoutingRole]' = NullValue
-
- @dataclass
- class NetworkName(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, str])
-
- value: 'typing.Union[Nullable, str]' = NullValue
-
- @dataclass
- class PanId(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class ExtendedPanId(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class MeshLocalPrefix(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes])
-
- value: 'typing.Union[Nullable, bytes]' = NullValue
-
- @dataclass
- class OverrunCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000006
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class NeighborTableList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000007
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable])
-
- value: 'typing.List[ThreadNetworkDiagnostics.Structs.NeighborTable]' = field(default_factory=lambda: [])
-
- @dataclass
- class RouteTableList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000008
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Structs.RouteTable])
-
- value: 'typing.List[ThreadNetworkDiagnostics.Structs.RouteTable]' = field(default_factory=lambda: [])
-
- @dataclass
- class PartitionId(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000009
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class Weighting(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class DataVersion(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000B
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class StableDataVersion(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000C
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class LeaderRouterId(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000D
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class DetachedRoleCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000E
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class ChildRoleCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000F
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RouterRoleCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000010
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class LeaderRoleCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000011
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class AttachAttemptCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000012
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class PartitionIdChangeCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000013
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class BetterPartitionAttachAttemptCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000014
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class ParentChangeCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000015
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxTotalCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000016
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxUnicastCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000017
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxBroadcastCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000018
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxAckRequestedCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000019
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxAckedCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxNoAckRequestedCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001B
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxDataCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001C
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxDataPollCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001D
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxBeaconCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001E
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxBeaconRequestCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001F
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxOtherCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000020
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxRetryCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000021
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxDirectMaxRetryExpiryCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000022
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxIndirectMaxRetryExpiryCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000023
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxErrCcaCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000024
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxErrAbortCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000025
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxErrBusyChannelCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000026
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxTotalCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000027
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxUnicastCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000028
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxBroadcastCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000029
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxDataCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000002A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxDataPollCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000002B
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxBeaconCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000002C
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxBeaconRequestCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000002D
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxOtherCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000002E
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxAddressFilteredCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000002F
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxDestAddrFilteredCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000030
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxDuplicatedCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000031
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxErrNoFrameCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000032
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxErrUnknownNeighborCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000033
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxErrInvalidSrcAddrCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000034
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxErrSecCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000035
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxErrFcsCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000036
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RxErrOtherCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000037
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class ActiveTimestamp(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000038
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class PendingTimestamp(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000039
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class Delay(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000003A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class SecurityPolicy(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000003B
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy])
-
- value: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.SecurityPolicy]' = NullValue
-
- @dataclass
- class ChannelMask(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000003C
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes])
-
- value: 'typing.Union[Nullable, bytes]' = NullValue
-
- @dataclass
- class OperationalDatasetComponents(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000003D
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents])
-
- value: 'typing.Union[Nullable, ThreadNetworkDiagnostics.Structs.OperationalDatasetComponents]' = NullValue
-
- @dataclass
- class ActiveNetworkFaultsList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000003E
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault])
-
- value: 'typing.List[ThreadNetworkDiagnostics.Enums.NetworkFault]' = field(default_factory=lambda: [])
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
- class Events:
- @dataclass
- class ConnectionStatus(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0035
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=ThreadNetworkDiagnostics.Enums.ThreadConnectionStatus),
- ])
-
- connectionStatus: 'ThreadNetworkDiagnostics.Enums.ThreadConnectionStatus' = 0
-
-
-@dataclass
-class WiFiNetworkDiagnostics(Cluster):
- id: typing.ClassVar[int] = 0x0036
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="bssid", Tag=0x00000000, Type=typing.Union[Nullable, bytes]),
- ClusterObjectFieldDescriptor(Label="securityType", Tag=0x00000001, Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityType]),
- ClusterObjectFieldDescriptor(Label="wiFiVersion", Tag=0x00000002, Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionType]),
- ClusterObjectFieldDescriptor(Label="channelNumber", Tag=0x00000003, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="rssi", Tag=0x00000004, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="beaconLostCount", Tag=0x00000005, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="beaconRxCount", Tag=0x00000006, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="packetMulticastRxCount", Tag=0x00000007, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="packetMulticastTxCount", Tag=0x00000008, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="packetUnicastRxCount", Tag=0x00000009, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="packetUnicastTxCount", Tag=0x0000000A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="currentMaxRate", Tag=0x0000000B, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x0000000C, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- bssid: 'typing.Union[Nullable, bytes]' = None
- securityType: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityType]' = None
- wiFiVersion: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionType]' = None
- channelNumber: 'typing.Union[Nullable, uint]' = None
- rssi: 'typing.Union[Nullable, int]' = None
- beaconLostCount: 'typing.Optional[uint]' = None
- beaconRxCount: 'typing.Optional[uint]' = None
- packetMulticastRxCount: 'typing.Optional[uint]' = None
- packetMulticastTxCount: 'typing.Optional[uint]' = None
- packetUnicastRxCount: 'typing.Optional[uint]' = None
- packetUnicastTxCount: 'typing.Optional[uint]' = None
- currentMaxRate: 'typing.Optional[uint]' = None
- overrunCount: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class AssociationFailureCause(IntEnum):
- kUnknown = 0x00
- kAssociationFailed = 0x01
- kAuthenticationFailed = 0x02
- kSsidNotFound = 0x03
-
- class SecurityType(IntEnum):
- kUnspecified = 0x00
- kNone = 0x01
- kWep = 0x02
- kWpa = 0x03
- kWpa2 = 0x04
- kWpa3 = 0x05
-
- class WiFiConnectionStatus(IntEnum):
- kConnected = 0x00
- kNotConnected = 0x01
-
- class WiFiVersionType(IntEnum):
- k80211a = 0x00
- k80211b = 0x01
- k80211g = 0x02
- k80211n = 0x03
- k80211ac = 0x04
- k80211ax = 0x05
-
-
-
- class Commands:
- @dataclass
- class ResetCounts(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0036
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
-
- class Attributes:
- @dataclass
- class Bssid(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, bytes])
-
- value: 'typing.Union[Nullable, bytes]' = NullValue
-
- @dataclass
- class SecurityType(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityType])
-
- value: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.SecurityType]' = NullValue
-
- @dataclass
- class WiFiVersion(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionType])
-
- value: 'typing.Union[Nullable, WiFiNetworkDiagnostics.Enums.WiFiVersionType]' = NullValue
-
- @dataclass
- class ChannelNumber(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class Rssi(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
-
- value: 'typing.Union[Nullable, int]' = NullValue
-
- @dataclass
- class BeaconLostCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class BeaconRxCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000006
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class PacketMulticastRxCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000007
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class PacketMulticastTxCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000008
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class PacketUnicastRxCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000009
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class PacketUnicastTxCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class CurrentMaxRate(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000B
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class OverrunCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000C
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
- class Events:
- @dataclass
- class Disconnection(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="reasonCode", Tag=0, Type=uint),
- ])
-
- reasonCode: 'uint' = 0
-
- @dataclass
- class AssociationFailure(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="associationFailure", Tag=0, Type=WiFiNetworkDiagnostics.Enums.AssociationFailureCause),
- ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=uint),
- ])
-
- associationFailure: 'WiFiNetworkDiagnostics.Enums.AssociationFailureCause' = 0
- status: 'uint' = 0
-
- @dataclass
- class ConnectionStatus(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0036
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="connectionStatus", Tag=0, Type=WiFiNetworkDiagnostics.Enums.WiFiConnectionStatus),
- ])
-
- connectionStatus: 'WiFiNetworkDiagnostics.Enums.WiFiConnectionStatus' = 0
-
-
-@dataclass
-class EthernetNetworkDiagnostics(Cluster):
- id: typing.ClassVar[int] = 0x0037
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="PHYRate", Tag=0x00000000, Type=typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateType]),
- ClusterObjectFieldDescriptor(Label="fullDuplex", Tag=0x00000001, Type=typing.Union[None, Nullable, bool]),
- ClusterObjectFieldDescriptor(Label="packetRxCount", Tag=0x00000002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="packetTxCount", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="txErrCount", Tag=0x00000004, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="collisionCount", Tag=0x00000005, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="overrunCount", Tag=0x00000006, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="carrierDetect", Tag=0x00000007, Type=typing.Union[None, Nullable, bool]),
- ClusterObjectFieldDescriptor(Label="timeSinceReset", Tag=0x00000008, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- PHYRate: 'typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateType]' = None
- fullDuplex: 'typing.Union[None, Nullable, bool]' = None
- packetRxCount: 'typing.Optional[uint]' = None
- packetTxCount: 'typing.Optional[uint]' = None
- txErrCount: 'typing.Optional[uint]' = None
- collisionCount: 'typing.Optional[uint]' = None
- overrunCount: 'typing.Optional[uint]' = None
- carrierDetect: 'typing.Union[None, Nullable, bool]' = None
- timeSinceReset: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class PHYRateType(IntEnum):
- k10m = 0x00
- k100m = 0x01
- k1000m = 0x02
- k25g = 0x03
- k5g = 0x04
- k10g = 0x05
- k40g = 0x06
- k100g = 0x07
- k200g = 0x08
- k400g = 0x09
-
-
-
- class Commands:
- @dataclass
- class ResetCounts(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0037
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
-
- class Attributes:
- @dataclass
- class PHYRate(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateType])
-
- value: 'typing.Union[None, Nullable, EthernetNetworkDiagnostics.Enums.PHYRateType]' = None
-
- @dataclass
- class FullDuplex(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, bool])
-
- value: 'typing.Union[None, Nullable, bool]' = None
-
- @dataclass
- class PacketRxCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class PacketTxCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TxErrCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class CollisionCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class OverrunCount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000006
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class CarrierDetect(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000007
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, bool])
-
- value: 'typing.Union[None, Nullable, bool]' = None
-
- @dataclass
- class TimeSinceReset(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000008
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0037
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class TimeSynchronization(Cluster):
- id: typing.ClassVar[int] = 0x0038
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0038
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0038
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0038
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0038
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0038
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class BridgedDeviceBasic(Cluster):
- id: typing.ClassVar[int] = 0x0039
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000001, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="productName", Tag=0x00000003, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="nodeLabel", Tag=0x00000005, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="hardwareVersion", Tag=0x00000007, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="hardwareVersionString", Tag=0x00000008, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0x00000009, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="softwareVersionString", Tag=0x0000000A, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="manufacturingDate", Tag=0x0000000B, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="partNumber", Tag=0x0000000C, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="productURL", Tag=0x0000000D, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="productLabel", Tag=0x0000000E, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="serialNumber", Tag=0x0000000F, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="reachable", Tag=0x00000011, Type=bool),
- ClusterObjectFieldDescriptor(Label="uniqueID", Tag=0x00000012, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- vendorName: 'typing.Optional[str]' = None
- vendorID: 'typing.Optional[uint]' = None
- productName: 'typing.Optional[str]' = None
- nodeLabel: 'typing.Optional[str]' = None
- hardwareVersion: 'typing.Optional[uint]' = None
- hardwareVersionString: 'typing.Optional[str]' = None
- softwareVersion: 'typing.Optional[uint]' = None
- softwareVersionString: 'typing.Optional[str]' = None
- manufacturingDate: 'typing.Optional[str]' = None
- partNumber: 'typing.Optional[str]' = None
- productURL: 'typing.Optional[str]' = None
- productLabel: 'typing.Optional[str]' = None
- serialNumber: 'typing.Optional[str]' = None
- reachable: 'bool' = None
- uniqueID: 'typing.Optional[str]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
- @dataclass
- class VendorName(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class VendorID(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class ProductName(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class NodeLabel(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class HardwareVersion(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000007
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class HardwareVersionString(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000008
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class SoftwareVersion(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000009
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class SoftwareVersionString(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class ManufacturingDate(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000B
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class PartNumber(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000C
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class ProductURL(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000D
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class ProductLabel(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000E
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class SerialNumber(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000F
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class Reachable(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000011
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
-
- value: 'bool' = False
-
- @dataclass
- class UniqueID(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000012
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
- class Events:
- @dataclass
- class StartUp(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint),
- ])
-
- softwareVersion: 'uint' = 0
-
- @dataclass
- class ShutDown(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class Leave(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class ReachableChanged(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0039
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="reachableNewValue", Tag=0, Type=bool),
- ])
-
- reachableNewValue: 'bool' = False
-
-
-@dataclass
-class Switch(Cluster):
- id: typing.ClassVar[int] = 0x003B
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="numberOfPositions", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="currentPosition", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="multiPressMax", Tag=0x00000002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- numberOfPositions: 'uint' = None
- currentPosition: 'uint' = None
- multiPressMax: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
- @dataclass
- class NumberOfPositions(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class CurrentPosition(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class MultiPressMax(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
- class Events:
- @dataclass
- class SwitchLatched(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint),
- ])
-
- newPosition: 'uint' = 0
-
- @dataclass
- class InitialPress(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint),
- ])
-
- newPosition: 'uint' = 0
-
- @dataclass
- class LongPress(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint),
- ])
-
- newPosition: 'uint' = 0
-
- @dataclass
- class ShortRelease(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint),
- ])
-
- previousPosition: 'uint' = 0
-
- @dataclass
- class LongRelease(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint),
- ])
-
- previousPosition: 'uint' = 0
-
- @dataclass
- class MultiPressOngoing(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="currentNumberOfPressesCounted", Tag=1, Type=uint),
- ])
-
- newPosition: 'uint' = 0
- currentNumberOfPressesCounted: 'uint' = 0
-
- @dataclass
- class MultiPressComplete(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003B
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000006
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="totalNumberOfPressesCounted", Tag=1, Type=uint),
- ])
-
- newPosition: 'uint' = 0
- totalNumberOfPressesCounted: 'uint' = 0
-
-
-@dataclass
-class AdministratorCommissioning(Cluster):
- id: typing.ClassVar[int] = 0x003C
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="windowStatus", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="adminFabricIndex", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=0x00000002, Type=uint),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- windowStatus: 'uint' = None
- adminFabricIndex: 'uint' = None
- adminVendorId: 'uint' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class CommissioningWindowStatus(IntEnum):
- kWindowNotOpen = 0x00
- kEnhancedWindowOpen = 0x01
- kBasicWindowOpen = 0x02
-
- class StatusCode(IntEnum):
- kBusy = 0x01
- kPAKEParameterError = 0x02
- kWindowNotOpen = 0x03
-
-
-
- class Commands:
- @dataclass
- class OpenCommissioningWindow(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003C
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="PAKEVerifier", Tag=1, Type=bytes),
- ClusterObjectFieldDescriptor(Label="discriminator", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="iterations", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="salt", Tag=4, Type=bytes),
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- commissioningTimeout: 'uint' = 0
- PAKEVerifier: 'bytes' = b""
- discriminator: 'uint' = 0
- iterations: 'uint' = 0
- salt: 'bytes' = b""
-
- @dataclass
- class OpenBasicCommissioningWindow(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003C
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint),
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- commissioningTimeout: 'uint' = 0
-
- @dataclass
- class RevokeCommissioning(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003C
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
-
-
- class Attributes:
- @dataclass
- class WindowStatus(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class AdminFabricIndex(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class AdminVendorId(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class OperationalCredentials(Cluster):
- id: typing.ClassVar[int] = 0x003E
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="NOCs", Tag=0x00000000, Type=typing.List[OperationalCredentials.Structs.NOCStruct]),
- ClusterObjectFieldDescriptor(Label="fabrics", Tag=0x00000001, Type=typing.List[OperationalCredentials.Structs.FabricDescriptor]),
- ClusterObjectFieldDescriptor(Label="supportedFabrics", Tag=0x00000002, Type=uint),
- ClusterObjectFieldDescriptor(Label="commissionedFabrics", Tag=0x00000003, Type=uint),
- ClusterObjectFieldDescriptor(Label="trustedRootCertificates", Tag=0x00000004, Type=typing.List[bytes]),
- ClusterObjectFieldDescriptor(Label="currentFabricIndex", Tag=0x00000005, Type=uint),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- NOCs: 'typing.List[OperationalCredentials.Structs.NOCStruct]' = None
- fabrics: 'typing.List[OperationalCredentials.Structs.FabricDescriptor]' = None
- supportedFabrics: 'uint' = None
- commissionedFabrics: 'uint' = None
- trustedRootCertificates: 'typing.List[bytes]' = None
- currentFabricIndex: 'uint' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class OperationalCertStatus(IntEnum):
- kSuccess = 0x00
- kInvalidPublicKey = 0x01
- kInvalidNodeOpId = 0x02
- kInvalidNOC = 0x03
- kMissingCsr = 0x04
- kTableFull = 0x05
- kInvalidAdminSubject = 0x06
- 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="rootPublicKey", Tag=1, Type=bytes),
- ClusterObjectFieldDescriptor(Label="vendorId", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="fabricId", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="nodeId", Tag=4, Type=uint),
- ClusterObjectFieldDescriptor(Label="label", Tag=5, Type=str),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
- ])
-
- rootPublicKey: 'bytes' = b""
- vendorId: 'uint' = 0
- fabricId: 'uint' = 0
- nodeId: 'uint' = 0
- label: 'str' = ""
- fabricIndex: 'uint' = 0
-
- @dataclass
- class NOCStruct(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="noc", Tag=1, Type=bytes),
- ClusterObjectFieldDescriptor(Label="icac", Tag=2, Type=typing.Union[Nullable, bytes]),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
- ])
-
- noc: 'bytes' = b""
- icac: 'typing.Union[Nullable, bytes]' = NullValue
- fabricIndex: 'uint' = 0
-
-
-
- class Commands:
- @dataclass
- class AttestationRequest(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003E
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="attestationNonce", Tag=0, Type=bytes),
- ])
-
- attestationNonce: 'bytes' = b""
-
- @dataclass
- class AttestationResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003E
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="attestationElements", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="signature", Tag=1, Type=bytes),
- ])
-
- attestationElements: 'bytes' = b""
- signature: 'bytes' = b""
-
- @dataclass
- class CertificateChainRequest(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003E
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="certificateType", Tag=0, Type=uint),
- ])
-
- certificateType: 'uint' = 0
-
- @dataclass
- class CertificateChainResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003E
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="certificate", Tag=0, Type=bytes),
- ])
-
- certificate: 'bytes' = b""
-
- @dataclass
- class CSRRequest(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),
- ClusterObjectFieldDescriptor(Label="isForUpdateNOC", Tag=1, Type=typing.Optional[bool]),
- ])
-
- CSRNonce: 'bytes' = b""
- isForUpdateNOC: 'typing.Optional[bool]' = None
-
- @dataclass
- class CSRResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003E
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="NOCSRElements", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="attestationSignature", Tag=1, Type=bytes),
- ])
-
- NOCSRElements: 'bytes' = b""
- attestationSignature: 'bytes' = b""
-
- @dataclass
- class AddNOC(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003E
- command_id: typing.ClassVar[int] = 0x0006
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="IPKValue", Tag=2, Type=bytes),
- ClusterObjectFieldDescriptor(Label="caseAdminSubject", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=4, Type=uint),
- ])
-
- NOCValue: 'bytes' = b""
- ICACValue: 'typing.Optional[bytes]' = None
- IPKValue: 'bytes' = b""
- caseAdminSubject: 'uint' = 0
- adminVendorId: 'uint' = 0
-
- @dataclass
- class UpdateNOC(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003E
- command_id: typing.ClassVar[int] = 0x0007
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes),
- ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=typing.Optional[bytes]),
- ])
-
- NOCValue: 'bytes' = b""
- ICACValue: 'typing.Optional[bytes]' = None
-
- @dataclass
- class NOCResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003E
- command_id: typing.ClassVar[int] = 0x0008
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="statusCode", Tag=0, Type=OperationalCredentials.Enums.OperationalCertStatus),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=1, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="debugText", Tag=2, Type=typing.Optional[str]),
- ])
-
- statusCode: 'OperationalCredentials.Enums.OperationalCertStatus' = 0
- fabricIndex: 'typing.Optional[uint]' = None
- debugText: 'typing.Optional[str]' = None
-
- @dataclass
- class UpdateFabricLabel(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003E
- command_id: typing.ClassVar[int] = 0x0009
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str),
- ])
-
- label: 'str' = ""
-
- @dataclass
- class RemoveFabric(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003E
- command_id: typing.ClassVar[int] = 0x000A
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint),
- ])
-
- fabricIndex: 'uint' = 0
-
- @dataclass
- class AddTrustedRootCertificate(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003E
- command_id: typing.ClassVar[int] = 0x000B
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="rootCertificate", Tag=0, Type=bytes),
- ])
-
- rootCertificate: 'bytes' = b""
-
-
- class Attributes:
- @dataclass
- class NOCs(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[OperationalCredentials.Structs.NOCStruct])
-
- value: 'typing.List[OperationalCredentials.Structs.NOCStruct]' = field(default_factory=lambda: [])
-
- @dataclass
- class Fabrics(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[OperationalCredentials.Structs.FabricDescriptor])
-
- value: 'typing.List[OperationalCredentials.Structs.FabricDescriptor]' = field(default_factory=lambda: [])
-
- @dataclass
- class SupportedFabrics(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class CommissionedFabrics(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class TrustedRootCertificates(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[bytes])
-
- value: 'typing.List[bytes]' = field(default_factory=lambda: [])
-
- @dataclass
- class CurrentFabricIndex(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class GroupKeyManagement(Cluster):
- id: typing.ClassVar[int] = 0x003F
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupKeyMap", Tag=0x00000000, Type=typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct]),
- ClusterObjectFieldDescriptor(Label="groupTable", Tag=0x00000001, Type=typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct]),
- ClusterObjectFieldDescriptor(Label="maxGroupsPerFabric", Tag=0x00000002, Type=uint),
- ClusterObjectFieldDescriptor(Label="maxGroupKeysPerFabric", Tag=0x00000003, Type=uint),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- groupKeyMap: 'typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct]' = None
- groupTable: 'typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct]' = None
- maxGroupsPerFabric: 'uint' = None
- maxGroupKeysPerFabric: 'uint' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class GroupKeySecurityPolicy(IntEnum):
- kTrustFirst = 0x00
- kCacheAndSync = 0x01
-
-
- class Structs:
- @dataclass
- class GroupInfoMapStruct(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="endpoints", Tag=2, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="groupName", Tag=3, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
- ])
-
- groupId: 'uint' = 0
- endpoints: 'typing.List[uint]' = field(default_factory=lambda: [])
- groupName: 'typing.Optional[str]' = None
- fabricIndex: 'uint' = 0
-
- @dataclass
- class GroupKeyMapStruct(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
- ])
-
- groupId: 'uint' = 0
- groupKeySetID: 'uint' = 0
- fabricIndex: 'uint' = 0
-
- @dataclass
- class GroupKeySetStruct(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="groupKeySecurityPolicy", Tag=1, Type=GroupKeyManagement.Enums.GroupKeySecurityPolicy),
- ClusterObjectFieldDescriptor(Label="epochKey0", Tag=2, Type=typing.Union[Nullable, bytes]),
- ClusterObjectFieldDescriptor(Label="epochStartTime0", Tag=3, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="epochKey1", Tag=4, Type=typing.Union[Nullable, bytes]),
- ClusterObjectFieldDescriptor(Label="epochStartTime1", Tag=5, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="epochKey2", Tag=6, Type=typing.Union[Nullable, bytes]),
- ClusterObjectFieldDescriptor(Label="epochStartTime2", Tag=7, Type=typing.Union[Nullable, uint]),
- ])
-
- groupKeySetID: 'uint' = 0
- groupKeySecurityPolicy: 'GroupKeyManagement.Enums.GroupKeySecurityPolicy' = 0
- epochKey0: 'typing.Union[Nullable, bytes]' = NullValue
- epochStartTime0: 'typing.Union[Nullable, uint]' = NullValue
- epochKey1: 'typing.Union[Nullable, bytes]' = NullValue
- epochStartTime1: 'typing.Union[Nullable, uint]' = NullValue
- epochKey2: 'typing.Union[Nullable, bytes]' = NullValue
- epochStartTime2: 'typing.Union[Nullable, uint]' = NullValue
-
-
-
- class Commands:
- @dataclass
- class KeySetWrite(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003F
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySetStruct),
- ])
-
- groupKeySet: 'GroupKeyManagement.Structs.GroupKeySetStruct' = field(default_factory=lambda: GroupKeyManagement.Structs.GroupKeySetStruct())
-
- @dataclass
- class KeySetRead(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003F
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint),
- ])
-
- groupKeySetID: 'uint' = 0
-
- @dataclass
- class KeySetReadResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003F
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySetStruct),
- ])
-
- groupKeySet: 'GroupKeyManagement.Structs.GroupKeySetStruct' = field(default_factory=lambda: GroupKeyManagement.Structs.GroupKeySetStruct())
-
- @dataclass
- class KeySetRemove(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003F
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint),
- ])
-
- groupKeySetID: 'uint' = 0
-
- @dataclass
- class KeySetReadAllIndices(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003F
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]),
- ])
-
- groupKeySetIDs: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class KeySetReadAllIndicesResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x003F
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]),
- ])
-
- groupKeySetIDs: 'typing.List[uint]' = field(default_factory=lambda: [])
-
-
- class Attributes:
- @dataclass
- class GroupKeyMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct])
-
- value: 'typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct]' = field(default_factory=lambda: [])
-
- @dataclass
- class GroupTable(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct])
-
- value: 'typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct]' = field(default_factory=lambda: [])
-
- @dataclass
- class MaxGroupsPerFabric(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class MaxGroupKeysPerFabric(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x003F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class FixedLabel(Cluster):
- id: typing.ClassVar[int] = 0x0040
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="labelList", Tag=0x00000000, Type=typing.List[FixedLabel.Structs.LabelStruct]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- labelList: 'typing.List[FixedLabel.Structs.LabelStruct]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
- class Structs:
- @dataclass
- class LabelStruct(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str),
- ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str),
- ])
-
- label: 'str' = ""
- value: 'str' = ""
-
-
-
-
- class Attributes:
- @dataclass
- class LabelList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0040
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[FixedLabel.Structs.LabelStruct])
-
- value: 'typing.List[FixedLabel.Structs.LabelStruct]' = field(default_factory=lambda: [])
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0040
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0040
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0040
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0040
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0040
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class UserLabel(Cluster):
- id: typing.ClassVar[int] = 0x0041
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="labelList", Tag=0x00000000, Type=typing.List[UserLabel.Structs.LabelStruct]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- labelList: 'typing.List[UserLabel.Structs.LabelStruct]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
- class Structs:
- @dataclass
- class LabelStruct(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str),
- ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str),
- ])
-
- label: 'str' = ""
- value: 'str' = ""
-
-
-
-
- class Attributes:
- @dataclass
- class LabelList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0041
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[UserLabel.Structs.LabelStruct])
-
- value: 'typing.List[UserLabel.Structs.LabelStruct]' = field(default_factory=lambda: [])
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0041
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0041
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0041
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0041
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0041
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class ProxyConfiguration(Cluster):
- id: typing.ClassVar[int] = 0x0042
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0042
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0042
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0042
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0042
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0042
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class ProxyDiscovery(Cluster):
- id: typing.ClassVar[int] = 0x0043
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0043
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0043
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0043
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0043
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0043
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class ProxyValid(Cluster):
- id: typing.ClassVar[int] = 0x0044
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0044
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0044
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0044
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0044
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0044
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class BooleanState(Cluster):
- id: typing.ClassVar[int] = 0x0045
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="stateValue", Tag=0x00000000, Type=bool),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- stateValue: 'bool' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
- @dataclass
- class StateValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0045
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
-
- value: 'bool' = False
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0045
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0045
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0045
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0045
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0045
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
- class Events:
- @dataclass
- class StateChange(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0045
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="stateValue", Tag=0, Type=bool),
- ])
-
- stateValue: 'bool' = False
-
-
-@dataclass
-class ModeSelect(Cluster):
- id: typing.ClassVar[int] = 0x0050
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="description", Tag=0x00000000, Type=str),
- ClusterObjectFieldDescriptor(Label="standardNamespace", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000002, Type=typing.List[ModeSelect.Structs.ModeOptionStruct]),
- ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000003, Type=uint),
- ClusterObjectFieldDescriptor(Label="startUpMode", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- description: 'str' = None
- standardNamespace: 'typing.Union[Nullable, uint]' = None
- supportedModes: 'typing.List[ModeSelect.Structs.ModeOptionStruct]' = None
- currentMode: 'uint' = None
- startUpMode: 'typing.Union[None, Nullable, uint]' = None
- onMode: 'typing.Union[None, Nullable, uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
- class Structs:
- @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' = 0
- value: 'uint' = 0
-
- @dataclass
- class ModeOptionStruct(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str),
- ClusterObjectFieldDescriptor(Label="mode", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="semanticTags", Tag=2, Type=typing.List[ModeSelect.Structs.SemanticTag]),
- ])
-
- label: 'str' = ""
- mode: 'uint' = 0
- semanticTags: 'typing.List[ModeSelect.Structs.SemanticTag]' = field(default_factory=lambda: [])
-
-
-
- class Commands:
- @dataclass
- class ChangeToMode(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0050
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint),
- ])
-
- newMode: 'uint' = 0
-
-
- class Attributes:
- @dataclass
- class Description(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0050
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
-
- value: 'str' = ""
-
- @dataclass
- class StandardNamespace(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0050
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class SupportedModes(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0050
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[ModeSelect.Structs.ModeOptionStruct])
-
- value: 'typing.List[ModeSelect.Structs.ModeOptionStruct]' = field(default_factory=lambda: [])
-
- @dataclass
- class CurrentMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0050
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class StartUpMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0050
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class OnMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0050
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0050
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0050
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0050
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0050
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0050
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class ShadeConfiguration(Cluster):
- id: typing.ClassVar[int] = 0x0100
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="physicalClosedLimit", Tag=0x00000000, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="motorStepSize", Tag=0x00000001, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="status", Tag=0x00000002, Type=uint),
- ClusterObjectFieldDescriptor(Label="closedLimit", Tag=0x00000010, Type=uint),
- ClusterObjectFieldDescriptor(Label="mode", Tag=0x00000011, Type=uint),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- physicalClosedLimit: 'typing.Optional[uint]' = None
- motorStepSize: 'typing.Optional[uint]' = None
- status: 'uint' = None
- closedLimit: 'uint' = None
- mode: 'uint' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
- @dataclass
- class PhysicalClosedLimit(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0100
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class MotorStepSize(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0100
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class Status(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0100
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClosedLimit(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0100
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000010
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class Mode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0100
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000011
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0100
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0100
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0100
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0100
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0100
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class DoorLock(Cluster):
- id: typing.ClassVar[int] = 0x0101
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="lockState", Tag=0x00000000, Type=typing.Union[Nullable, DoorLock.Enums.DlLockState]),
- ClusterObjectFieldDescriptor(Label="lockType", Tag=0x00000001, Type=DoorLock.Enums.DlLockType),
- ClusterObjectFieldDescriptor(Label="actuatorEnabled", Tag=0x00000002, Type=bool),
- ClusterObjectFieldDescriptor(Label="doorState", Tag=0x00000003, Type=typing.Union[None, Nullable, DoorLock.Enums.DlDoorState]),
- ClusterObjectFieldDescriptor(Label="doorOpenEvents", Tag=0x00000004, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="doorClosedEvents", Tag=0x00000005, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="openPeriod", Tag=0x00000006, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="numberOfTotalUsersSupported", Tag=0x00000011, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="numberOfPINUsersSupported", Tag=0x00000012, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="numberOfRFIDUsersSupported", Tag=0x00000013, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="numberOfWeekDaySchedulesSupportedPerUser", Tag=0x00000014, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="numberOfYearDaySchedulesSupportedPerUser", Tag=0x00000015, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="numberOfHolidaySchedulesSupported", Tag=0x00000016, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="maxPINCodeLength", Tag=0x00000017, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="minPINCodeLength", Tag=0x00000018, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="maxRFIDCodeLength", Tag=0x00000019, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="minRFIDCodeLength", Tag=0x0000001A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="credentialRulesSupport", Tag=0x0000001B, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="numberOfCredentialsSupportedPerUser", Tag=0x0000001C, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="language", Tag=0x00000021, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="LEDSettings", Tag=0x00000022, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="autoRelockTime", Tag=0x00000023, Type=uint),
- ClusterObjectFieldDescriptor(Label="soundVolume", Tag=0x00000024, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="operatingMode", Tag=0x00000025, Type=DoorLock.Enums.DlOperatingMode),
- ClusterObjectFieldDescriptor(Label="supportedOperatingModes", Tag=0x00000026, Type=uint),
- ClusterObjectFieldDescriptor(Label="defaultConfigurationRegister", Tag=0x00000027, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="enableLocalProgramming", Tag=0x00000028, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="enableOneTouchLocking", Tag=0x00000029, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="enableInsideStatusLED", Tag=0x0000002A, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="enablePrivacyModeButton", Tag=0x0000002B, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="localProgrammingFeatures", Tag=0x0000002C, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="wrongCodeEntryLimit", Tag=0x00000030, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="userCodeTemporaryDisableTime", Tag=0x00000031, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="sendPINOverTheAir", Tag=0x00000032, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="requirePINforRemoteOperation", Tag=0x00000033, Type=typing.Optional[bool]),
- ClusterObjectFieldDescriptor(Label="expiringUserTimeout", Tag=0x00000035, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- lockState: 'typing.Union[Nullable, DoorLock.Enums.DlLockState]' = None
- lockType: 'DoorLock.Enums.DlLockType' = None
- actuatorEnabled: 'bool' = None
- doorState: 'typing.Union[None, Nullable, DoorLock.Enums.DlDoorState]' = None
- doorOpenEvents: 'typing.Optional[uint]' = None
- doorClosedEvents: 'typing.Optional[uint]' = None
- openPeriod: 'typing.Optional[uint]' = None
- numberOfTotalUsersSupported: 'typing.Optional[uint]' = None
- numberOfPINUsersSupported: 'typing.Optional[uint]' = None
- numberOfRFIDUsersSupported: 'typing.Optional[uint]' = None
- numberOfWeekDaySchedulesSupportedPerUser: 'typing.Optional[uint]' = None
- numberOfYearDaySchedulesSupportedPerUser: 'typing.Optional[uint]' = None
- numberOfHolidaySchedulesSupported: 'typing.Optional[uint]' = None
- maxPINCodeLength: 'typing.Optional[uint]' = None
- minPINCodeLength: 'typing.Optional[uint]' = None
- maxRFIDCodeLength: 'typing.Optional[uint]' = None
- minRFIDCodeLength: 'typing.Optional[uint]' = None
- credentialRulesSupport: 'typing.Optional[uint]' = None
- numberOfCredentialsSupportedPerUser: 'typing.Optional[uint]' = None
- language: 'typing.Optional[str]' = None
- LEDSettings: 'typing.Optional[uint]' = None
- autoRelockTime: 'uint' = None
- soundVolume: 'typing.Optional[uint]' = None
- operatingMode: 'DoorLock.Enums.DlOperatingMode' = None
- supportedOperatingModes: 'uint' = None
- defaultConfigurationRegister: 'typing.Optional[uint]' = None
- enableLocalProgramming: 'typing.Optional[bool]' = None
- enableOneTouchLocking: 'typing.Optional[bool]' = None
- enableInsideStatusLED: 'typing.Optional[bool]' = None
- enablePrivacyModeButton: 'typing.Optional[bool]' = None
- localProgrammingFeatures: 'typing.Optional[uint]' = None
- wrongCodeEntryLimit: 'typing.Optional[uint]' = None
- userCodeTemporaryDisableTime: 'typing.Optional[uint]' = None
- sendPINOverTheAir: 'typing.Optional[bool]' = None
- requirePINforRemoteOperation: 'typing.Optional[bool]' = None
- expiringUserTimeout: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class DlAlarmCode(IntEnum):
- kLockJammed = 0x00
- kLockFactoryReset = 0x01
- kLockRadioPowerCycled = 0x03
- kWrongCodeEntryLimit = 0x04
- kFrontEsceutcheonRemoved = 0x05
- kDoorForcedOpen = 0x06
- kDoorAjar = 0x07
- kForcedUser = 0x08
-
- class DlCredentialRule(IntEnum):
- kSingle = 0x00
- kDouble = 0x01
- kTri = 0x02
-
- class DlCredentialType(IntEnum):
- kProgrammingPIN = 0x00
- kPin = 0x01
- kRfid = 0x02
- kFingerprint = 0x03
- kFingerVein = 0x04
- kFace = 0x05
-
- class DlDataOperationType(IntEnum):
- kAdd = 0x00
- kClear = 0x01
- kModify = 0x02
-
- class DlDoorState(IntEnum):
- kDoorOpen = 0x00
- kDoorClosed = 0x01
- kDoorJammed = 0x02
- kDoorForcedOpen = 0x03
- kDoorUnspecifiedError = 0x04
- kDoorAjar = 0x05
-
- class DlLockDataType(IntEnum):
- kUnspecified = 0x00
- kProgrammingCode = 0x01
- kUserIndex = 0x02
- kWeekDaySchedule = 0x03
- kYearDaySchedule = 0x04
- kHolidaySchedule = 0x05
- kPin = 0x06
- kRfid = 0x07
- kFingerprint = 0x08
-
- class DlLockOperationType(IntEnum):
- kLock = 0x00
- kUnlock = 0x01
- kNonAccessUserEvent = 0x02
- kForcedUserEvent = 0x03
-
- class DlLockState(IntEnum):
- kNotFullyLocked = 0x00
- kLocked = 0x01
- kUnlocked = 0x02
-
- class DlLockType(IntEnum):
- kDeadBolt = 0x00
- kMagnetic = 0x01
- kOther = 0x02
- kMortise = 0x03
- kRim = 0x04
- kLatchBolt = 0x05
- kCylindricalLock = 0x06
- kTubularLock = 0x07
- kInterconnectedLock = 0x08
- kDeadLatch = 0x09
- kDoorFurniture = 0x0A
-
- class DlOperatingMode(IntEnum):
- kNormal = 0x00
- kVacation = 0x01
- kPrivacy = 0x02
- kNoRemoteLockUnlock = 0x03
- kPassage = 0x04
-
- class DlOperationError(IntEnum):
- kUnspecified = 0x00
- kInvalidCredential = 0x01
- kDisabledUserDenied = 0x02
- kRestricted = 0x03
- kInsufficientBattery = 0x04
-
- class DlOperationSource(IntEnum):
- kUnspecified = 0x00
- kManual = 0x01
- kProprietaryRemote = 0x02
- kKeypad = 0x03
- kAuto = 0x04
- kButton = 0x05
- kSchedule = 0x06
- kRemote = 0x07
- kRfid = 0x08
- kBiometric = 0x09
-
- class DlStatus(IntEnum):
- kSuccess = 0x00
- kFailure = 0x01
- kDuplicate = 0x02
- kOccupied = 0x03
- kInvalidField = 0x85
- kResourceExhausted = 0x89
- kNotFound = 0x8B
-
- class DlUserStatus(IntEnum):
- kAvailable = 0x00
- kOccupiedEnabled = 0x01
- kOccupiedDisabled = 0x03
-
- class DlUserType(IntEnum):
- kUnrestrictedUser = 0x00
- kYearDayScheduleUser = 0x01
- kWeekDayScheduleUser = 0x02
- kProgrammingUser = 0x03
- kNonAccessUser = 0x04
- kForcedUser = 0x05
- kDisposableUser = 0x06
- kExpiringUser = 0x07
- kScheduleRestrictedUser = 0x08
- kRemoteOnlyUser = 0x09
-
- class DoorLockOperationEventCode(IntEnum):
- kUnknownOrMfgSpecific = 0x00
- kLock = 0x01
- kUnlock = 0x02
- kLockInvalidPinOrId = 0x03
- kLockInvalidSchedule = 0x04
- kUnlockInvalidPinOrId = 0x05
- kUnlockInvalidSchedule = 0x06
- kOneTouchLock = 0x07
- kKeyLock = 0x08
- kKeyUnlock = 0x09
- kAutoLock = 0x0A
- kScheduleLock = 0x0B
- kScheduleUnlock = 0x0C
- kManualLock = 0x0D
- kManualUnlock = 0x0E
-
- class DoorLockProgrammingEventCode(IntEnum):
- kUnknownOrMfgSpecific = 0x00
- kMasterCodeChanged = 0x01
- kPinAdded = 0x02
- kPinDeleted = 0x03
- kPinChanged = 0x04
- kIdAdded = 0x05
- kIdDeleted = 0x06
-
- class DoorLockSetPinOrIdStatus(IntEnum):
- kSuccess = 0x00
- kGeneralFailure = 0x01
- kMemoryFull = 0x02
- kDuplicateCodeError = 0x03
-
- class DoorLockUserStatus(IntEnum):
- kAvailable = 0x00
- kOccupiedEnabled = 0x01
- kOccupiedDisabled = 0x03
- kNotSupported = 0xFF
-
- class DoorLockUserType(IntEnum):
- kUnrestricted = 0x00
- kYearDayScheduleUser = 0x01
- kWeekDayScheduleUser = 0x02
- kMasterUser = 0x03
- kNonAccessUser = 0x04
- kNotSupported = 0xFF
-
-
- class Structs:
- @dataclass
- class DlCredential(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="credentialType", Tag=0, Type=DoorLock.Enums.DlCredentialType),
- ClusterObjectFieldDescriptor(Label="credentialIndex", Tag=1, Type=uint),
- ])
-
- credentialType: 'DoorLock.Enums.DlCredentialType' = 0
- credentialIndex: 'uint' = 0
-
-
-
- class Commands:
- @dataclass
- class LockDoor(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="pinCode", Tag=0, Type=typing.Optional[bytes]),
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- pinCode: 'typing.Optional[bytes]' = None
-
- @dataclass
- class UnlockDoor(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="pinCode", Tag=0, Type=typing.Optional[bytes]),
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- pinCode: 'typing.Optional[bytes]' = None
-
- @dataclass
- class UnlockWithTimeout(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="timeout", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="pinCode", Tag=1, Type=typing.Optional[bytes]),
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- timeout: 'uint' = 0
- pinCode: 'typing.Optional[bytes]' = None
-
- @dataclass
- class SetWeekDaySchedule(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x000B
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="daysMask", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="startHour", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="startMinute", Tag=4, Type=uint),
- ClusterObjectFieldDescriptor(Label="endHour", Tag=5, Type=uint),
- ClusterObjectFieldDescriptor(Label="endMinute", Tag=6, Type=uint),
- ])
-
- weekDayIndex: 'uint' = 0
- userIndex: 'uint' = 0
- daysMask: 'uint' = 0
- startHour: 'uint' = 0
- startMinute: 'uint' = 0
- endHour: 'uint' = 0
- endMinute: 'uint' = 0
-
- @dataclass
- class GetWeekDaySchedule(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x000C
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
- ])
-
- weekDayIndex: 'uint' = 0
- userIndex: 'uint' = 0
-
- @dataclass
- class GetWeekDayScheduleResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x000C
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=DoorLock.Enums.DlStatus),
- ClusterObjectFieldDescriptor(Label="daysMask", Tag=3, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="startHour", Tag=4, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="startMinute", Tag=5, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="endHour", Tag=6, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="endMinute", Tag=7, Type=typing.Optional[uint]),
- ])
-
- weekDayIndex: 'uint' = 0
- userIndex: 'uint' = 0
- status: 'DoorLock.Enums.DlStatus' = 0
- daysMask: 'typing.Optional[uint]' = None
- startHour: 'typing.Optional[uint]' = None
- startMinute: 'typing.Optional[uint]' = None
- endHour: 'typing.Optional[uint]' = None
- endMinute: 'typing.Optional[uint]' = None
-
- @dataclass
- class ClearWeekDaySchedule(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x000D
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
- ])
-
- weekDayIndex: 'uint' = 0
- userIndex: 'uint' = 0
-
- @dataclass
- class SetYearDaySchedule(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x000E
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=uint),
- ])
-
- yearDayIndex: 'uint' = 0
- userIndex: 'uint' = 0
- localStartTime: 'uint' = 0
- localEndTime: 'uint' = 0
-
- @dataclass
- class GetYearDaySchedule(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x000F
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
- ])
-
- yearDayIndex: 'uint' = 0
- userIndex: 'uint' = 0
-
- @dataclass
- class GetYearDayScheduleResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x000F
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=DoorLock.Enums.DlStatus),
- ClusterObjectFieldDescriptor(Label="localStartTime", Tag=3, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="localEndTime", Tag=4, Type=typing.Optional[uint]),
- ])
-
- yearDayIndex: 'uint' = 0
- userIndex: 'uint' = 0
- status: 'DoorLock.Enums.DlStatus' = 0
- localStartTime: 'typing.Optional[uint]' = None
- localEndTime: 'typing.Optional[uint]' = None
-
- @dataclass
- class ClearYearDaySchedule(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0010
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
- ])
-
- yearDayIndex: 'uint' = 0
- userIndex: 'uint' = 0
-
- @dataclass
- class SetHolidaySchedule(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0011
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="localStartTime", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="localEndTime", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="operatingMode", Tag=3, Type=DoorLock.Enums.DlOperatingMode),
- ])
-
- holidayIndex: 'uint' = 0
- localStartTime: 'uint' = 0
- localEndTime: 'uint' = 0
- operatingMode: 'DoorLock.Enums.DlOperatingMode' = 0
-
- @dataclass
- class GetHolidaySchedule(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0012
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint),
- ])
-
- holidayIndex: 'uint' = 0
-
- @dataclass
- class GetHolidayScheduleResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0012
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=DoorLock.Enums.DlStatus),
- ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="operatingMode", Tag=4, Type=typing.Optional[DoorLock.Enums.DlOperatingMode]),
- ])
-
- holidayIndex: 'uint' = 0
- status: 'DoorLock.Enums.DlStatus' = 0
- localStartTime: 'typing.Optional[uint]' = None
- localEndTime: 'typing.Optional[uint]' = None
- operatingMode: 'typing.Optional[DoorLock.Enums.DlOperatingMode]' = 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="holidayIndex", Tag=0, Type=uint),
- ])
-
- holidayIndex: 'uint' = 0
-
- @dataclass
- class SetUser(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x001A
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DlDataOperationType),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="userName", Tag=2, Type=typing.Union[Nullable, str]),
- ClusterObjectFieldDescriptor(Label="userUniqueId", Tag=3, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="userStatus", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]),
- ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]),
- ClusterObjectFieldDescriptor(Label="credentialRule", Tag=6, Type=typing.Union[Nullable, DoorLock.Enums.DlCredentialRule]),
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- operationType: 'DoorLock.Enums.DlDataOperationType' = 0
- userIndex: 'uint' = 0
- userName: 'typing.Union[Nullable, str]' = NullValue
- userUniqueId: 'typing.Union[Nullable, uint]' = NullValue
- userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue
- userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue
- credentialRule: 'typing.Union[Nullable, DoorLock.Enums.DlCredentialRule]' = NullValue
-
- @dataclass
- class GetUser(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x001B
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint),
- ])
-
- userIndex: 'uint' = 0
-
- @dataclass
- class GetUserResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x001C
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="userName", Tag=1, Type=typing.Union[Nullable, str]),
- ClusterObjectFieldDescriptor(Label="userUniqueId", Tag=2, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="userStatus", Tag=3, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]),
- ClusterObjectFieldDescriptor(Label="userType", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]),
- ClusterObjectFieldDescriptor(Label="credentialRule", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.DlCredentialRule]),
- ClusterObjectFieldDescriptor(Label="credentials", Tag=6, Type=typing.Union[Nullable, typing.List[DoorLock.Structs.DlCredential]]),
- ClusterObjectFieldDescriptor(Label="creatorFabricIndex", Tag=7, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="lastModifiedFabricIndex", Tag=8, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="nextUserIndex", Tag=9, Type=typing.Union[Nullable, uint]),
- ])
-
- userIndex: 'uint' = 0
- userName: 'typing.Union[Nullable, str]' = NullValue
- userUniqueId: 'typing.Union[Nullable, uint]' = NullValue
- userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue
- userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue
- credentialRule: 'typing.Union[Nullable, DoorLock.Enums.DlCredentialRule]' = NullValue
- credentials: 'typing.Union[Nullable, typing.List[DoorLock.Structs.DlCredential]]' = NullValue
- creatorFabricIndex: 'typing.Union[Nullable, uint]' = NullValue
- lastModifiedFabricIndex: 'typing.Union[Nullable, uint]' = NullValue
- nextUserIndex: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class ClearUser(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x001D
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint),
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- userIndex: 'uint' = 0
-
- @dataclass
- class SetCredential(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0022
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DlDataOperationType),
- ClusterObjectFieldDescriptor(Label="credential", Tag=1, Type=DoorLock.Structs.DlCredential),
- ClusterObjectFieldDescriptor(Label="credentialData", Tag=2, Type=bytes),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="userStatus", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]),
- ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]),
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- operationType: 'DoorLock.Enums.DlDataOperationType' = 0
- credential: 'DoorLock.Structs.DlCredential' = field(default_factory=lambda: DoorLock.Structs.DlCredential())
- credentialData: 'bytes' = b""
- userIndex: 'typing.Union[Nullable, uint]' = NullValue
- userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue
- userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue
-
- @dataclass
- class SetCredentialResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0023
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DoorLock.Enums.DlStatus),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="nextCredentialIndex", Tag=2, Type=typing.Union[Nullable, uint]),
- ])
-
- status: 'DoorLock.Enums.DlStatus' = 0
- userIndex: 'typing.Union[Nullable, uint]' = NullValue
- nextCredentialIndex: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class GetCredentialStatus(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0024
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=DoorLock.Structs.DlCredential),
- ])
-
- credential: 'DoorLock.Structs.DlCredential' = field(default_factory=lambda: DoorLock.Structs.DlCredential())
-
- @dataclass
- class GetCredentialStatusResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0025
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="credentialExists", Tag=0, Type=bool),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="creatorFabricIndex", Tag=2, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="lastModifiedFabricIndex", Tag=3, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="nextCredentialIndex", Tag=4, Type=typing.Union[Nullable, uint]),
- ])
-
- credentialExists: 'bool' = False
- userIndex: 'typing.Union[Nullable, uint]' = NullValue
- creatorFabricIndex: 'typing.Union[Nullable, uint]' = NullValue
- lastModifiedFabricIndex: 'typing.Union[Nullable, uint]' = NullValue
- nextCredentialIndex: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class ClearCredential(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0101
- command_id: typing.ClassVar[int] = 0x0026
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=typing.Union[Nullable, DoorLock.Structs.DlCredential]),
- ])
-
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- credential: 'typing.Union[Nullable, DoorLock.Structs.DlCredential]' = NullValue
-
-
- class Attributes:
- @dataclass
- class LockState(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, DoorLock.Enums.DlLockState])
-
- value: 'typing.Union[Nullable, DoorLock.Enums.DlLockState]' = NullValue
-
- @dataclass
- class LockType(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=DoorLock.Enums.DlLockType)
-
- value: 'DoorLock.Enums.DlLockType' = 0
-
- @dataclass
- class ActuatorEnabled(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=bool)
-
- value: 'bool' = False
-
- @dataclass
- class DoorState(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, DoorLock.Enums.DlDoorState])
-
- value: 'typing.Union[None, Nullable, DoorLock.Enums.DlDoorState]' = None
-
- @dataclass
- class DoorOpenEvents(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class DoorClosedEvents(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class OpenPeriod(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000006
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class NumberOfTotalUsersSupported(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000011
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class NumberOfPINUsersSupported(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000012
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class NumberOfRFIDUsersSupported(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000013
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class NumberOfWeekDaySchedulesSupportedPerUser(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000014
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class NumberOfYearDaySchedulesSupportedPerUser(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000015
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class NumberOfHolidaySchedulesSupported(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000016
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class MaxPINCodeLength(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000017
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class MinPINCodeLength(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000018
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class MaxRFIDCodeLength(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000019
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class MinRFIDCodeLength(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class CredentialRulesSupport(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001B
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class NumberOfCredentialsSupportedPerUser(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001C
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class Language(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000021
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class LEDSettings(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000022
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class AutoRelockTime(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000023
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class SoundVolume(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000024
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class OperatingMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000025
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=DoorLock.Enums.DlOperatingMode)
-
- value: 'DoorLock.Enums.DlOperatingMode' = 0
-
- @dataclass
- class SupportedOperatingModes(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000026
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class DefaultConfigurationRegister(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000027
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class EnableLocalProgramming(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000028
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
-
- value: 'typing.Optional[bool]' = None
-
- @dataclass
- class EnableOneTouchLocking(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000029
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
-
- value: 'typing.Optional[bool]' = None
-
- @dataclass
- class EnableInsideStatusLED(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000002A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
-
- value: 'typing.Optional[bool]' = None
-
- @dataclass
- class EnablePrivacyModeButton(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000002B
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
-
- value: 'typing.Optional[bool]' = None
-
- @dataclass
- class LocalProgrammingFeatures(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000002C
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class WrongCodeEntryLimit(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000030
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class UserCodeTemporaryDisableTime(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000031
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class SendPINOverTheAir(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000032
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
-
- value: 'typing.Optional[bool]' = None
-
- @dataclass
- class RequirePINforRemoteOperation(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000033
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
-
- value: 'typing.Optional[bool]' = None
-
- @dataclass
- class ExpiringUserTimeout(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000035
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
- class Events:
- @dataclass
- class DoorLockAlarm(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="alarmCode", Tag=0, Type=DoorLock.Enums.DlAlarmCode),
- ])
-
- alarmCode: 'DoorLock.Enums.DlAlarmCode' = 0
-
- @dataclass
- class DoorStateChange(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="doorState", Tag=0, Type=DoorLock.Enums.DlDoorState),
- ])
-
- doorState: 'DoorLock.Enums.DlDoorState' = 0
-
- @dataclass
- class LockOperation(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.DlLockOperationType),
- ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.DlOperationSource),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=2, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=3, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="sourceNode", Tag=4, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="credentials", Tag=5, Type=typing.Union[None, Nullable, typing.List[DoorLock.Structs.DlCredential]]),
- ])
-
- lockOperationType: 'DoorLock.Enums.DlLockOperationType' = 0
- operationSource: 'DoorLock.Enums.DlOperationSource' = 0
- userIndex: 'typing.Union[Nullable, uint]' = NullValue
- fabricIndex: 'typing.Union[Nullable, uint]' = NullValue
- sourceNode: 'typing.Union[Nullable, uint]' = NullValue
- credentials: 'typing.Union[None, Nullable, typing.List[DoorLock.Structs.DlCredential]]' = None
-
- @dataclass
- class LockOperationError(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.DlLockOperationType),
- ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.DlOperationSource),
- ClusterObjectFieldDescriptor(Label="operationError", Tag=2, Type=DoorLock.Enums.DlOperationError),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=4, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="sourceNode", Tag=5, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="credentials", Tag=6, Type=typing.Union[None, Nullable, typing.List[DoorLock.Structs.DlCredential]]),
- ])
-
- lockOperationType: 'DoorLock.Enums.DlLockOperationType' = 0
- operationSource: 'DoorLock.Enums.DlOperationSource' = 0
- operationError: 'DoorLock.Enums.DlOperationError' = 0
- userIndex: 'typing.Union[Nullable, uint]' = NullValue
- fabricIndex: 'typing.Union[Nullable, uint]' = NullValue
- sourceNode: 'typing.Union[Nullable, uint]' = NullValue
- credentials: 'typing.Union[None, Nullable, typing.List[DoorLock.Structs.DlCredential]]' = None
-
- @dataclass
- class LockUserChange(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0101
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="lockDataType", Tag=0, Type=DoorLock.Enums.DlLockDataType),
- ClusterObjectFieldDescriptor(Label="dataOperationType", Tag=1, Type=DoorLock.Enums.DlDataOperationType),
- ClusterObjectFieldDescriptor(Label="operationSource", Tag=2, Type=DoorLock.Enums.DlOperationSource),
- ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=4, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="sourceNode", Tag=5, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="dataIndex", Tag=6, Type=typing.Union[Nullable, uint]),
- ])
-
- lockDataType: 'DoorLock.Enums.DlLockDataType' = 0
- dataOperationType: 'DoorLock.Enums.DlDataOperationType' = 0
- operationSource: 'DoorLock.Enums.DlOperationSource' = 0
- userIndex: 'typing.Union[Nullable, uint]' = NullValue
- fabricIndex: 'typing.Union[Nullable, uint]' = NullValue
- sourceNode: 'typing.Union[Nullable, uint]' = NullValue
- dataIndex: 'typing.Union[Nullable, uint]' = NullValue
-
-
-@dataclass
-class WindowCovering(Cluster):
- id: typing.ClassVar[int] = 0x0102
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="type", Tag=0x00000000, Type=WindowCovering.Enums.Type),
- ClusterObjectFieldDescriptor(Label="physicalClosedLimitLift", Tag=0x00000001, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="physicalClosedLimitTilt", Tag=0x00000002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="currentPositionLift", Tag=0x00000003, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="currentPositionTilt", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="numberOfActuationsLift", Tag=0x00000005, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="numberOfActuationsTilt", Tag=0x00000006, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="configStatus", Tag=0x00000007, Type=uint),
- ClusterObjectFieldDescriptor(Label="currentPositionLiftPercentage", Tag=0x00000008, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="currentPositionTiltPercentage", Tag=0x00000009, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="operationalStatus", Tag=0x0000000A, Type=uint),
- ClusterObjectFieldDescriptor(Label="targetPositionLiftPercent100ths", Tag=0x0000000B, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="targetPositionTiltPercent100ths", Tag=0x0000000C, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="endProductType", Tag=0x0000000D, Type=WindowCovering.Enums.EndProductType),
- ClusterObjectFieldDescriptor(Label="currentPositionLiftPercent100ths", Tag=0x0000000E, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="currentPositionTiltPercent100ths", Tag=0x0000000F, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="installedOpenLimitLift", Tag=0x00000010, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="installedClosedLimitLift", Tag=0x00000011, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="installedOpenLimitTilt", Tag=0x00000012, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="installedClosedLimitTilt", Tag=0x00000013, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="mode", Tag=0x00000017, Type=uint),
- ClusterObjectFieldDescriptor(Label="safetyStatus", Tag=0x0000001A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- type: 'WindowCovering.Enums.Type' = None
- physicalClosedLimitLift: 'typing.Optional[uint]' = None
- physicalClosedLimitTilt: 'typing.Optional[uint]' = None
- currentPositionLift: 'typing.Union[None, Nullable, uint]' = None
- currentPositionTilt: 'typing.Union[None, Nullable, uint]' = None
- numberOfActuationsLift: 'typing.Optional[uint]' = None
- numberOfActuationsTilt: 'typing.Optional[uint]' = None
- configStatus: 'uint' = None
- currentPositionLiftPercentage: 'typing.Union[None, Nullable, uint]' = None
- currentPositionTiltPercentage: 'typing.Union[None, Nullable, uint]' = None
- operationalStatus: 'uint' = None
- targetPositionLiftPercent100ths: 'typing.Union[None, Nullable, uint]' = None
- targetPositionTiltPercent100ths: 'typing.Union[None, Nullable, uint]' = None
- endProductType: 'WindowCovering.Enums.EndProductType' = None
- currentPositionLiftPercent100ths: 'typing.Union[None, Nullable, uint]' = None
- currentPositionTiltPercent100ths: 'typing.Union[None, Nullable, uint]' = None
- installedOpenLimitLift: 'typing.Optional[uint]' = None
- installedClosedLimitLift: 'typing.Optional[uint]' = None
- installedOpenLimitTilt: 'typing.Optional[uint]' = None
- installedClosedLimitTilt: 'typing.Optional[uint]' = None
- mode: 'uint' = None
- safetyStatus: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class EndProductType(IntEnum):
- kRollerShade = 0x00
- kRomanShade = 0x01
- kBalloonShade = 0x02
- kWovenWood = 0x03
- kPleatedShade = 0x04
- kCellularShade = 0x05
- kLayeredShade = 0x06
- kLayeredShade2D = 0x07
- kSheerShade = 0x08
- kTiltOnlyInteriorBlind = 0x09
- kInteriorBlind = 0x0A
- kVerticalBlindStripCurtain = 0x0B
- kInteriorVenetianBlind = 0x0C
- kExteriorVenetianBlind = 0x0D
- kLateralLeftCurtain = 0x0E
- kLateralRightCurtain = 0x0F
- kCentralCurtain = 0x10
- kRollerShutter = 0x11
- kExteriorVerticalScreen = 0x12
- kAwningTerracePatio = 0x13
- kAwningVerticalScreen = 0x14
- kTiltOnlyPergola = 0x15
- kSwingingShutter = 0x16
- kSlidingShutter = 0x17
- kUnknown = 0xFF
-
- class Type(IntEnum):
- kRollerShade = 0x00
- kRollerShade2Motor = 0x01
- kRollerShadeExterior = 0x02
- kRollerShadeExterior2Motor = 0x03
- kDrapery = 0x04
- kAwning = 0x05
- kShutter = 0x06
- kTiltBlindTiltOnly = 0x07
- kTiltBlindLiftAndTilt = 0x08
- kProjectorScreen = 0x09
- kUnknown = 0xFF
-
-
-
- class Commands:
- @dataclass
- class UpOrOpen(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0102
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class DownOrClose(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0102
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class StopMotion(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0102
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class GoToLiftValue(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0102
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="liftValue", Tag=0, Type=uint),
- ])
-
- liftValue: 'uint' = 0
-
- @dataclass
- class GoToLiftPercentage(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0102
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="liftPercent100thsValue", Tag=0, Type=uint),
- ])
-
- liftPercent100thsValue: 'uint' = 0
-
- @dataclass
- class GoToTiltValue(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0102
- command_id: typing.ClassVar[int] = 0x0007
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="tiltValue", Tag=0, Type=uint),
- ])
-
- tiltValue: 'uint' = 0
-
- @dataclass
- class GoToTiltPercentage(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0102
- command_id: typing.ClassVar[int] = 0x0008
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="tiltPercent100thsValue", Tag=0, Type=uint),
- ])
-
- tiltPercent100thsValue: 'uint' = 0
-
-
- class Attributes:
- @dataclass
- class Type(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=WindowCovering.Enums.Type)
-
- value: 'WindowCovering.Enums.Type' = 0
-
- @dataclass
- class PhysicalClosedLimitLift(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class PhysicalClosedLimitTilt(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class CurrentPositionLift(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class CurrentPositionTilt(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class NumberOfActuationsLift(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class NumberOfActuationsTilt(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000006
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class ConfigStatus(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000007
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class CurrentPositionLiftPercentage(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000008
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class CurrentPositionTiltPercentage(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000009
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class OperationalStatus(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class TargetPositionLiftPercent100ths(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000B
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class TargetPositionTiltPercent100ths(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000C
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class EndProductType(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000D
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=WindowCovering.Enums.EndProductType)
-
- value: 'WindowCovering.Enums.EndProductType' = 0
-
- @dataclass
- class CurrentPositionLiftPercent100ths(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000E
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class CurrentPositionTiltPercent100ths(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000F
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class InstalledOpenLimitLift(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000010
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class InstalledClosedLimitLift(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000011
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class InstalledOpenLimitTilt(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000012
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class InstalledClosedLimitTilt(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000013
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class Mode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000017
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class SafetyStatus(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0102
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class BarrierControl(Cluster):
- id: typing.ClassVar[int] = 0x0103
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="barrierMovingState", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="barrierSafetyStatus", Tag=0x00000002, Type=uint),
- ClusterObjectFieldDescriptor(Label="barrierCapabilities", Tag=0x00000003, Type=uint),
- ClusterObjectFieldDescriptor(Label="barrierOpenEvents", Tag=0x00000004, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="barrierCloseEvents", Tag=0x00000005, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="barrierCommandOpenEvents", Tag=0x00000006, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="barrierCommandCloseEvents", Tag=0x00000007, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="barrierOpenPeriod", Tag=0x00000008, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="barrierClosePeriod", Tag=0x00000009, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="barrierPosition", Tag=0x0000000A, Type=uint),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- barrierMovingState: 'uint' = None
- barrierSafetyStatus: 'uint' = None
- barrierCapabilities: 'uint' = None
- barrierOpenEvents: 'typing.Optional[uint]' = None
- barrierCloseEvents: 'typing.Optional[uint]' = None
- barrierCommandOpenEvents: 'typing.Optional[uint]' = None
- barrierCommandCloseEvents: 'typing.Optional[uint]' = None
- barrierOpenPeriod: 'typing.Optional[uint]' = None
- barrierClosePeriod: 'typing.Optional[uint]' = None
- barrierPosition: 'uint' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
- class Commands:
- @dataclass
- class BarrierControlGoToPercent(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0103
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="percentOpen", Tag=0, Type=uint),
- ])
-
- percentOpen: 'uint' = 0
-
- @dataclass
- class BarrierControlStop(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0103
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
-
- class Attributes:
- @dataclass
- class BarrierMovingState(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class BarrierSafetyStatus(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class BarrierCapabilities(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class BarrierOpenEvents(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class BarrierCloseEvents(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class BarrierCommandOpenEvents(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000006
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class BarrierCommandCloseEvents(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000007
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class BarrierOpenPeriod(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000008
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class BarrierClosePeriod(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000009
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class BarrierPosition(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0103
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class PumpConfigurationAndControl(Cluster):
- id: typing.ClassVar[int] = 0x0200
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="maxPressure", Tag=0x00000000, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="maxSpeed", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="maxFlow", Tag=0x00000002, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="minConstPressure", Tag=0x00000003, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="maxConstPressure", Tag=0x00000004, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="minCompPressure", Tag=0x00000005, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="maxCompPressure", Tag=0x00000006, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="minConstSpeed", Tag=0x00000007, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="maxConstSpeed", Tag=0x00000008, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="minConstFlow", Tag=0x00000009, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="maxConstFlow", Tag=0x0000000A, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="minConstTemp", Tag=0x0000000B, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="maxConstTemp", Tag=0x0000000C, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="pumpStatus", Tag=0x00000010, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="effectiveOperationMode", Tag=0x00000011, Type=PumpConfigurationAndControl.Enums.PumpOperationMode),
- ClusterObjectFieldDescriptor(Label="effectiveControlMode", Tag=0x00000012, Type=PumpConfigurationAndControl.Enums.PumpControlMode),
- ClusterObjectFieldDescriptor(Label="capacity", Tag=0x00000013, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="speed", Tag=0x00000014, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="lifetimeRunningHours", Tag=0x00000015, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="power", Tag=0x00000016, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="lifetimeEnergyConsumed", Tag=0x00000017, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="operationMode", Tag=0x00000020, Type=PumpConfigurationAndControl.Enums.PumpOperationMode),
- ClusterObjectFieldDescriptor(Label="controlMode", Tag=0x00000021, Type=typing.Optional[PumpConfigurationAndControl.Enums.PumpControlMode]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- maxPressure: 'typing.Union[Nullable, int]' = None
- maxSpeed: 'typing.Union[Nullable, uint]' = None
- maxFlow: 'typing.Union[Nullable, uint]' = None
- minConstPressure: 'typing.Union[None, Nullable, int]' = None
- maxConstPressure: 'typing.Union[None, Nullable, int]' = None
- minCompPressure: 'typing.Union[None, Nullable, int]' = None
- maxCompPressure: 'typing.Union[None, Nullable, int]' = None
- minConstSpeed: 'typing.Union[None, Nullable, uint]' = None
- maxConstSpeed: 'typing.Union[None, Nullable, uint]' = None
- minConstFlow: 'typing.Union[None, Nullable, uint]' = None
- maxConstFlow: 'typing.Union[None, Nullable, uint]' = None
- minConstTemp: 'typing.Union[None, Nullable, int]' = None
- maxConstTemp: 'typing.Union[None, Nullable, int]' = None
- pumpStatus: 'typing.Optional[uint]' = None
- effectiveOperationMode: 'PumpConfigurationAndControl.Enums.PumpOperationMode' = None
- effectiveControlMode: 'PumpConfigurationAndControl.Enums.PumpControlMode' = None
- capacity: 'typing.Union[Nullable, int]' = None
- speed: 'typing.Union[None, Nullable, uint]' = None
- lifetimeRunningHours: 'typing.Union[None, Nullable, uint]' = None
- power: 'typing.Union[None, Nullable, uint]' = None
- lifetimeEnergyConsumed: 'typing.Union[None, Nullable, uint]' = None
- operationMode: 'PumpConfigurationAndControl.Enums.PumpOperationMode' = None
- controlMode: 'typing.Optional[PumpConfigurationAndControl.Enums.PumpControlMode]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class PumpControlMode(IntEnum):
- kConstantSpeed = 0x00
- kConstantPressure = 0x01
- kProportionalPressure = 0x02
- kConstantFlow = 0x03
- kConstantTemperature = 0x05
- kAutomatic = 0x07
-
- class PumpOperationMode(IntEnum):
- kNormal = 0x00
- kMinimum = 0x01
- kMaximum = 0x02
- kLocal = 0x03
-
-
-
-
- class Attributes:
- @dataclass
- class MaxPressure(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
-
- value: 'typing.Union[Nullable, int]' = NullValue
-
- @dataclass
- class MaxSpeed(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class MaxFlow(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class MinConstPressure(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
-
- value: 'typing.Union[None, Nullable, int]' = None
-
- @dataclass
- class MaxConstPressure(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
-
- value: 'typing.Union[None, Nullable, int]' = None
-
- @dataclass
- class MinCompPressure(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
-
- value: 'typing.Union[None, Nullable, int]' = None
-
- @dataclass
- class MaxCompPressure(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000006
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
-
- value: 'typing.Union[None, Nullable, int]' = None
-
- @dataclass
- class MinConstSpeed(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000007
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class MaxConstSpeed(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000008
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class MinConstFlow(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000009
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class MaxConstFlow(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class MinConstTemp(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000B
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
-
- value: 'typing.Union[None, Nullable, int]' = None
-
- @dataclass
- class MaxConstTemp(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000C
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
-
- value: 'typing.Union[None, Nullable, int]' = None
-
- @dataclass
- class PumpStatus(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000010
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class EffectiveOperationMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000011
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=PumpConfigurationAndControl.Enums.PumpOperationMode)
-
- value: 'PumpConfigurationAndControl.Enums.PumpOperationMode' = 0
-
- @dataclass
- class EffectiveControlMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000012
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=PumpConfigurationAndControl.Enums.PumpControlMode)
-
- value: 'PumpConfigurationAndControl.Enums.PumpControlMode' = 0
-
- @dataclass
- class Capacity(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000013
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
-
- value: 'typing.Union[Nullable, int]' = NullValue
-
- @dataclass
- class Speed(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000014
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class LifetimeRunningHours(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000015
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class Power(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000016
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class LifetimeEnergyConsumed(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000017
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class OperationMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000020
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=PumpConfigurationAndControl.Enums.PumpOperationMode)
-
- value: 'PumpConfigurationAndControl.Enums.PumpOperationMode' = 0
-
- @dataclass
- class ControlMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000021
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[PumpConfigurationAndControl.Enums.PumpControlMode])
-
- value: 'typing.Optional[PumpConfigurationAndControl.Enums.PumpControlMode]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
- class Events:
- @dataclass
- class SupplyVoltageLow(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class SupplyVoltageHigh(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class PowerMissingPhase(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class SystemPressureLow(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class SystemPressureHigh(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class DryRunning(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class MotorTemperatureHigh(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000006
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class PumpMotorFatalFailure(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000007
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class ElectronicTemperatureHigh(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000008
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class PumpBlocked(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000009
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class SensorFailure(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x0000000A
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class ElectronicNonFatalFailure(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x0000000B
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class ElectronicFatalFailure(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x0000000C
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class GeneralFault(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x0000000D
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class Leakage(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x0000000E
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class AirDetection(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x0000000F
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class TurbineOperation(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0200
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000010
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
-
-@dataclass
-class Thermostat(Cluster):
- id: typing.ClassVar[int] = 0x0201
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="localTemperature", Tag=0x00000000, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="outdoorTemperature", Tag=0x00000001, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="occupancy", Tag=0x00000002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="absMinHeatSetpointLimit", Tag=0x00000003, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="absMaxHeatSetpointLimit", Tag=0x00000004, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="absMinCoolSetpointLimit", Tag=0x00000005, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="absMaxCoolSetpointLimit", Tag=0x00000006, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="PICoolingDemand", Tag=0x00000007, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="PIHeatingDemand", Tag=0x00000008, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="HVACSystemTypeConfiguration", Tag=0x00000009, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="localTemperatureCalibration", Tag=0x00000010, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="occupiedCoolingSetpoint", Tag=0x00000011, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="occupiedHeatingSetpoint", Tag=0x00000012, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="unoccupiedCoolingSetpoint", Tag=0x00000013, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="unoccupiedHeatingSetpoint", Tag=0x00000014, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="minHeatSetpointLimit", Tag=0x00000015, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="maxHeatSetpointLimit", Tag=0x00000016, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="minCoolSetpointLimit", Tag=0x00000017, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="maxCoolSetpointLimit", Tag=0x00000018, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="minSetpointDeadBand", Tag=0x00000019, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="remoteSensing", Tag=0x0000001A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="controlSequenceOfOperation", Tag=0x0000001B, Type=Thermostat.Enums.ThermostatControlSequence),
- ClusterObjectFieldDescriptor(Label="systemMode", Tag=0x0000001C, Type=uint),
- ClusterObjectFieldDescriptor(Label="thermostatRunningMode", Tag=0x0000001E, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="startOfWeek", Tag=0x00000020, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="numberOfWeeklyTransitions", Tag=0x00000021, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="numberOfDailyTransitions", Tag=0x00000022, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="temperatureSetpointHold", Tag=0x00000023, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="temperatureSetpointHoldDuration", Tag=0x00000024, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="thermostatProgrammingOperationMode", Tag=0x00000025, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="thermostatRunningState", Tag=0x00000029, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="setpointChangeSource", Tag=0x00000030, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="setpointChangeAmount", Tag=0x00000031, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="setpointChangeSourceTimestamp", Tag=0x00000032, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="occupiedSetback", Tag=0x00000034, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="occupiedSetbackMin", Tag=0x00000035, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="occupiedSetbackMax", Tag=0x00000036, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="unoccupiedSetback", Tag=0x00000037, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="unoccupiedSetbackMin", Tag=0x00000038, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="unoccupiedSetbackMax", Tag=0x00000039, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="emergencyHeatDelta", Tag=0x0000003A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="ACType", Tag=0x00000040, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="ACCapacity", Tag=0x00000041, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="ACRefrigerantType", Tag=0x00000042, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="ACCompressorType", Tag=0x00000043, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="ACErrorCode", Tag=0x00000044, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="ACLouverPosition", Tag=0x00000045, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="ACCoilTemperature", Tag=0x00000046, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="ACCapacityformat", Tag=0x00000047, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- localTemperature: 'typing.Union[Nullable, int]' = None
- outdoorTemperature: 'typing.Union[None, Nullable, int]' = None
- occupancy: 'typing.Optional[uint]' = None
- absMinHeatSetpointLimit: 'typing.Optional[int]' = None
- absMaxHeatSetpointLimit: 'typing.Optional[int]' = None
- absMinCoolSetpointLimit: 'typing.Optional[int]' = None
- absMaxCoolSetpointLimit: 'typing.Optional[int]' = None
- PICoolingDemand: 'typing.Optional[uint]' = None
- PIHeatingDemand: 'typing.Optional[uint]' = None
- HVACSystemTypeConfiguration: 'typing.Optional[uint]' = None
- localTemperatureCalibration: 'typing.Optional[int]' = None
- occupiedCoolingSetpoint: 'typing.Optional[int]' = None
- occupiedHeatingSetpoint: 'typing.Optional[int]' = None
- unoccupiedCoolingSetpoint: 'typing.Optional[int]' = None
- unoccupiedHeatingSetpoint: 'typing.Optional[int]' = None
- minHeatSetpointLimit: 'typing.Optional[int]' = None
- maxHeatSetpointLimit: 'typing.Optional[int]' = None
- minCoolSetpointLimit: 'typing.Optional[int]' = None
- maxCoolSetpointLimit: 'typing.Optional[int]' = None
- minSetpointDeadBand: 'typing.Optional[int]' = None
- remoteSensing: 'typing.Optional[uint]' = None
- controlSequenceOfOperation: 'Thermostat.Enums.ThermostatControlSequence' = None
- systemMode: 'uint' = None
- thermostatRunningMode: 'typing.Optional[uint]' = None
- startOfWeek: 'typing.Optional[uint]' = None
- numberOfWeeklyTransitions: 'typing.Optional[uint]' = None
- numberOfDailyTransitions: 'typing.Optional[uint]' = None
- temperatureSetpointHold: 'typing.Optional[uint]' = None
- temperatureSetpointHoldDuration: 'typing.Union[None, Nullable, uint]' = None
- thermostatProgrammingOperationMode: 'typing.Optional[uint]' = None
- thermostatRunningState: 'typing.Optional[uint]' = None
- setpointChangeSource: 'typing.Optional[uint]' = None
- setpointChangeAmount: 'typing.Union[None, Nullable, int]' = None
- setpointChangeSourceTimestamp: 'typing.Optional[uint]' = None
- occupiedSetback: 'typing.Union[None, Nullable, uint]' = None
- occupiedSetbackMin: 'typing.Union[None, Nullable, uint]' = None
- occupiedSetbackMax: 'typing.Union[None, Nullable, uint]' = None
- unoccupiedSetback: 'typing.Union[None, Nullable, uint]' = None
- unoccupiedSetbackMin: 'typing.Union[None, Nullable, uint]' = None
- unoccupiedSetbackMax: 'typing.Union[None, Nullable, uint]' = None
- emergencyHeatDelta: 'typing.Optional[uint]' = None
- ACType: 'typing.Optional[uint]' = None
- ACCapacity: 'typing.Optional[uint]' = None
- ACRefrigerantType: 'typing.Optional[uint]' = None
- ACCompressorType: 'typing.Optional[uint]' = None
- ACErrorCode: 'typing.Optional[uint]' = None
- ACLouverPosition: 'typing.Optional[uint]' = None
- ACCoilTemperature: 'typing.Union[None, Nullable, int]' = None
- ACCapacityformat: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class SetpointAdjustMode(IntEnum):
- kHeatSetpoint = 0x00
- kCoolSetpoint = 0x01
- kHeatAndCoolSetpoints = 0x02
-
- class ThermostatControlSequence(IntEnum):
- kCoolingOnly = 0x00
- kCoolingWithReheat = 0x01
- kHeatingOnly = 0x02
- kHeatingWithReheat = 0x03
- kCoolingAndHeating = 0x04
- kCoolingAndHeatingWithReheat = 0x05
-
- class ThermostatRunningMode(IntEnum):
- kOff = 0x00
- kCool = 0x03
- kHeat = 0x04
-
- class ThermostatSystemMode(IntEnum):
- kOff = 0x00
- kAuto = 0x01
- kCool = 0x03
- kHeat = 0x04
- kEmergencyHeating = 0x05
- kPrecooling = 0x06
- kFanOnly = 0x07
-
-
- class Structs:
- @dataclass
- class ThermostatScheduleTransition(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="heatSetpoint", Tag=1, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="coolSetpoint", Tag=2, Type=typing.Union[Nullable, int]),
- ])
-
- transitionTime: 'uint' = 0
- heatSetpoint: 'typing.Union[Nullable, int]' = NullValue
- coolSetpoint: 'typing.Union[Nullable, int]' = NullValue
-
-
-
- class Commands:
- @dataclass
- class SetpointRaiseLower(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0201
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=Thermostat.Enums.SetpointAdjustMode),
- ClusterObjectFieldDescriptor(Label="amount", Tag=1, Type=int),
- ])
-
- mode: 'Thermostat.Enums.SetpointAdjustMode' = 0
- amount: 'int' = 0
-
- @dataclass
- class GetWeeklyScheduleResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0201
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitions", Tag=3, Type=typing.List[Thermostat.Structs.ThermostatScheduleTransition]),
- ])
-
- numberOfTransitionsForSequence: 'uint' = 0
- dayOfWeekForSequence: 'uint' = 0
- modeForSequence: 'uint' = 0
- transitions: 'typing.List[Thermostat.Structs.ThermostatScheduleTransition]' = field(default_factory=lambda: [])
-
- @dataclass
- class SetWeeklySchedule(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0201
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitions", Tag=3, Type=typing.List[Thermostat.Structs.ThermostatScheduleTransition]),
- ])
-
- numberOfTransitionsForSequence: 'uint' = 0
- dayOfWeekForSequence: 'uint' = 0
- modeForSequence: 'uint' = 0
- transitions: 'typing.List[Thermostat.Structs.ThermostatScheduleTransition]' = field(default_factory=lambda: [])
-
- @dataclass
- class GetWeeklySchedule(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0201
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="daysToReturn", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="modeToReturn", Tag=1, Type=uint),
- ])
-
- daysToReturn: 'uint' = 0
- modeToReturn: 'uint' = 0
-
- @dataclass
- class ClearWeeklySchedule(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0201
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
-
- class Attributes:
- @dataclass
- class LocalTemperature(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
-
- value: 'typing.Union[Nullable, int]' = NullValue
-
- @dataclass
- class OutdoorTemperature(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
-
- value: 'typing.Union[None, Nullable, int]' = None
-
- @dataclass
- class Occupancy(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class AbsMinHeatSetpointLimit(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class AbsMaxHeatSetpointLimit(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000004
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class AbsMinCoolSetpointLimit(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000005
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class AbsMaxCoolSetpointLimit(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000006
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class PICoolingDemand(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000007
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class PIHeatingDemand(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000008
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class HVACSystemTypeConfiguration(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000009
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class LocalTemperatureCalibration(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000010
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class OccupiedCoolingSetpoint(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000011
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class OccupiedHeatingSetpoint(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000012
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class UnoccupiedCoolingSetpoint(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000013
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class UnoccupiedHeatingSetpoint(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000014
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class MinHeatSetpointLimit(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000015
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class MaxHeatSetpointLimit(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000016
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class MinCoolSetpointLimit(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000017
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class MaxCoolSetpointLimit(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000018
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class MinSetpointDeadBand(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000019
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
-
- value: 'typing.Optional[int]' = None
-
- @dataclass
- class RemoteSensing(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class ControlSequenceOfOperation(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001B
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=Thermostat.Enums.ThermostatControlSequence)
-
- value: 'Thermostat.Enums.ThermostatControlSequence' = 0
-
- @dataclass
- class SystemMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001C
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ThermostatRunningMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000001E
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class StartOfWeek(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000020
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class NumberOfWeeklyTransitions(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000021
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class NumberOfDailyTransitions(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000022
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TemperatureSetpointHold(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000023
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class TemperatureSetpointHoldDuration(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000024
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class ThermostatProgrammingOperationMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000025
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class ThermostatRunningState(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000029
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class SetpointChangeSource(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000030
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class SetpointChangeAmount(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000031
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
-
- value: 'typing.Union[None, Nullable, int]' = None
-
- @dataclass
- class SetpointChangeSourceTimestamp(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000032
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class OccupiedSetback(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000034
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class OccupiedSetbackMin(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000035
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class OccupiedSetbackMax(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000036
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class UnoccupiedSetback(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000037
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class UnoccupiedSetbackMin(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000038
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class UnoccupiedSetbackMax(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000039
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
-
- value: 'typing.Union[None, Nullable, uint]' = None
-
- @dataclass
- class EmergencyHeatDelta(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000003A
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class ACType(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000040
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class ACCapacity(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000041
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class ACRefrigerantType(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000042
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Optional[str]' = None
@dataclass
- class ACCompressorType(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0201
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000043
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ACErrorCode(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0201
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000044
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ACLouverPosition(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0201
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000045
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ACCoilTemperature(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0201
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000046
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Union[None, Nullable, int]' = None
+ value: 'uint' = 0
@dataclass
- class ACCapacityformat(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0201
+ return 0x0039
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000047
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0201
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return ClusterObjectFieldDescriptor(Type=uint)
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ value: 'uint' = 0
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ class Events:
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class StartUp(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0201
+ return 0x0039
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ def event_id(cls) -> int:
+ return 0x00000000
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="softwareVersion", Tag=0, Type=uint),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ softwareVersion: 'uint' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class ShutDown(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0201
+ return 0x0039
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ def event_id(cls) -> int:
+ return 0x00000001
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class Leave(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0201
+ return 0x0039
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ def event_id(cls) -> int:
+ return 0x00000002
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class ReachableChanged(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0201
+ return 0x0039
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ def event_id(cls) -> int:
+ return 0x00000003
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="reachableNewValue", Tag=0, Type=bool),
+ ])
+ reachableNewValue: 'bool' = False
@dataclass
-class FanControl(Cluster):
- id: typing.ClassVar[int] = 0x0202
+class Switch(Cluster):
+ id: typing.ClassVar[int] = 0x003B
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="fanMode", Tag=0x00000000, Type=FanControl.Enums.FanModeType),
- ClusterObjectFieldDescriptor(Label="fanModeSequence", Tag=0x00000001, Type=FanControl.Enums.FanModeSequenceType),
- ClusterObjectFieldDescriptor(Label="percentSetting", Tag=0x00000002, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="percentCurrent", Tag=0x00000003, Type=uint),
- ClusterObjectFieldDescriptor(Label="speedMax", Tag=0x00000004, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="speedSetting", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="speedCurrent", Tag=0x00000006, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rockSupport", Tag=0x00000007, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="rockSetting", Tag=0x00000008, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="windSupport", Tag=0x00000009, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="windSetting", Tag=0x0000000A, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfPositions", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="currentPosition", Tag=0x00000001, Type=uint),
+ ClusterObjectFieldDescriptor(Label="multiPressMax", Tag=0x00000002, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -20681,50 +10483,24 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- fanMode: 'FanControl.Enums.FanModeType' = None
- fanModeSequence: 'FanControl.Enums.FanModeSequenceType' = None
- percentSetting: 'typing.Union[Nullable, uint]' = None
- percentCurrent: 'uint' = None
- speedMax: 'typing.Optional[uint]' = None
- speedSetting: 'typing.Union[None, Nullable, uint]' = None
- speedCurrent: 'typing.Optional[uint]' = None
- rockSupport: 'typing.Optional[uint]' = None
- rockSetting: 'typing.Optional[uint]' = None
- windSupport: 'typing.Optional[uint]' = None
- windSetting: 'typing.Optional[uint]' = None
+ numberOfPositions: 'uint' = None
+ currentPosition: 'uint' = None
+ multiPressMax: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
- class Enums:
- class FanModeSequenceType(IntEnum):
- kOffLowMedHigh = 0x00
- kOffLowHigh = 0x01
- kOffLowMedHighAuto = 0x02
- kOffLowHighAuto = 0x03
- kOffOnAuto = 0x04
- kOffOn = 0x05
-
- class FanModeType(IntEnum):
- kOff = 0x00
- kLow = 0x01
- kMedium = 0x02
- kHigh = 0x03
- kOn = 0x04
- kAuto = 0x05
- kSmart = 0x06
-
class Attributes:
@dataclass
- class FanMode(ClusterAttributeDescriptor):
+ class NumberOfPositions(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -20732,15 +10508,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=FanControl.Enums.FanModeType)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'FanControl.Enums.FanModeType' = 0
+ value: 'uint' = 0
@dataclass
- class FanModeSequence(ClusterAttributeDescriptor):
+ class CurrentPosition(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -20748,15 +10524,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=FanControl.Enums.FanModeSequenceType)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'FanControl.Enums.FanModeSequenceType' = 0
+ value: 'uint' = 0
@dataclass
- class PercentSetting(ClusterAttributeDescriptor):
+ class MultiPressMax(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -20764,236 +10540,241 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, uint]' = NullValue
+ value: 'typing.Optional[uint]' = None
@dataclass
- class PercentCurrent(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'uint' = 0
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class SpeedMax(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class SpeedSetting(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000005
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class SpeedCurrent(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000006
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class RockSupport(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000007
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class RockSetting(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0202
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000008
+ return ClusterObjectFieldDescriptor(Type=uint)
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'uint' = 0
- value: 'typing.Optional[uint]' = None
+ class Events:
@dataclass
- class WindSupport(ClusterAttributeDescriptor):
+ class SwitchLatched(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000009
+ def event_id(cls) -> int:
+ return 0x00000000
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ newPosition: 'uint' = 0
@dataclass
- class WindSetting(ClusterAttributeDescriptor):
+ class InitialPress(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000A
+ def event_id(cls) -> int:
+ return 0x00000001
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint),
+ ])
- value: 'typing.Optional[uint]' = None
+ newPosition: 'uint' = 0
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class LongPress(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ def event_id(cls) -> int:
+ return 0x00000002
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ newPosition: 'uint' = 0
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class ShortRelease(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ def event_id(cls) -> int:
+ return 0x00000003
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ previousPosition: 'uint' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class LongRelease(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ def event_id(cls) -> int:
+ return 0x00000004
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="previousPosition", Tag=0, Type=uint),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ previousPosition: 'uint' = 0
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class MultiPressOngoing(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
+ return 0x003B
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ def event_id(cls) -> int:
+ return 0x00000005
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="currentNumberOfPressesCounted", Tag=1, Type=uint),
+ ])
- value: 'uint' = 0
+ newPosition: 'uint' = 0
+ currentNumberOfPressesCounted: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class MultiPressComplete(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0202
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x003B
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def event_id(cls) -> int:
+ return 0x00000006
- value: 'uint' = 0
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="newPosition", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="totalNumberOfPressesCounted", Tag=1, Type=uint),
+ ])
+ newPosition: 'uint' = 0
+ totalNumberOfPressesCounted: 'uint' = 0
@dataclass
-class DehumidificationControl(Cluster):
- id: typing.ClassVar[int] = 0x0203
+class AdministratorCommissioning(Cluster):
+ id: typing.ClassVar[int] = 0x003C
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="relativeHumidity", Tag=0x00000000, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="dehumidificationCooling", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="rhDehumidificationSetpoint", Tag=0x00000010, Type=uint),
- ClusterObjectFieldDescriptor(Label="relativeHumidityMode", Tag=0x00000011, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="dehumidificationLockout", Tag=0x00000012, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="dehumidificationHysteresis", Tag=0x00000013, Type=uint),
- ClusterObjectFieldDescriptor(Label="dehumidificationMaxCool", Tag=0x00000014, Type=uint),
- ClusterObjectFieldDescriptor(Label="relativeHumidityDisplay", Tag=0x00000015, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="windowStatus", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="adminFabricIndex", Tag=0x00000001, Type=uint),
+ ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=0x00000002, Type=uint),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -21001,113 +10782,103 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- relativeHumidity: 'typing.Optional[uint]' = None
- dehumidificationCooling: 'uint' = None
- rhDehumidificationSetpoint: 'uint' = None
- relativeHumidityMode: 'typing.Optional[uint]' = None
- dehumidificationLockout: 'typing.Optional[uint]' = None
- dehumidificationHysteresis: 'uint' = None
- dehumidificationMaxCool: 'uint' = None
- relativeHumidityDisplay: 'typing.Optional[uint]' = None
+ windowStatus: 'uint' = None
+ adminFabricIndex: 'uint' = None
+ adminVendorId: 'uint' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class CommissioningWindowStatus(IntEnum):
+ kWindowNotOpen = 0x00
+ kEnhancedWindowOpen = 0x01
+ kBasicWindowOpen = 0x02
+ class StatusCode(IntEnum):
+ kBusy = 0x01
+ kPAKEParameterError = 0x02
+ kWindowNotOpen = 0x03
- class Attributes:
- @dataclass
- class RelativeHumidity(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0203
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
+ class Commands:
@dataclass
- class DehumidificationCooling(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0203
+ class OpenCommissioningWindow(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003C
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
+ 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),
+ ])
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- value: 'uint' = 0
+ commissioningTimeout: 'uint' = 0
+ PAKEVerifier: 'bytes' = b""
+ discriminator: 'uint' = 0
+ iterations: 'uint' = 0
+ salt: 'bytes' = b""
@dataclass
- class RhDehumidificationSetpoint(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0203
+ class OpenBasicCommissioningWindow(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003C
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000010
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="commissioningTimeout", Tag=0, Type=uint),
+ ])
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- value: 'uint' = 0
+ commissioningTimeout: 'uint' = 0
@dataclass
- class RelativeHumidityMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0203
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000011
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
+ class RevokeCommissioning(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003C
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = True
- @dataclass
- class DehumidificationLockout(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0203
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000012
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[uint]' = None
+ class Attributes:
@dataclass
- class DehumidificationHysteresis(ClusterAttributeDescriptor):
+ class WindowStatus(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0203
+ return 0x003C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000013
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -21116,14 +10887,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class DehumidificationMaxCool(ClusterAttributeDescriptor):
+ class AdminFabricIndex(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0203
+ return 0x003C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000014
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -21132,26 +10903,26 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class RelativeHumidityDisplay(ClusterAttributeDescriptor):
+ class AdminVendorId(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0203
+ return 0x003C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000015
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0203
+ return 0x003C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -21167,7 +10938,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0203
+ return 0x003C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -21183,7 +10954,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0203
+ return 0x003C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -21199,7 +10970,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0203
+ return 0x003C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -21215,7 +10986,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0203
+ return 0x003C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -21230,16 +11001,19 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class ThermostatUserInterfaceConfiguration(Cluster):
- id: typing.ClassVar[int] = 0x0204
+class OperationalCredentials(Cluster):
+ id: typing.ClassVar[int] = 0x003E
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="temperatureDisplayMode", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="keypadLockout", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="scheduleProgrammingVisibility", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="NOCs", Tag=0x00000000, Type=typing.List[OperationalCredentials.Structs.NOCStruct]),
+ ClusterObjectFieldDescriptor(Label="fabrics", Tag=0x00000001, Type=typing.List[OperationalCredentials.Structs.FabricDescriptor]),
+ ClusterObjectFieldDescriptor(Label="supportedFabrics", Tag=0x00000002, Type=uint),
+ ClusterObjectFieldDescriptor(Label="commissionedFabrics", Tag=0x00000003, Type=uint),
+ ClusterObjectFieldDescriptor(Label="trustedRootCertificates", Tag=0x00000004, Type=typing.List[bytes]),
+ ClusterObjectFieldDescriptor(Label="currentFabricIndex", Tag=0x00000005, Type=uint),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -21247,900 +11021,1042 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- temperatureDisplayMode: 'uint' = None
- keypadLockout: 'uint' = None
- scheduleProgrammingVisibility: 'typing.Optional[uint]' = None
+ NOCs: 'typing.List[OperationalCredentials.Structs.NOCStruct]' = None
+ fabrics: 'typing.List[OperationalCredentials.Structs.FabricDescriptor]' = None
+ supportedFabrics: 'uint' = None
+ commissionedFabrics: 'uint' = None
+ trustedRootCertificates: 'typing.List[bytes]' = None
+ currentFabricIndex: 'uint' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class OperationalCertStatus(IntEnum):
+ kSuccess = 0x00
+ kInvalidPublicKey = 0x01
+ kInvalidNodeOpId = 0x02
+ kInvalidNOC = 0x03
+ kMissingCsr = 0x04
+ kTableFull = 0x05
+ kInvalidAdminSubject = 0x06
+ kInsufficientPrivilege = 0x08
+ kFabricConflict = 0x09
+ kLabelConflict = 0x0A
+ kInvalidFabricIndex = 0x0B
-
- class Attributes:
- @dataclass
- class TemperatureDisplayMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0204
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class KeypadLockout(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0204
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class ScheduleProgrammingVisibility(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0204
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
+ class Structs:
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0204
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
+ class FabricDescriptor(ClusterObject):
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="rootPublicKey", Tag=1, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="vendorId", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="fabricId", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="nodeId", Tag=4, Type=uint),
+ ClusterObjectFieldDescriptor(Label="label", Tag=5, Type=str),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ rootPublicKey: 'bytes' = b""
+ vendorId: 'uint' = 0
+ fabricId: 'uint' = 0
+ nodeId: 'uint' = 0
+ label: 'str' = ""
+ fabricIndex: 'uint' = 0
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class NOCStruct(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0204
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="noc", Tag=1, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="icac", Tag=2, Type=typing.Union[Nullable, bytes]),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ noc: 'bytes' = b""
+ icac: 'typing.Union[Nullable, bytes]' = NullValue
+ fabricIndex: 'uint' = 0
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ class Commands:
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0204
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ class AttestationRequest(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003E
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="attestationNonce", Tag=0, Type=bytes),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ attestationNonce: 'bytes' = b""
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0204
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ class AttestationResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003E
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="attestationElements", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="signature", Tag=1, Type=bytes),
+ ])
- value: 'uint' = 0
+ attestationElements: 'bytes' = b""
+ signature: 'bytes' = b""
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0204
+ class CertificateChainRequest(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003E
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="certificateType", Tag=0, Type=uint),
+ ])
+
+ certificateType: 'uint' = 0
+
+ @dataclass
+ class CertificateChainResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003E
+ command_id: typing.ClassVar[int] = 0x0003
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="certificate", Tag=0, Type=bytes),
+ ])
- value: 'uint' = 0
+ certificate: 'bytes' = b""
+ @dataclass
+ class CSRRequest(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),
+ ClusterObjectFieldDescriptor(Label="isForUpdateNOC", Tag=1, Type=typing.Optional[bool]),
+ ])
-@dataclass
-class ColorControl(Cluster):
- id: typing.ClassVar[int] = 0x0300
+ CSRNonce: 'bytes' = b""
+ isForUpdateNOC: 'typing.Optional[bool]' = None
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="currentHue", Tag=0x00000000, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="currentSaturation", Tag=0x00000001, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="remainingTime", Tag=0x00000002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="currentX", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="currentY", Tag=0x00000004, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="driftCompensation", Tag=0x00000005, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="compensationText", Tag=0x00000006, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="colorTemperature", Tag=0x00000007, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorMode", Tag=0x00000008, Type=uint),
- ClusterObjectFieldDescriptor(Label="options", Tag=0x0000000F, Type=uint),
- ClusterObjectFieldDescriptor(Label="numberOfPrimaries", Tag=0x00000010, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="primary1X", Tag=0x00000011, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary1Y", Tag=0x00000012, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary1Intensity", Tag=0x00000013, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="primary2X", Tag=0x00000015, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary2Y", Tag=0x00000016, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary2Intensity", Tag=0x00000017, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="primary3X", Tag=0x00000019, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary3Y", Tag=0x0000001A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary3Intensity", Tag=0x0000001B, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="primary4X", Tag=0x00000020, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary4Y", Tag=0x00000021, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary4Intensity", Tag=0x00000022, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="primary5X", Tag=0x00000024, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary5Y", Tag=0x00000025, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary5Intensity", Tag=0x00000026, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="primary6X", Tag=0x00000028, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary6Y", Tag=0x00000029, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="primary6Intensity", Tag=0x0000002A, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="whitePointX", Tag=0x00000030, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="whitePointY", Tag=0x00000031, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorPointRX", Tag=0x00000032, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorPointRY", Tag=0x00000033, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorPointRIntensity", Tag=0x00000034, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="colorPointGX", Tag=0x00000036, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorPointGY", Tag=0x00000037, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorPointGIntensity", Tag=0x00000038, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="colorPointBX", Tag=0x0000003A, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorPointBY", Tag=0x0000003B, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorPointBIntensity", Tag=0x0000003C, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="enhancedCurrentHue", Tag=0x00004000, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="enhancedColorMode", Tag=0x00004001, Type=uint),
- ClusterObjectFieldDescriptor(Label="colorLoopActive", Tag=0x00004002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorLoopDirection", Tag=0x00004003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorLoopTime", Tag=0x00004004, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorLoopStartEnhancedHue", Tag=0x00004005, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorLoopStoredEnhancedHue", Tag=0x00004006, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorCapabilities", Tag=0x0000400A, Type=uint),
- ClusterObjectFieldDescriptor(Label="colorTempPhysicalMinMireds", Tag=0x0000400B, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="colorTempPhysicalMaxMireds", Tag=0x0000400C, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="coupleColorTempToLevelMinMireds", Tag=0x0000400D, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="startUpColorTemperatureMireds", Tag=0x00004010, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ @dataclass
+ class CSRResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003E
+ command_id: typing.ClassVar[int] = 0x0005
+ is_client: typing.ClassVar[bool] = False
- currentHue: 'typing.Optional[uint]' = None
- currentSaturation: 'typing.Optional[uint]' = None
- remainingTime: 'typing.Optional[uint]' = None
- currentX: 'typing.Optional[uint]' = None
- currentY: 'typing.Optional[uint]' = None
- driftCompensation: 'typing.Optional[uint]' = None
- compensationText: 'typing.Optional[str]' = None
- colorTemperature: 'typing.Optional[uint]' = None
- colorMode: 'uint' = None
- options: 'uint' = None
- numberOfPrimaries: 'typing.Union[Nullable, uint]' = None
- primary1X: 'typing.Optional[uint]' = None
- primary1Y: 'typing.Optional[uint]' = None
- primary1Intensity: 'typing.Union[None, Nullable, uint]' = None
- primary2X: 'typing.Optional[uint]' = None
- primary2Y: 'typing.Optional[uint]' = None
- primary2Intensity: 'typing.Union[None, Nullable, uint]' = None
- primary3X: 'typing.Optional[uint]' = None
- primary3Y: 'typing.Optional[uint]' = None
- primary3Intensity: 'typing.Union[None, Nullable, uint]' = None
- primary4X: 'typing.Optional[uint]' = None
- primary4Y: 'typing.Optional[uint]' = None
- primary4Intensity: 'typing.Union[None, Nullable, uint]' = None
- primary5X: 'typing.Optional[uint]' = None
- primary5Y: 'typing.Optional[uint]' = None
- primary5Intensity: 'typing.Union[None, Nullable, uint]' = None
- primary6X: 'typing.Optional[uint]' = None
- primary6Y: 'typing.Optional[uint]' = None
- primary6Intensity: 'typing.Union[None, Nullable, uint]' = None
- whitePointX: 'typing.Optional[uint]' = None
- whitePointY: 'typing.Optional[uint]' = None
- colorPointRX: 'typing.Optional[uint]' = None
- colorPointRY: 'typing.Optional[uint]' = None
- colorPointRIntensity: 'typing.Union[None, Nullable, uint]' = None
- colorPointGX: 'typing.Optional[uint]' = None
- colorPointGY: 'typing.Optional[uint]' = None
- colorPointGIntensity: 'typing.Union[None, Nullable, uint]' = None
- colorPointBX: 'typing.Optional[uint]' = None
- colorPointBY: 'typing.Optional[uint]' = None
- colorPointBIntensity: 'typing.Union[None, Nullable, uint]' = None
- enhancedCurrentHue: 'typing.Optional[uint]' = None
- enhancedColorMode: 'uint' = None
- colorLoopActive: 'typing.Optional[uint]' = None
- colorLoopDirection: 'typing.Optional[uint]' = None
- colorLoopTime: 'typing.Optional[uint]' = None
- colorLoopStartEnhancedHue: 'typing.Optional[uint]' = None
- colorLoopStoredEnhancedHue: 'typing.Optional[uint]' = None
- colorCapabilities: 'uint' = None
- colorTempPhysicalMinMireds: 'typing.Optional[uint]' = None
- colorTempPhysicalMaxMireds: 'typing.Optional[uint]' = None
- coupleColorTempToLevelMinMireds: 'typing.Optional[uint]' = None
- startUpColorTemperatureMireds: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="NOCSRElements", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="attestationSignature", Tag=1, Type=bytes),
+ ])
- class Enums:
- class ColorLoopAction(IntEnum):
- kDeactivate = 0x00
- kActivateFromColorLoopStartEnhancedHue = 0x01
- kActivateFromEnhancedCurrentHue = 0x02
+ NOCSRElements: 'bytes' = b""
+ attestationSignature: 'bytes' = b""
- class ColorLoopDirection(IntEnum):
- kDecrementHue = 0x00
- kIncrementHue = 0x01
+ @dataclass
+ class AddNOC(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003E
+ command_id: typing.ClassVar[int] = 0x0006
+ is_client: typing.ClassVar[bool] = True
- class ColorMode(IntEnum):
- kCurrentHueAndCurrentSaturation = 0x00
- kCurrentXAndCurrentY = 0x01
- kColorTemperature = 0x02
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=typing.Optional[bytes]),
+ ClusterObjectFieldDescriptor(Label="IPKValue", Tag=2, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="caseAdminSubject", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="adminVendorId", Tag=4, Type=uint),
+ ])
- class HueDirection(IntEnum):
- kShortestDistance = 0x00
- kLongestDistance = 0x01
- kUp = 0x02
- kDown = 0x03
+ NOCValue: 'bytes' = b""
+ ICACValue: 'typing.Optional[bytes]' = None
+ IPKValue: 'bytes' = b""
+ caseAdminSubject: 'uint' = 0
+ adminVendorId: 'uint' = 0
- class HueMoveMode(IntEnum):
- kStop = 0x00
- kUp = 0x01
- kDown = 0x03
+ @dataclass
+ class UpdateNOC(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003E
+ command_id: typing.ClassVar[int] = 0x0007
+ is_client: typing.ClassVar[bool] = True
- class HueStepMode(IntEnum):
- kUp = 0x01
- kDown = 0x03
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="NOCValue", Tag=0, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="ICACValue", Tag=1, Type=typing.Optional[bytes]),
+ ])
- class SaturationMoveMode(IntEnum):
- kStop = 0x00
- kUp = 0x01
- kDown = 0x03
+ NOCValue: 'bytes' = b""
+ ICACValue: 'typing.Optional[bytes]' = None
- class SaturationStepMode(IntEnum):
- kUp = 0x01
- kDown = 0x03
+ @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=OperationalCredentials.Enums.OperationalCertStatus),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=1, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="debugText", Tag=2, Type=typing.Optional[str]),
+ ])
+ statusCode: 'OperationalCredentials.Enums.OperationalCertStatus' = 0
+ fabricIndex: 'typing.Optional[uint]' = None
+ debugText: 'typing.Optional[str]' = None
- class Commands:
@dataclass
- class MoveToHue(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0000
+ 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="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),
+ ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str),
])
- hue: 'uint' = 0
- direction: 'ColorControl.Enums.HueDirection' = 0
- transitionTime: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ label: 'str' = ""
@dataclass
- class MoveHue(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0001
+ 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="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),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=0, Type=uint),
])
- moveMode: 'ColorControl.Enums.HueMoveMode' = 0
- rate: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ fabricIndex: 'uint' = 0
@dataclass
- class StepHue(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0002
+ 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="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),
+ ClusterObjectFieldDescriptor(Label="rootCertificate", Tag=0, Type=bytes),
])
- stepMode: 'ColorControl.Enums.HueStepMode' = 0
- stepSize: 'uint' = 0
- transitionTime: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ rootCertificate: 'bytes' = b""
+
+ class Attributes:
@dataclass
- class MoveToSaturation(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
+ class NOCs(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003E
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000000
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[OperationalCredentials.Structs.NOCStruct])
+
+ value: 'typing.List[OperationalCredentials.Structs.NOCStruct]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class Fabrics(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003E
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000001
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[OperationalCredentials.Structs.FabricDescriptor])
+
+ value: 'typing.List[OperationalCredentials.Structs.FabricDescriptor]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class SupportedFabrics(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003E
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000002
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+ @dataclass
+ class CommissionedFabrics(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003E
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000003
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+ @dataclass
+ class TrustedRootCertificates(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003E
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000004
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[bytes])
+
+ value: 'typing.List[bytes]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class CurrentFabricIndex(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003E
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000005
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+ @dataclass
+ class GeneratedCommandList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003E
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFF8
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class AcceptedCommandList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003E
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFF9
@ChipUtility.classproperty
- def 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),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- saturation: 'uint' = 0
- transitionTime: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class MoveSaturation(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
+ class AttributeList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003E
@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),
- ])
+ def attribute_id(cls) -> int:
+ return 0x0000FFFB
- moveMode: 'ColorControl.Enums.SaturationMoveMode' = 0
- rate: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class StepSaturation(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = True
+ class FeatureMap(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003E
@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),
- ])
+ def attribute_id(cls) -> int:
+ return 0x0000FFFC
- stepMode: 'ColorControl.Enums.SaturationStepMode' = 0
- stepSize: 'uint' = 0
- transitionTime: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
@dataclass
- class MoveToHueAndSaturation(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0006
- is_client: typing.ClassVar[bool] = True
+ class ClusterRevision(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003E
@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),
- ])
+ def attribute_id(cls) -> int:
+ return 0x0000FFFD
- hue: 'uint' = 0
- saturation: 'uint' = 0
- transitionTime: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
- @dataclass
- class MoveToColor(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0007
- is_client: typing.ClassVar[bool] = True
+ value: 'uint' = 0
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="colorX", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="colorY", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint),
- ])
- colorX: 'uint' = 0
- colorY: 'uint' = 0
- transitionTime: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
- @dataclass
- class MoveColor(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0008
- is_client: typing.ClassVar[bool] = True
+@dataclass
+class GroupKeyManagement(Cluster):
+ id: typing.ClassVar[int] = 0x003F
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="groupKeyMap", Tag=0x00000000, Type=typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct]),
+ ClusterObjectFieldDescriptor(Label="groupTable", Tag=0x00000001, Type=typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct]),
+ ClusterObjectFieldDescriptor(Label="maxGroupsPerFabric", Tag=0x00000002, Type=uint),
+ ClusterObjectFieldDescriptor(Label="maxGroupKeysPerFabric", Tag=0x00000003, Type=uint),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ groupKeyMap: 'typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct]' = None
+ groupTable: 'typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct]' = None
+ maxGroupsPerFabric: 'uint' = None
+ maxGroupKeysPerFabric: 'uint' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+ class Enums:
+ class GroupKeySecurityPolicy(IntEnum):
+ kTrustFirst = 0x00
+ kCacheAndSync = 0x01
+
+
+ class Structs:
+ @dataclass
+ class GroupInfoMapStruct(ClusterObject):
@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),
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="endpoints", Tag=2, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="groupName", Tag=3, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
])
- rateX: 'int' = 0
- rateY: 'int' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ groupId: 'uint' = 0
+ endpoints: 'typing.List[uint]' = field(default_factory=lambda: [])
+ groupName: 'typing.Optional[str]' = None
+ fabricIndex: 'uint' = 0
@dataclass
- class StepColor(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0009
- is_client: typing.ClassVar[bool] = True
-
+ class GroupKeyMapStruct(ClusterObject):
@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),
+ ClusterObjectFieldDescriptor(Label="groupId", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=254, Type=uint),
])
- stepX: 'int' = 0
- stepY: 'int' = 0
- transitionTime: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ groupId: 'uint' = 0
+ groupKeySetID: 'uint' = 0
+ fabricIndex: 'uint' = 0
@dataclass
- class MoveToColorTemperature(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x000A
- is_client: typing.ClassVar[bool] = True
-
+ class GroupKeySetStruct(ClusterObject):
@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),
+ ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupKeySecurityPolicy", Tag=1, Type=GroupKeyManagement.Enums.GroupKeySecurityPolicy),
+ ClusterObjectFieldDescriptor(Label="epochKey0", Tag=2, Type=typing.Union[Nullable, bytes]),
+ ClusterObjectFieldDescriptor(Label="epochStartTime0", Tag=3, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="epochKey1", Tag=4, Type=typing.Union[Nullable, bytes]),
+ ClusterObjectFieldDescriptor(Label="epochStartTime1", Tag=5, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="epochKey2", Tag=6, Type=typing.Union[Nullable, bytes]),
+ ClusterObjectFieldDescriptor(Label="epochStartTime2", Tag=7, Type=typing.Union[Nullable, uint]),
])
- colorTemperature: 'uint' = 0
- transitionTime: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ groupKeySetID: 'uint' = 0
+ groupKeySecurityPolicy: 'GroupKeyManagement.Enums.GroupKeySecurityPolicy' = 0
+ epochKey0: 'typing.Union[Nullable, bytes]' = NullValue
+ epochStartTime0: 'typing.Union[Nullable, uint]' = NullValue
+ epochKey1: 'typing.Union[Nullable, bytes]' = NullValue
+ epochStartTime1: 'typing.Union[Nullable, uint]' = NullValue
+ epochKey2: 'typing.Union[Nullable, bytes]' = NullValue
+ epochStartTime2: 'typing.Union[Nullable, uint]' = NullValue
+
+
+ class Commands:
@dataclass
- class EnhancedMoveToHue(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0040
+ class KeySetWrite(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003F
+ command_id: typing.ClassVar[int] = 0x0000
is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="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),
+ ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySetStruct),
])
- enhancedHue: 'uint' = 0
- direction: 'ColorControl.Enums.HueDirection' = 0
- transitionTime: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ groupKeySet: 'GroupKeyManagement.Structs.GroupKeySetStruct' = field(default_factory=lambda: GroupKeyManagement.Structs.GroupKeySetStruct())
@dataclass
- class EnhancedMoveHue(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0041
+ class KeySetRead(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003F
+ command_id: typing.ClassVar[int] = 0x0001
is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="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),
+ ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint),
])
- moveMode: 'ColorControl.Enums.HueMoveMode' = 0
- rate: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ groupKeySetID: 'uint' = 0
@dataclass
- class EnhancedStepHue(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0042
- is_client: typing.ClassVar[bool] = True
+ class KeySetReadResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003F
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="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),
+ ClusterObjectFieldDescriptor(Label="groupKeySet", Tag=0, Type=GroupKeyManagement.Structs.GroupKeySetStruct),
])
- stepMode: 'ColorControl.Enums.HueStepMode' = 0
- stepSize: 'uint' = 0
- transitionTime: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ groupKeySet: 'GroupKeyManagement.Structs.GroupKeySetStruct' = field(default_factory=lambda: GroupKeyManagement.Structs.GroupKeySetStruct())
@dataclass
- class EnhancedMoveToHueAndSaturation(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0043
+ class KeySetRemove(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003F
+ command_id: typing.ClassVar[int] = 0x0003
is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="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),
+ ClusterObjectFieldDescriptor(Label="groupKeySetID", Tag=0, Type=uint),
])
- enhancedHue: 'uint' = 0
- saturation: 'uint' = 0
- transitionTime: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ groupKeySetID: 'uint' = 0
@dataclass
- class ColorLoopSet(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0044
+ class KeySetReadAllIndices(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003F
+ command_id: typing.ClassVar[int] = 0x0004
is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="updateFlags", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="action", Tag=1, Type=ColorControl.Enums.ColorLoopAction),
- ClusterObjectFieldDescriptor(Label="direction", Tag=2, Type=ColorControl.Enums.ColorLoopDirection),
- ClusterObjectFieldDescriptor(Label="time", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="startHue", Tag=4, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]),
])
- updateFlags: 'uint' = 0
- action: 'ColorControl.Enums.ColorLoopAction' = 0
- direction: 'ColorControl.Enums.ColorLoopDirection' = 0
- time: 'uint' = 0
- startHue: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ groupKeySetIDs: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class StopMoveStep(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x0047
- is_client: typing.ClassVar[bool] = True
+ class KeySetReadAllIndicesResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x003F
+ command_id: typing.ClassVar[int] = 0x0005
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="groupKeySetIDs", Tag=0, Type=typing.List[uint]),
])
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ groupKeySetIDs: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ class Attributes:
@dataclass
- class MoveColorTemperature(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x004B
- is_client: typing.ClassVar[bool] = True
+ class GroupKeyMap(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000000
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct])
+
+ value: 'typing.List[GroupKeyManagement.Structs.GroupKeyMapStruct]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class GroupTable(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000001
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct])
+
+ value: 'typing.List[GroupKeyManagement.Structs.GroupInfoMapStruct]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class MaxGroupsPerFabric(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000002
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+ @dataclass
+ class MaxGroupKeysPerFabric(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000003
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+ @dataclass
+ class GeneratedCommandList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFF8
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class AcceptedCommandList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFF9
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class AttributeList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFFB
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class FeatureMap(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFFC
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+ @dataclass
+ class ClusterRevision(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x003F
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFFD
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+
+
+@dataclass
+class FixedLabel(Cluster):
+ id: typing.ClassVar[int] = 0x0040
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="labelList", Tag=0x00000000, Type=typing.List[FixedLabel.Structs.LabelStruct]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ labelList: 'typing.List[FixedLabel.Structs.LabelStruct]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+
+ class Structs:
+ @dataclass
+ class LabelStruct(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode),
- ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="colorTemperatureMinimumMireds", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="colorTemperatureMaximumMireds", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionsMask", Tag=4, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=5, Type=uint),
+ ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str),
])
- moveMode: 'ColorControl.Enums.HueMoveMode' = 0
- rate: 'uint' = 0
- colorTemperatureMinimumMireds: 'uint' = 0
- colorTemperatureMaximumMireds: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ label: 'str' = ""
+ value: 'str' = ""
+
+
+
+ class Attributes:
@dataclass
- class StepColorTemperature(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0300
- command_id: typing.ClassVar[int] = 0x004C
- is_client: typing.ClassVar[bool] = True
+ class LabelList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0040
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode),
- ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="colorTemperatureMinimumMireds", Tag=3, Type=uint),
- ClusterObjectFieldDescriptor(Label="colorTemperatureMaximumMireds", Tag=4, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint),
- ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000000
- stepMode: 'ColorControl.Enums.HueStepMode' = 0
- stepSize: 'uint' = 0
- transitionTime: 'uint' = 0
- colorTemperatureMinimumMireds: 'uint' = 0
- colorTemperatureMaximumMireds: 'uint' = 0
- optionsMask: 'uint' = 0
- optionsOverride: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[FixedLabel.Structs.LabelStruct])
+ value: 'typing.List[FixedLabel.Structs.LabelStruct]' = field(default_factory=lambda: [])
- class Attributes:
@dataclass
- class CurrentHue(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0040
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class CurrentSaturation(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0040
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class RemainingTime(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0040
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class CurrentX(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0040
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class CurrentY(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0040
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+
+
+@dataclass
+class UserLabel(Cluster):
+ id: typing.ClassVar[int] = 0x0041
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="labelList", Tag=0x00000000, Type=typing.List[UserLabel.Structs.LabelStruct]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ labelList: 'typing.List[UserLabel.Structs.LabelStruct]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- value: 'typing.Optional[uint]' = None
+ class Structs:
@dataclass
- class DriftCompensation(ClusterAttributeDescriptor):
+ class LabelStruct(ClusterObject):
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str),
+ ])
+
+ label: 'str' = ""
+ value: 'str' = ""
+
+
+
+
+ class Attributes:
+ @dataclass
+ class LabelList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0041
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000005
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[UserLabel.Structs.LabelStruct])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[UserLabel.Structs.LabelStruct]' = field(default_factory=lambda: [])
@dataclass
- class CompensationText(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0041
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000006
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[str]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ColorTemperature(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0041
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000007
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ColorMode(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0041
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000008
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'uint' = 0
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Options(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0041
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000F
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -22149,478 +12065,661 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class NumberOfPrimaries(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0041
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000010
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+
+
+@dataclass
+class ProxyConfiguration(Cluster):
+ id: typing.ClassVar[int] = 0x0042
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- value: 'typing.Union[Nullable, uint]' = NullValue
+
+
+ class Attributes:
@dataclass
- class Primary1X(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0042
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000011
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Primary1Y(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0042
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000012
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Primary1Intensity(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0042
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000013
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Primary2X(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0042
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000015
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class Primary2Y(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0042
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000016
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
+
+
+
+@dataclass
+class ProxyDiscovery(Cluster):
+ id: typing.ClassVar[int] = 0x0043
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+
+
+
+ class Attributes:
@dataclass
- class Primary2Intensity(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0043
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000017
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Primary3X(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0043
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000019
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Primary3Y(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0043
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000001A
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Primary3Intensity(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0043
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000001B
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'uint' = 0
@dataclass
- class Primary4X(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0043
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000020
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+
+
+@dataclass
+class ProxyValid(Cluster):
+ id: typing.ClassVar[int] = 0x0044
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+
+
- value: 'typing.Optional[uint]' = None
+ class Attributes:
@dataclass
- class Primary4Y(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0044
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000021
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Primary4Intensity(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0044
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000022
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Primary5X(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0044
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000024
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Primary5Y(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0044
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000025
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class Primary5Intensity(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0044
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000026
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'uint' = 0
+
+
+
+@dataclass
+class BooleanState(Cluster):
+ id: typing.ClassVar[int] = 0x0045
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="stateValue", Tag=0x00000000, Type=bool),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ stateValue: 'bool' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+
+
+
+ class Attributes:
@dataclass
- class Primary6X(ClusterAttributeDescriptor):
+ class StateValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0045
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000028
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=bool)
- value: 'typing.Optional[uint]' = None
+ value: 'bool' = False
@dataclass
- class Primary6Y(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0045
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000029
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Primary6Intensity(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0045
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000002A
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class WhitePointX(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0045
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000030
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class WhitePointY(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0045
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000031
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class ColorPointRX(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0045
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000032
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
+
+ class Events:
@dataclass
- class ColorPointRY(ClusterAttributeDescriptor):
+ class StateChange(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0045
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000033
+ def event_id(cls) -> int:
+ return 0x00000000
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="stateValue", Tag=0, Type=bool),
+ ])
+
+ stateValue: 'bool' = False
+
+
+@dataclass
+class ModeSelect(Cluster):
+ id: typing.ClassVar[int] = 0x0050
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="description", Tag=0x00000000, Type=str),
+ ClusterObjectFieldDescriptor(Label="standardNamespace", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="supportedModes", Tag=0x00000002, Type=typing.List[ModeSelect.Structs.ModeOptionStruct]),
+ ClusterObjectFieldDescriptor(Label="currentMode", Tag=0x00000003, Type=uint),
+ ClusterObjectFieldDescriptor(Label="startUpMode", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="onMode", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ description: 'str' = None
+ standardNamespace: 'typing.Union[Nullable, uint]' = None
+ supportedModes: 'typing.List[ModeSelect.Structs.ModeOptionStruct]' = None
+ currentMode: 'uint' = None
+ startUpMode: 'typing.Union[None, Nullable, uint]' = None
+ onMode: 'typing.Union[None, Nullable, uint]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- value: 'typing.Optional[uint]' = None
+ class Structs:
@dataclass
- class ColorPointRIntensity(ClusterAttributeDescriptor):
+ class SemanticTag(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="mfgCode", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=uint),
+ ])
+
+ mfgCode: 'uint' = 0
+ value: 'uint' = 0
+ @dataclass
+ class ModeOptionStruct(ClusterObject):
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000034
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="label", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="mode", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="semanticTags", Tag=2, Type=typing.List[ModeSelect.Structs.SemanticTag]),
+ ])
+
+ label: 'str' = ""
+ mode: 'uint' = 0
+ semanticTags: 'typing.List[ModeSelect.Structs.SemanticTag]' = field(default_factory=lambda: [])
+
+
+
+ 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 attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="newMode", Tag=0, Type=uint),
+ ])
+
+ newMode: 'uint' = 0
- value: 'typing.Union[None, Nullable, uint]' = None
+ class Attributes:
@dataclass
- class ColorPointGX(ClusterAttributeDescriptor):
+ class Description(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0050
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000036
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=str)
- value: 'typing.Optional[uint]' = None
+ value: 'str' = ""
@dataclass
- class ColorPointGY(ClusterAttributeDescriptor):
+ class StandardNamespace(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0050
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000037
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class ColorPointGIntensity(ClusterAttributeDescriptor):
+ class SupportedModes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0050
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000038
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[ModeSelect.Structs.ModeOptionStruct])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.List[ModeSelect.Structs.ModeOptionStruct]' = field(default_factory=lambda: [])
@dataclass
- class ColorPointBX(ClusterAttributeDescriptor):
+ class CurrentMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0050
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000003A
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class ColorPointBY(ClusterAttributeDescriptor):
+ class StartUpMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0050
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000003B
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class ColorPointBIntensity(ClusterAttributeDescriptor):
+ class OnMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0050
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000003C
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -22629,735 +12728,1011 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class EnhancedCurrentHue(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0050
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00004000
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class EnhancedColorMode(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0050
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00004001
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'uint' = 0
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ColorLoopActive(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0050
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00004002
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ColorLoopDirection(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0050
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00004003
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class ColorLoopTime(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0300
+ return 0x0050
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00004004
+ return 0x0000FFFD
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+
+
+@dataclass
+class DoorLock(Cluster):
+ id: typing.ClassVar[int] = 0x0101
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="lockState", Tag=0x00000000, Type=typing.Union[Nullable, DoorLock.Enums.DlLockState]),
+ ClusterObjectFieldDescriptor(Label="lockType", Tag=0x00000001, Type=DoorLock.Enums.DlLockType),
+ ClusterObjectFieldDescriptor(Label="actuatorEnabled", Tag=0x00000002, Type=bool),
+ ClusterObjectFieldDescriptor(Label="doorState", Tag=0x00000003, Type=typing.Union[None, Nullable, DoorLock.Enums.DlDoorState]),
+ ClusterObjectFieldDescriptor(Label="doorOpenEvents", Tag=0x00000004, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="doorClosedEvents", Tag=0x00000005, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="openPeriod", Tag=0x00000006, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfTotalUsersSupported", Tag=0x00000011, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfPINUsersSupported", Tag=0x00000012, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfRFIDUsersSupported", Tag=0x00000013, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfWeekDaySchedulesSupportedPerUser", Tag=0x00000014, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfYearDaySchedulesSupportedPerUser", Tag=0x00000015, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfHolidaySchedulesSupported", Tag=0x00000016, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="maxPINCodeLength", Tag=0x00000017, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="minPINCodeLength", Tag=0x00000018, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="maxRFIDCodeLength", Tag=0x00000019, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="minRFIDCodeLength", Tag=0x0000001A, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="credentialRulesSupport", Tag=0x0000001B, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfCredentialsSupportedPerUser", Tag=0x0000001C, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="language", Tag=0x00000021, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="LEDSettings", Tag=0x00000022, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="autoRelockTime", Tag=0x00000023, Type=uint),
+ ClusterObjectFieldDescriptor(Label="soundVolume", Tag=0x00000024, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="operatingMode", Tag=0x00000025, Type=DoorLock.Enums.DlOperatingMode),
+ ClusterObjectFieldDescriptor(Label="supportedOperatingModes", Tag=0x00000026, Type=uint),
+ ClusterObjectFieldDescriptor(Label="defaultConfigurationRegister", Tag=0x00000027, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="enableLocalProgramming", Tag=0x00000028, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="enableOneTouchLocking", Tag=0x00000029, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="enableInsideStatusLED", Tag=0x0000002A, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="enablePrivacyModeButton", Tag=0x0000002B, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="localProgrammingFeatures", Tag=0x0000002C, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="wrongCodeEntryLimit", Tag=0x00000030, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="userCodeTemporaryDisableTime", Tag=0x00000031, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="sendPINOverTheAir", Tag=0x00000032, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="requirePINforRemoteOperation", Tag=0x00000033, Type=typing.Optional[bool]),
+ ClusterObjectFieldDescriptor(Label="expiringUserTimeout", Tag=0x00000035, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ lockState: 'typing.Union[Nullable, DoorLock.Enums.DlLockState]' = None
+ lockType: 'DoorLock.Enums.DlLockType' = None
+ actuatorEnabled: 'bool' = None
+ doorState: 'typing.Union[None, Nullable, DoorLock.Enums.DlDoorState]' = None
+ doorOpenEvents: 'typing.Optional[uint]' = None
+ doorClosedEvents: 'typing.Optional[uint]' = None
+ openPeriod: 'typing.Optional[uint]' = None
+ numberOfTotalUsersSupported: 'typing.Optional[uint]' = None
+ numberOfPINUsersSupported: 'typing.Optional[uint]' = None
+ numberOfRFIDUsersSupported: 'typing.Optional[uint]' = None
+ numberOfWeekDaySchedulesSupportedPerUser: 'typing.Optional[uint]' = None
+ numberOfYearDaySchedulesSupportedPerUser: 'typing.Optional[uint]' = None
+ numberOfHolidaySchedulesSupported: 'typing.Optional[uint]' = None
+ maxPINCodeLength: 'typing.Optional[uint]' = None
+ minPINCodeLength: 'typing.Optional[uint]' = None
+ maxRFIDCodeLength: 'typing.Optional[uint]' = None
+ minRFIDCodeLength: 'typing.Optional[uint]' = None
+ credentialRulesSupport: 'typing.Optional[uint]' = None
+ numberOfCredentialsSupportedPerUser: 'typing.Optional[uint]' = None
+ language: 'typing.Optional[str]' = None
+ LEDSettings: 'typing.Optional[uint]' = None
+ autoRelockTime: 'uint' = None
+ soundVolume: 'typing.Optional[uint]' = None
+ operatingMode: 'DoorLock.Enums.DlOperatingMode' = None
+ supportedOperatingModes: 'uint' = None
+ defaultConfigurationRegister: 'typing.Optional[uint]' = None
+ enableLocalProgramming: 'typing.Optional[bool]' = None
+ enableOneTouchLocking: 'typing.Optional[bool]' = None
+ enableInsideStatusLED: 'typing.Optional[bool]' = None
+ enablePrivacyModeButton: 'typing.Optional[bool]' = None
+ localProgrammingFeatures: 'typing.Optional[uint]' = None
+ wrongCodeEntryLimit: 'typing.Optional[uint]' = None
+ userCodeTemporaryDisableTime: 'typing.Optional[uint]' = None
+ sendPINOverTheAir: 'typing.Optional[bool]' = None
+ requirePINforRemoteOperation: 'typing.Optional[bool]' = None
+ expiringUserTimeout: 'typing.Optional[uint]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- value: 'typing.Optional[uint]' = None
+ class Enums:
+ class DlAlarmCode(IntEnum):
+ kLockJammed = 0x00
+ kLockFactoryReset = 0x01
+ kLockRadioPowerCycled = 0x03
+ kWrongCodeEntryLimit = 0x04
+ kFrontEsceutcheonRemoved = 0x05
+ kDoorForcedOpen = 0x06
+ kDoorAjar = 0x07
+ kForcedUser = 0x08
- @dataclass
- class ColorLoopStartEnhancedHue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
+ class DlCredentialRule(IntEnum):
+ kSingle = 0x00
+ kDouble = 0x01
+ kTri = 0x02
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00004005
+ class DlCredentialType(IntEnum):
+ kProgrammingPIN = 0x00
+ kPin = 0x01
+ kRfid = 0x02
+ kFingerprint = 0x03
+ kFingerVein = 0x04
+ kFace = 0x05
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ class DlDataOperationType(IntEnum):
+ kAdd = 0x00
+ kClear = 0x01
+ kModify = 0x02
- value: 'typing.Optional[uint]' = None
+ class DlDoorState(IntEnum):
+ kDoorOpen = 0x00
+ kDoorClosed = 0x01
+ kDoorJammed = 0x02
+ kDoorForcedOpen = 0x03
+ kDoorUnspecifiedError = 0x04
+ kDoorAjar = 0x05
- @dataclass
- class ColorLoopStoredEnhancedHue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
+ class DlLockDataType(IntEnum):
+ kUnspecified = 0x00
+ kProgrammingCode = 0x01
+ kUserIndex = 0x02
+ kWeekDaySchedule = 0x03
+ kYearDaySchedule = 0x04
+ kHolidaySchedule = 0x05
+ kPin = 0x06
+ kRfid = 0x07
+ kFingerprint = 0x08
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00004006
+ class DlLockOperationType(IntEnum):
+ kLock = 0x00
+ kUnlock = 0x01
+ kNonAccessUserEvent = 0x02
+ kForcedUserEvent = 0x03
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ class DlLockState(IntEnum):
+ kNotFullyLocked = 0x00
+ kLocked = 0x01
+ kUnlocked = 0x02
- value: 'typing.Optional[uint]' = None
+ class DlLockType(IntEnum):
+ kDeadBolt = 0x00
+ kMagnetic = 0x01
+ kOther = 0x02
+ kMortise = 0x03
+ kRim = 0x04
+ kLatchBolt = 0x05
+ kCylindricalLock = 0x06
+ kTubularLock = 0x07
+ kInterconnectedLock = 0x08
+ kDeadLatch = 0x09
+ kDoorFurniture = 0x0A
- @dataclass
- class ColorCapabilities(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
+ class DlOperatingMode(IntEnum):
+ kNormal = 0x00
+ kVacation = 0x01
+ kPrivacy = 0x02
+ kNoRemoteLockUnlock = 0x03
+ kPassage = 0x04
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000400A
+ class DlOperationError(IntEnum):
+ kUnspecified = 0x00
+ kInvalidCredential = 0x01
+ kDisabledUserDenied = 0x02
+ kRestricted = 0x03
+ kInsufficientBattery = 0x04
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ class DlOperationSource(IntEnum):
+ kUnspecified = 0x00
+ kManual = 0x01
+ kProprietaryRemote = 0x02
+ kKeypad = 0x03
+ kAuto = 0x04
+ kButton = 0x05
+ kSchedule = 0x06
+ kRemote = 0x07
+ kRfid = 0x08
+ kBiometric = 0x09
- value: 'uint' = 0
+ class DlStatus(IntEnum):
+ kSuccess = 0x00
+ kFailure = 0x01
+ kDuplicate = 0x02
+ kOccupied = 0x03
+ kInvalidField = 0x85
+ kResourceExhausted = 0x89
+ kNotFound = 0x8B
- @dataclass
- class ColorTempPhysicalMinMireds(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
+ class DlUserStatus(IntEnum):
+ kAvailable = 0x00
+ kOccupiedEnabled = 0x01
+ kOccupiedDisabled = 0x03
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000400B
+ class DlUserType(IntEnum):
+ kUnrestrictedUser = 0x00
+ kYearDayScheduleUser = 0x01
+ kWeekDayScheduleUser = 0x02
+ kProgrammingUser = 0x03
+ kNonAccessUser = 0x04
+ kForcedUser = 0x05
+ kDisposableUser = 0x06
+ kExpiringUser = 0x07
+ kScheduleRestrictedUser = 0x08
+ kRemoteOnlyUser = 0x09
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ 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
- value: 'typing.Optional[uint]' = None
+ class DoorLockProgrammingEventCode(IntEnum):
+ kUnknownOrMfgSpecific = 0x00
+ kMasterCodeChanged = 0x01
+ kPinAdded = 0x02
+ kPinDeleted = 0x03
+ kPinChanged = 0x04
+ kIdAdded = 0x05
+ kIdDeleted = 0x06
- @dataclass
- class ColorTempPhysicalMaxMireds(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
+ class DoorLockSetPinOrIdStatus(IntEnum):
+ kSuccess = 0x00
+ kGeneralFailure = 0x01
+ kMemoryFull = 0x02
+ kDuplicateCodeError = 0x03
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000400C
+ class DoorLockUserStatus(IntEnum):
+ kAvailable = 0x00
+ kOccupiedEnabled = 0x01
+ kOccupiedDisabled = 0x03
+ kNotSupported = 0xFF
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ class DoorLockUserType(IntEnum):
+ kUnrestricted = 0x00
+ kYearDayScheduleUser = 0x01
+ kWeekDayScheduleUser = 0x02
+ kMasterUser = 0x03
+ kNonAccessUser = 0x04
+ kNotSupported = 0xFF
- value: 'typing.Optional[uint]' = None
+ class Structs:
@dataclass
- class CoupleColorTempToLevelMinMireds(ClusterAttributeDescriptor):
+ class DlCredential(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="credentialType", Tag=0, Type=DoorLock.Enums.DlCredentialType),
+ ClusterObjectFieldDescriptor(Label="credentialIndex", Tag=1, Type=uint),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000400D
+ credentialType: 'DoorLock.Enums.DlCredentialType' = 0
+ credentialIndex: 'uint' = 0
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[uint]' = None
+ class Commands:
@dataclass
- class StartUpColorTemperatureMireds(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
+ class LockDoor(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00004010
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="pinCode", Tag=0, Type=typing.Optional[bytes]),
+ ])
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- value: 'typing.Optional[uint]' = None
+ pinCode: 'typing.Optional[bytes]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
+ class UnlockDoor(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="pinCode", Tag=0, Type=typing.Optional[bytes]),
+ ])
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ pinCode: 'typing.Optional[bytes]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
+ class UnlockWithTimeout(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0003
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="timeout", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="pinCode", Tag=1, Type=typing.Optional[bytes]),
+ ])
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ timeout: 'uint' = 0
+ pinCode: 'typing.Optional[bytes]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ class SetWeekDaySchedule(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x000B
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="daysMask", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="startHour", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="startMinute", Tag=4, Type=uint),
+ ClusterObjectFieldDescriptor(Label="endHour", Tag=5, Type=uint),
+ ClusterObjectFieldDescriptor(Label="endMinute", Tag=6, Type=uint),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ weekDayIndex: 'uint' = 0
+ userIndex: 'uint' = 0
+ daysMask: 'uint' = 0
+ startHour: 'uint' = 0
+ startMinute: 'uint' = 0
+ endHour: 'uint' = 0
+ endMinute: 'uint' = 0
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ class GetWeekDaySchedule(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x000C
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
+ ])
- value: 'uint' = 0
+ weekDayIndex: 'uint' = 0
+ userIndex: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0300
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ class GetWeekDayScheduleResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x000C
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class BallastConfiguration(Cluster):
- id: typing.ClassVar[int] = 0x0301
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="physicalMinLevel", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="physicalMaxLevel", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="ballastStatus", Tag=0x00000002, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="minLevel", Tag=0x00000010, Type=uint),
- ClusterObjectFieldDescriptor(Label="maxLevel", Tag=0x00000011, Type=uint),
- ClusterObjectFieldDescriptor(Label="intrinsicBalanceFactor", Tag=0x00000014, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="ballastFactorAdjustment", Tag=0x00000015, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="lampQuantity", Tag=0x00000020, Type=uint),
- ClusterObjectFieldDescriptor(Label="lampType", Tag=0x00000030, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="lampManufacturer", Tag=0x00000031, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="lampRatedHours", Tag=0x00000032, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="lampBurnHours", Tag=0x00000033, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="lampAlarmMode", Tag=0x00000034, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="lampBurnHoursTripPoint", Tag=0x00000035, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=DoorLock.Enums.DlStatus),
+ ClusterObjectFieldDescriptor(Label="daysMask", Tag=3, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="startHour", Tag=4, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="startMinute", Tag=5, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="endHour", Tag=6, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="endMinute", Tag=7, Type=typing.Optional[uint]),
+ ])
- physicalMinLevel: 'uint' = None
- physicalMaxLevel: 'uint' = None
- ballastStatus: 'typing.Optional[uint]' = None
- minLevel: 'uint' = None
- maxLevel: 'uint' = None
- intrinsicBalanceFactor: 'typing.Union[None, Nullable, uint]' = None
- ballastFactorAdjustment: 'typing.Union[None, Nullable, uint]' = None
- lampQuantity: 'uint' = None
- lampType: 'typing.Optional[str]' = None
- lampManufacturer: 'typing.Optional[str]' = None
- lampRatedHours: 'typing.Union[None, Nullable, uint]' = None
- lampBurnHours: 'typing.Union[None, Nullable, uint]' = None
- lampAlarmMode: 'typing.Optional[uint]' = None
- lampBurnHoursTripPoint: 'typing.Union[None, Nullable, uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ weekDayIndex: 'uint' = 0
+ userIndex: 'uint' = 0
+ status: 'DoorLock.Enums.DlStatus' = 0
+ daysMask: 'typing.Optional[uint]' = None
+ startHour: 'typing.Optional[uint]' = None
+ startMinute: 'typing.Optional[uint]' = None
+ endHour: 'typing.Optional[uint]' = None
+ endMinute: 'typing.Optional[uint]' = None
+ @dataclass
+ class ClearWeekDaySchedule(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x000D
+ is_client: typing.ClassVar[bool] = True
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="weekDayIndex", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
+ ])
+ weekDayIndex: 'uint' = 0
+ userIndex: 'uint' = 0
- class Attributes:
@dataclass
- class PhysicalMinLevel(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
+ class SetYearDaySchedule(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x000E
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=uint),
+ ])
- value: 'uint' = 0
+ yearDayIndex: 'uint' = 0
+ userIndex: 'uint' = 0
+ localStartTime: 'uint' = 0
+ localEndTime: 'uint' = 0
@dataclass
- class PhysicalMaxLevel(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
+ class GetYearDaySchedule(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x000F
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
+ ])
- value: 'uint' = 0
+ yearDayIndex: 'uint' = 0
+ userIndex: 'uint' = 0
@dataclass
- class BallastStatus(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
+ class GetYearDayScheduleResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x000F
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="status", Tag=2, Type=DoorLock.Enums.DlStatus),
+ ClusterObjectFieldDescriptor(Label="localStartTime", Tag=3, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="localEndTime", Tag=4, Type=typing.Optional[uint]),
+ ])
- value: 'typing.Optional[uint]' = None
+ yearDayIndex: 'uint' = 0
+ userIndex: 'uint' = 0
+ status: 'DoorLock.Enums.DlStatus' = 0
+ localStartTime: 'typing.Optional[uint]' = None
+ localEndTime: 'typing.Optional[uint]' = None
@dataclass
- class MinLevel(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000010
+ class ClearYearDaySchedule(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0010
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="yearDayIndex", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
+ ])
- value: 'uint' = 0
+ yearDayIndex: 'uint' = 0
+ userIndex: 'uint' = 0
@dataclass
- class MaxLevel(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
+ class SetHolidaySchedule(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0011
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000011
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="localStartTime", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="localEndTime", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="operatingMode", Tag=3, Type=DoorLock.Enums.DlOperatingMode),
+ ])
+
+ holidayIndex: 'uint' = 0
+ localStartTime: 'uint' = 0
+ localEndTime: 'uint' = 0
+ operatingMode: 'DoorLock.Enums.DlOperatingMode' = 0
+
+ @dataclass
+ class GetHolidaySchedule(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0012
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint),
+ ])
- value: 'uint' = 0
+ holidayIndex: 'uint' = 0
@dataclass
- class IntrinsicBalanceFactor(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
+ class GetHolidayScheduleResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0012
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000014
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="status", Tag=1, Type=DoorLock.Enums.DlStatus),
+ ClusterObjectFieldDescriptor(Label="localStartTime", Tag=2, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="localEndTime", Tag=3, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="operatingMode", Tag=4, Type=typing.Optional[DoorLock.Enums.DlOperatingMode]),
+ ])
+
+ holidayIndex: 'uint' = 0
+ status: 'DoorLock.Enums.DlStatus' = 0
+ localStartTime: 'typing.Optional[uint]' = None
+ localEndTime: 'typing.Optional[uint]' = None
+ operatingMode: 'typing.Optional[DoorLock.Enums.DlOperatingMode]' = 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 attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="holidayIndex", Tag=0, Type=uint),
+ ])
- value: 'typing.Union[None, Nullable, uint]' = None
+ holidayIndex: 'uint' = 0
@dataclass
- class BallastFactorAdjustment(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
+ class SetUser(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x001A
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000015
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DlDataOperationType),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="userName", Tag=2, Type=typing.Union[Nullable, str]),
+ ClusterObjectFieldDescriptor(Label="userUniqueId", Tag=3, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="userStatus", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]),
+ ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]),
+ ClusterObjectFieldDescriptor(Label="credentialRule", Tag=6, Type=typing.Union[Nullable, DoorLock.Enums.DlCredentialRule]),
+ ])
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- value: 'typing.Union[None, Nullable, uint]' = None
+ operationType: 'DoorLock.Enums.DlDataOperationType' = 0
+ userIndex: 'uint' = 0
+ userName: 'typing.Union[Nullable, str]' = NullValue
+ userUniqueId: 'typing.Union[Nullable, uint]' = NullValue
+ userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue
+ userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue
+ credentialRule: 'typing.Union[Nullable, DoorLock.Enums.DlCredentialRule]' = NullValue
@dataclass
- class LampQuantity(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
+ class GetUser(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x001B
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000020
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint),
+ ])
+
+ userIndex: 'uint' = 0
+
+ @dataclass
+ class GetUserResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x001C
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="userName", Tag=1, Type=typing.Union[Nullable, str]),
+ ClusterObjectFieldDescriptor(Label="userUniqueId", Tag=2, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="userStatus", Tag=3, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]),
+ ClusterObjectFieldDescriptor(Label="userType", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]),
+ ClusterObjectFieldDescriptor(Label="credentialRule", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.DlCredentialRule]),
+ ClusterObjectFieldDescriptor(Label="credentials", Tag=6, Type=typing.Union[Nullable, typing.List[DoorLock.Structs.DlCredential]]),
+ ClusterObjectFieldDescriptor(Label="creatorFabricIndex", Tag=7, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="lastModifiedFabricIndex", Tag=8, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="nextUserIndex", Tag=9, Type=typing.Union[Nullable, uint]),
+ ])
- value: 'uint' = 0
+ userIndex: 'uint' = 0
+ userName: 'typing.Union[Nullable, str]' = NullValue
+ userUniqueId: 'typing.Union[Nullable, uint]' = NullValue
+ userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue
+ userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue
+ credentialRule: 'typing.Union[Nullable, DoorLock.Enums.DlCredentialRule]' = NullValue
+ credentials: 'typing.Union[Nullable, typing.List[DoorLock.Structs.DlCredential]]' = NullValue
+ creatorFabricIndex: 'typing.Union[Nullable, uint]' = NullValue
+ lastModifiedFabricIndex: 'typing.Union[Nullable, uint]' = NullValue
+ nextUserIndex: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class LampType(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
+ class ClearUser(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x001D
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000030
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=0, Type=uint),
+ ])
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- value: 'typing.Optional[str]' = None
+ userIndex: 'uint' = 0
@dataclass
- class LampManufacturer(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
+ class SetCredential(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0022
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000031
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="operationType", Tag=0, Type=DoorLock.Enums.DlDataOperationType),
+ ClusterObjectFieldDescriptor(Label="credential", Tag=1, Type=DoorLock.Structs.DlCredential),
+ ClusterObjectFieldDescriptor(Label="credentialData", Tag=2, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="userStatus", Tag=4, Type=typing.Union[Nullable, DoorLock.Enums.DlUserStatus]),
+ ClusterObjectFieldDescriptor(Label="userType", Tag=5, Type=typing.Union[Nullable, DoorLock.Enums.DlUserType]),
+ ])
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- value: 'typing.Optional[str]' = None
+ operationType: 'DoorLock.Enums.DlDataOperationType' = 0
+ credential: 'DoorLock.Structs.DlCredential' = field(default_factory=lambda: DoorLock.Structs.DlCredential())
+ credentialData: 'bytes' = b""
+ userIndex: 'typing.Union[Nullable, uint]' = NullValue
+ userStatus: 'typing.Union[Nullable, DoorLock.Enums.DlUserStatus]' = NullValue
+ userType: 'typing.Union[Nullable, DoorLock.Enums.DlUserType]' = NullValue
@dataclass
- class LampRatedHours(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000032
+ class SetCredentialResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0023
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=DoorLock.Enums.DlStatus),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="nextCredentialIndex", Tag=2, Type=typing.Union[Nullable, uint]),
+ ])
- value: 'typing.Union[None, Nullable, uint]' = None
+ status: 'DoorLock.Enums.DlStatus' = 0
+ userIndex: 'typing.Union[Nullable, uint]' = NullValue
+ nextCredentialIndex: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class LampBurnHours(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000033
+ class GetCredentialStatus(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0024
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=DoorLock.Structs.DlCredential),
+ ])
- value: 'typing.Union[None, Nullable, uint]' = None
+ credential: 'DoorLock.Structs.DlCredential' = field(default_factory=lambda: DoorLock.Structs.DlCredential())
@dataclass
- class LampAlarmMode(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000034
+ class GetCredentialStatusResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0025
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="credentialExists", Tag=0, Type=bool),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=1, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="creatorFabricIndex", Tag=2, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="lastModifiedFabricIndex", Tag=3, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="nextCredentialIndex", Tag=4, Type=typing.Union[Nullable, uint]),
+ ])
- value: 'typing.Optional[uint]' = None
+ credentialExists: 'bool' = False
+ userIndex: 'typing.Union[Nullable, uint]' = NullValue
+ creatorFabricIndex: 'typing.Union[Nullable, uint]' = NullValue
+ lastModifiedFabricIndex: 'typing.Union[Nullable, uint]' = NullValue
+ nextCredentialIndex: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class LampBurnHoursTripPoint(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0301
+ class ClearCredential(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0101
+ command_id: typing.ClassVar[int] = 0x0026
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000035
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="credential", Tag=0, Type=typing.Union[Nullable, DoorLock.Structs.DlCredential]),
+ ])
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ def must_use_timed_invoke(cls) -> bool:
+ return True
+
+ credential: 'typing.Union[Nullable, DoorLock.Structs.DlCredential]' = NullValue
- value: 'typing.Union[None, Nullable, uint]' = None
+ class Attributes:
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class LockState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0301
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, DoorLock.Enums.DlLockState])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[Nullable, DoorLock.Enums.DlLockState]' = NullValue
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class LockType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0301
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=DoorLock.Enums.DlLockType)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'DoorLock.Enums.DlLockType' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class ActuatorEnabled(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0301
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=bool)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'bool' = False
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class DoorState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0301
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, DoorLock.Enums.DlDoorState])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, DoorLock.Enums.DlDoorState]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class DoorOpenEvents(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0301
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class IlluminanceMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0400
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="lightSensorType", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'typing.Union[Nullable, uint]' = None
- minMeasuredValue: 'typing.Union[Nullable, uint]' = None
- maxMeasuredValue: 'typing.Union[Nullable, uint]' = None
- tolerance: 'typing.Optional[uint]' = None
- lightSensorType: 'typing.Union[None, Nullable, uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class LightSensorType(IntEnum):
- kPhotodiode = 0x00
- kCmos = 0x01
-
-
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class DoorClosedEvents(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0400
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, uint]' = NullValue
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class OpenPeriod(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0400
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, uint]' = NullValue
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class NumberOfTotalUsersSupported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0400
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000011
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, uint]' = NullValue
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class NumberOfPINUsersSupported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0400
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000012
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -23366,273 +13741,254 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class LightSensorType(ClusterAttributeDescriptor):
+ class NumberOfRFIDUsersSupported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0400
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x00000013
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class NumberOfWeekDaySchedulesSupportedPerUser(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0400
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000014
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class NumberOfYearDaySchedulesSupportedPerUser(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0400
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000015
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class NumberOfHolidaySchedulesSupported(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0400
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000016
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class MaxPINCodeLength(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0400
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000017
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class MinPINCodeLength(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0400
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000018
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class TemperatureMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0402
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ value: 'typing.Optional[uint]' = None
- measuredValue: 'typing.Union[Nullable, int]' = None
- minMeasuredValue: 'typing.Union[Nullable, int]' = None
- maxMeasuredValue: 'typing.Union[Nullable, int]' = None
- tolerance: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class MaxRFIDCodeLength(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0101
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000019
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class MinRFIDCodeLength(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0402
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x0000001A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, int]' = NullValue
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class CredentialRulesSupport(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0402
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x0000001B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, int]' = NullValue
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class NumberOfCredentialsSupportedPerUser(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0402
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000001C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, int]' = NullValue
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class Language(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0402
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000021
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Optional[str]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class LEDSettings(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0402
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000022
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class AutoRelockTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0402
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000023
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'uint' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class SoundVolume(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0402
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000024
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class OperatingMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0402
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000025
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=DoorLock.Enums.DlOperatingMode)
- value: 'uint' = 0
+ value: 'DoorLock.Enums.DlOperatingMode' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class SupportedOperatingModes(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0402
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000026
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -23640,108 +13996,95 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
+ @dataclass
+ class DefaultConfigurationRegister(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0101
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000027
-@dataclass
-class PressureMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0403
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, int]),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="scaledValue", Tag=0x00000010, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="minScaledValue", Tag=0x00000011, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="maxScaledValue", Tag=0x00000012, Type=typing.Union[None, Nullable, int]),
- ClusterObjectFieldDescriptor(Label="scaledTolerance", Tag=0x00000013, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="scale", Tag=0x00000014, Type=typing.Optional[int]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'typing.Union[Nullable, int]' = None
- minMeasuredValue: 'typing.Union[Nullable, int]' = None
- maxMeasuredValue: 'typing.Union[Nullable, int]' = None
- tolerance: 'typing.Optional[uint]' = None
- scaledValue: 'typing.Union[None, Nullable, int]' = None
- minScaledValue: 'typing.Union[None, Nullable, int]' = None
- maxScaledValue: 'typing.Union[None, Nullable, int]' = None
- scaledTolerance: 'typing.Optional[uint]' = None
- scale: 'typing.Optional[int]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
+ @dataclass
+ class EnableLocalProgramming(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0101
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000028
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
+
+ value: 'typing.Optional[bool]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class EnableOneTouchLocking(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000029
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
- value: 'typing.Union[Nullable, int]' = NullValue
+ value: 'typing.Optional[bool]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class EnableInsideStatusLED(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x0000002A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
- value: 'typing.Union[Nullable, int]' = NullValue
+ value: 'typing.Optional[bool]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class EnablePrivacyModeButton(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000002B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
- value: 'typing.Union[Nullable, int]' = NullValue
+ value: 'typing.Optional[bool]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class LocalProgrammingFeatures(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000002C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -23750,90 +14093,90 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class ScaledValue(ClusterAttributeDescriptor):
+ class WrongCodeEntryLimit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000010
+ return 0x00000030
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, int]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MinScaledValue(ClusterAttributeDescriptor):
+ class UserCodeTemporaryDisableTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000011
+ return 0x00000031
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, int]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxScaledValue(ClusterAttributeDescriptor):
+ class SendPINOverTheAir(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000012
+ return 0x00000032
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
- value: 'typing.Union[None, Nullable, int]' = None
+ value: 'typing.Optional[bool]' = None
@dataclass
- class ScaledTolerance(ClusterAttributeDescriptor):
+ class RequirePINforRemoteOperation(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000013
+ return 0x00000033
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[bool])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Optional[bool]' = None
@dataclass
- class Scale(ClusterAttributeDescriptor):
+ class ExpiringUserTimeout(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000014
+ return 0x00000035
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[int]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -23849,7 +14192,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -23865,7 +14208,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -23881,7 +14224,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -23897,7 +14240,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0403
+ return 0x0101
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -23910,19 +14253,167 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
+ class Events:
+ @dataclass
+ class DoorLockAlarm(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0101
+
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000000
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="alarmCode", Tag=0, Type=DoorLock.Enums.DlAlarmCode),
+ ])
+
+ alarmCode: 'DoorLock.Enums.DlAlarmCode' = 0
+
+ @dataclass
+ class DoorStateChange(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0101
+
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000001
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="doorState", Tag=0, Type=DoorLock.Enums.DlDoorState),
+ ])
+
+ doorState: 'DoorLock.Enums.DlDoorState' = 0
+
+ @dataclass
+ class LockOperation(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0101
+
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000002
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.DlLockOperationType),
+ ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.DlOperationSource),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=2, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=3, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="sourceNode", Tag=4, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="credentials", Tag=5, Type=typing.Union[None, Nullable, typing.List[DoorLock.Structs.DlCredential]]),
+ ])
+
+ lockOperationType: 'DoorLock.Enums.DlLockOperationType' = 0
+ operationSource: 'DoorLock.Enums.DlOperationSource' = 0
+ userIndex: 'typing.Union[Nullable, uint]' = NullValue
+ fabricIndex: 'typing.Union[Nullable, uint]' = NullValue
+ sourceNode: 'typing.Union[Nullable, uint]' = NullValue
+ credentials: 'typing.Union[None, Nullable, typing.List[DoorLock.Structs.DlCredential]]' = None
+
+ @dataclass
+ class LockOperationError(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0101
+
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000003
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="lockOperationType", Tag=0, Type=DoorLock.Enums.DlLockOperationType),
+ ClusterObjectFieldDescriptor(Label="operationSource", Tag=1, Type=DoorLock.Enums.DlOperationSource),
+ ClusterObjectFieldDescriptor(Label="operationError", Tag=2, Type=DoorLock.Enums.DlOperationError),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=4, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="sourceNode", Tag=5, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="credentials", Tag=6, Type=typing.Union[None, Nullable, typing.List[DoorLock.Structs.DlCredential]]),
+ ])
+
+ lockOperationType: 'DoorLock.Enums.DlLockOperationType' = 0
+ operationSource: 'DoorLock.Enums.DlOperationSource' = 0
+ operationError: 'DoorLock.Enums.DlOperationError' = 0
+ userIndex: 'typing.Union[Nullable, uint]' = NullValue
+ fabricIndex: 'typing.Union[Nullable, uint]' = NullValue
+ sourceNode: 'typing.Union[Nullable, uint]' = NullValue
+ credentials: 'typing.Union[None, Nullable, typing.List[DoorLock.Structs.DlCredential]]' = None
+
+ @dataclass
+ class LockUserChange(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0101
+
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0x00000004
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="lockDataType", Tag=0, Type=DoorLock.Enums.DlLockDataType),
+ ClusterObjectFieldDescriptor(Label="dataOperationType", Tag=1, Type=DoorLock.Enums.DlDataOperationType),
+ ClusterObjectFieldDescriptor(Label="operationSource", Tag=2, Type=DoorLock.Enums.DlOperationSource),
+ ClusterObjectFieldDescriptor(Label="userIndex", Tag=3, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="fabricIndex", Tag=4, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="sourceNode", Tag=5, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="dataIndex", Tag=6, Type=typing.Union[Nullable, uint]),
+ ])
+
+ lockDataType: 'DoorLock.Enums.DlLockDataType' = 0
+ dataOperationType: 'DoorLock.Enums.DlDataOperationType' = 0
+ operationSource: 'DoorLock.Enums.DlOperationSource' = 0
+ userIndex: 'typing.Union[Nullable, uint]' = NullValue
+ fabricIndex: 'typing.Union[Nullable, uint]' = NullValue
+ sourceNode: 'typing.Union[Nullable, uint]' = NullValue
+ dataIndex: 'typing.Union[Nullable, uint]' = NullValue
+
@dataclass
-class FlowMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0404
+class WindowCovering(Cluster):
+ id: typing.ClassVar[int] = 0x0102
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="type", Tag=0x00000000, Type=WindowCovering.Enums.Type),
+ ClusterObjectFieldDescriptor(Label="physicalClosedLimitLift", Tag=0x00000001, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="physicalClosedLimitTilt", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="currentPositionLift", Tag=0x00000003, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="currentPositionTilt", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfActuationsLift", Tag=0x00000005, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfActuationsTilt", Tag=0x00000006, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="configStatus", Tag=0x00000007, Type=uint),
+ ClusterObjectFieldDescriptor(Label="currentPositionLiftPercentage", Tag=0x00000008, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="currentPositionTiltPercentage", Tag=0x00000009, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="operationalStatus", Tag=0x0000000A, Type=uint),
+ ClusterObjectFieldDescriptor(Label="targetPositionLiftPercent100ths", Tag=0x0000000B, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="targetPositionTiltPercent100ths", Tag=0x0000000C, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="endProductType", Tag=0x0000000D, Type=WindowCovering.Enums.EndProductType),
+ ClusterObjectFieldDescriptor(Label="currentPositionLiftPercent100ths", Tag=0x0000000E, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="currentPositionTiltPercent100ths", Tag=0x0000000F, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="installedOpenLimitLift", Tag=0x00000010, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="installedClosedLimitLift", Tag=0x00000011, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="installedOpenLimitTilt", Tag=0x00000012, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="installedClosedLimitTilt", Tag=0x00000013, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="mode", Tag=0x00000017, Type=uint),
+ ClusterObjectFieldDescriptor(Label="safetyStatus", Tag=0x0000001A, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -23930,204 +14421,184 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- measuredValue: 'typing.Union[Nullable, uint]' = None
- minMeasuredValue: 'typing.Union[Nullable, uint]' = None
- maxMeasuredValue: 'typing.Union[Nullable, uint]' = None
- tolerance: 'typing.Optional[uint]' = None
+ type: 'WindowCovering.Enums.Type' = None
+ physicalClosedLimitLift: 'typing.Optional[uint]' = None
+ physicalClosedLimitTilt: 'typing.Optional[uint]' = None
+ currentPositionLift: 'typing.Union[None, Nullable, uint]' = None
+ currentPositionTilt: 'typing.Union[None, Nullable, uint]' = None
+ numberOfActuationsLift: 'typing.Optional[uint]' = None
+ numberOfActuationsTilt: 'typing.Optional[uint]' = None
+ configStatus: 'uint' = None
+ currentPositionLiftPercentage: 'typing.Union[None, Nullable, uint]' = None
+ currentPositionTiltPercentage: 'typing.Union[None, Nullable, uint]' = None
+ operationalStatus: 'uint' = None
+ targetPositionLiftPercent100ths: 'typing.Union[None, Nullable, uint]' = None
+ targetPositionTiltPercent100ths: 'typing.Union[None, Nullable, uint]' = None
+ endProductType: 'WindowCovering.Enums.EndProductType' = None
+ currentPositionLiftPercent100ths: 'typing.Union[None, Nullable, uint]' = None
+ currentPositionTiltPercent100ths: 'typing.Union[None, Nullable, uint]' = None
+ installedOpenLimitLift: 'typing.Optional[uint]' = None
+ installedClosedLimitLift: 'typing.Optional[uint]' = None
+ installedOpenLimitTilt: 'typing.Optional[uint]' = None
+ installedClosedLimitTilt: 'typing.Optional[uint]' = None
+ mode: 'uint' = None
+ safetyStatus: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class EndProductType(IntEnum):
+ kRollerShade = 0x00
+ kRomanShade = 0x01
+ kBalloonShade = 0x02
+ kWovenWood = 0x03
+ kPleatedShade = 0x04
+ kCellularShade = 0x05
+ kLayeredShade = 0x06
+ kLayeredShade2D = 0x07
+ kSheerShade = 0x08
+ kTiltOnlyInteriorBlind = 0x09
+ kInteriorBlind = 0x0A
+ kVerticalBlindStripCurtain = 0x0B
+ kInteriorVenetianBlind = 0x0C
+ kExteriorVenetianBlind = 0x0D
+ kLateralLeftCurtain = 0x0E
+ kLateralRightCurtain = 0x0F
+ kCentralCurtain = 0x10
+ kRollerShutter = 0x11
+ kExteriorVerticalScreen = 0x12
+ kAwningTerracePatio = 0x13
+ kAwningVerticalScreen = 0x14
+ kTiltOnlyPergola = 0x15
+ kSwingingShutter = 0x16
+ kSlidingShutter = 0x17
+ kUnknown = 0xFF
+ class Type(IntEnum):
+ kRollerShade = 0x00
+ kRollerShade2Motor = 0x01
+ kRollerShadeExterior = 0x02
+ kRollerShadeExterior2Motor = 0x03
+ kDrapery = 0x04
+ kAwning = 0x05
+ kShutter = 0x06
+ kTiltBlindTiltOnly = 0x07
+ kTiltBlindLiftAndTilt = 0x08
+ kProjectorScreen = 0x09
+ kUnknown = 0xFF
- class Attributes:
- @dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0404
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0404
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0404
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
-
- value: 'typing.Union[Nullable, uint]' = NullValue
-
- @dataclass
- class Tolerance(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0404
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
+ class Commands:
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0404
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ class UpOrOpen(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0102
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0404
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ class DownOrClose(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0102
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0404
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ class StopMotion(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0102
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0404
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
+ class GoToLiftValue(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0102
+ command_id: typing.ClassVar[int] = 0x0004
+ is_client: typing.ClassVar[bool] = True
- @dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0404
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="liftValue", Tag=0, Type=uint),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ liftValue: 'uint' = 0
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ @dataclass
+ class GoToLiftPercentage(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0102
+ command_id: typing.ClassVar[int] = 0x0005
+ is_client: typing.ClassVar[bool] = True
- value: 'uint' = 0
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="liftPercent100thsValue", Tag=0, Type=uint),
+ ])
+ liftPercent100thsValue: 'uint' = 0
+ @dataclass
+ class GoToTiltValue(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0102
+ command_id: typing.ClassVar[int] = 0x0007
+ is_client: typing.ClassVar[bool] = True
-@dataclass
-class RelativeHumidityMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0405
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="tiltValue", Tag=0, Type=uint),
+ ])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ tiltValue: 'uint' = 0
- measuredValue: 'typing.Union[Nullable, uint]' = None
- minMeasuredValue: 'typing.Union[Nullable, uint]' = None
- maxMeasuredValue: 'typing.Union[Nullable, uint]' = None
- tolerance: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: '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="tiltPercent100thsValue", Tag=0, Type=uint),
+ ])
+ tiltPercent100thsValue: 'uint' = 0
class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class Type(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0405
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24135,15 +14606,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=WindowCovering.Enums.Type)
- value: 'typing.Union[Nullable, uint]' = NullValue
+ value: 'WindowCovering.Enums.Type' = 0
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class PhysicalClosedLimitLift(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0405
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24151,15 +14622,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, uint]' = NullValue
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class PhysicalClosedLimitTilt(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0405
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24167,15 +14638,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[Nullable, uint]' = NullValue
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class CurrentPositionLift(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0405
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24183,67 +14654,67 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class CurrentPositionTilt(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0405
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class NumberOfActuationsLift(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0405
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class NumberOfActuationsTilt(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0405
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class ConfigStatus(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0405
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -24252,81 +14723,46 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class CurrentPositionLiftPercentage(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0405
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class OccupancySensing(Cluster):
- id: typing.ClassVar[int] = 0x0406
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="occupancy", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="occupancySensorType", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="occupancySensorTypeBitmap", Tag=0x00000002, Type=uint),
- ClusterObjectFieldDescriptor(Label="pirOccupiedToUnoccupiedDelay", Tag=0x00000010, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="pirUnoccupiedToOccupiedDelay", Tag=0x00000011, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="pirUnoccupiedToOccupiedThreshold", Tag=0x00000012, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="ultrasonicOccupiedToUnoccupiedDelay", Tag=0x00000020, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="ultrasonicUnoccupiedToOccupiedDelay", Tag=0x00000021, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="ultrasonicUnoccupiedToOccupiedThreshold", Tag=0x00000022, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="physicalContactOccupiedToUnoccupiedDelay", Tag=0x00000030, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="physicalContactUnoccupiedToOccupiedDelay", Tag=0x00000031, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="physicalContactUnoccupiedToOccupiedThreshold", Tag=0x00000032, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ value: 'typing.Union[None, Nullable, uint]' = None
- occupancy: 'uint' = None
- occupancySensorType: 'uint' = None
- occupancySensorTypeBitmap: 'uint' = None
- pirOccupiedToUnoccupiedDelay: 'typing.Optional[uint]' = None
- pirUnoccupiedToOccupiedDelay: 'typing.Optional[uint]' = None
- pirUnoccupiedToOccupiedThreshold: 'typing.Optional[uint]' = None
- ultrasonicOccupiedToUnoccupiedDelay: 'typing.Optional[uint]' = None
- ultrasonicUnoccupiedToOccupiedDelay: 'typing.Optional[uint]' = None
- ultrasonicUnoccupiedToOccupiedThreshold: 'typing.Optional[uint]' = None
- physicalContactOccupiedToUnoccupiedDelay: 'typing.Optional[uint]' = None
- physicalContactUnoccupiedToOccupiedDelay: 'typing.Optional[uint]' = None
- physicalContactUnoccupiedToOccupiedThreshold: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class CurrentPositionTiltPercentage(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0102
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000009
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ value: 'typing.Union[None, Nullable, uint]' = None
- class Attributes:
@dataclass
- class Occupancy(ClusterAttributeDescriptor):
+ class OperationalStatus(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -24335,94 +14771,94 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class OccupancySensorType(ClusterAttributeDescriptor):
+ class TargetPositionLiftPercent100ths(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x0000000B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class OccupancySensorTypeBitmap(ClusterAttributeDescriptor):
+ class TargetPositionTiltPercent100ths(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000000C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class PirOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor):
+ class EndProductType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000010
+ return 0x0000000D
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=WindowCovering.Enums.EndProductType)
- value: 'typing.Optional[uint]' = None
+ value: 'WindowCovering.Enums.EndProductType' = 0
@dataclass
- class PirUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor):
+ class CurrentPositionLiftPercent100ths(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000011
+ return 0x0000000E
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class PirUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor):
+ class CurrentPositionTiltPercent100ths(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000012
+ return 0x0000000F
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class UltrasonicOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor):
+ class InstalledOpenLimitLift(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000020
+ return 0x00000010
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -24431,14 +14867,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class UltrasonicUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor):
+ class InstalledClosedLimitLift(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000021
+ return 0x00000011
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -24447,14 +14883,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class UltrasonicUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor):
+ class InstalledOpenLimitTilt(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000022
+ return 0x00000012
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -24463,14 +14899,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class PhysicalContactOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor):
+ class InstalledClosedLimitTilt(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000030
+ return 0x00000013
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -24479,30 +14915,30 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'typing.Optional[uint]' = None
@dataclass
- class PhysicalContactUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor):
+ class Mode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000031
+ return 0x00000017
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[uint]' = None
+ value: 'uint' = 0
@dataclass
- class PhysicalContactUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor):
+ class SafetyStatus(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000032
+ return 0x0000001A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -24514,7 +14950,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24530,7 +14966,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24546,7 +14982,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24562,7 +14998,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24578,7 +15014,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0406
+ return 0x0102
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24593,17 +15029,23 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class CarbonMonoxideConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x040C
+class BarrierControl(Cluster):
+ id: typing.ClassVar[int] = 0x0103
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
+ ClusterObjectFieldDescriptor(Label="barrierMovingState", Tag=0x00000001, Type=uint),
+ ClusterObjectFieldDescriptor(Label="barrierSafetyStatus", Tag=0x00000002, Type=uint),
+ ClusterObjectFieldDescriptor(Label="barrierCapabilities", Tag=0x00000003, Type=uint),
+ ClusterObjectFieldDescriptor(Label="barrierOpenEvents", Tag=0x00000004, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="barrierCloseEvents", Tag=0x00000005, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="barrierCommandOpenEvents", Tag=0x00000006, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="barrierCommandCloseEvents", Tag=0x00000007, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="barrierOpenPeriod", Tag=0x00000008, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="barrierClosePeriod", Tag=0x00000009, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="barrierPosition", Tag=0x0000000A, Type=uint),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -24611,10 +15053,16 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
+ barrierMovingState: 'uint' = None
+ barrierSafetyStatus: 'uint' = None
+ barrierCapabilities: 'uint' = None
+ barrierOpenEvents: 'typing.Optional[uint]' = None
+ barrierCloseEvents: 'typing.Optional[uint]' = None
+ barrierCommandOpenEvents: 'typing.Optional[uint]' = None
+ barrierCommandCloseEvents: 'typing.Optional[uint]' = None
+ barrierOpenPeriod: 'typing.Optional[uint]' = None
+ barrierClosePeriod: 'typing.Optional[uint]' = None
+ barrierPosition: 'uint' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -24623,256 +15071,202 @@ def descriptor(cls) -> ClusterObjectDescriptor:
-
- class Attributes:
- @dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x040C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
-
- value: 'float32' = 0.0
-
+ class Commands:
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x040C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
+ class BarrierControlGoToPercent(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0103
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="percentOpen", Tag=0, Type=uint),
+ ])
- value: 'float32' = 0.0
+ percentOpen: 'uint' = 0
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x040C
+ class BarrierControlStop(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0103
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
- value: 'float32' = 0.0
+ class Attributes:
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class BarrierMovingState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040C
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[float32]' = None
+ value: 'uint' = 0
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class BarrierSafetyStatus(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040C
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'uint' = 0
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class BarrierCapabilities(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040C
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'uint' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class BarrierOpenEvents(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040C
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class BarrierCloseEvents(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040C
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class BarrierCommandOpenEvents(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040C
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class CarbonDioxideConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x040D
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class BarrierCommandCloseEvents(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040D
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class BarrierOpenPeriod(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040D
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class BarrierClosePeriod(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040D
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class BarrierPosition(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040D
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[float32]' = None
+ value: 'uint' = 0
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040D
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24888,7 +15282,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040D
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24904,7 +15298,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040D
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24920,7 +15314,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040D
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24936,7 +15330,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040D
+ return 0x0103
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24951,17 +15345,36 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class EthyleneConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x040E
+class PumpConfigurationAndControl(Cluster):
+ id: typing.ClassVar[int] = 0x0200
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
+ ClusterObjectFieldDescriptor(Label="maxPressure", Tag=0x00000000, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="maxSpeed", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="maxFlow", Tag=0x00000002, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="minConstPressure", Tag=0x00000003, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="maxConstPressure", Tag=0x00000004, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="minCompPressure", Tag=0x00000005, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="maxCompPressure", Tag=0x00000006, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="minConstSpeed", Tag=0x00000007, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="maxConstSpeed", Tag=0x00000008, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="minConstFlow", Tag=0x00000009, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="maxConstFlow", Tag=0x0000000A, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="minConstTemp", Tag=0x0000000B, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="maxConstTemp", Tag=0x0000000C, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="pumpStatus", Tag=0x00000010, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="effectiveOperationMode", Tag=0x00000011, Type=PumpConfigurationAndControl.Enums.PumpOperationMode),
+ ClusterObjectFieldDescriptor(Label="effectiveControlMode", Tag=0x00000012, Type=PumpConfigurationAndControl.Enums.PumpControlMode),
+ ClusterObjectFieldDescriptor(Label="capacity", Tag=0x00000013, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="speed", Tag=0x00000014, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="lifetimeRunningHours", Tag=0x00000015, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="power", Tag=0x00000016, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="lifetimeEnergyConsumed", Tag=0x00000017, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="operationMode", Tag=0x00000020, Type=PumpConfigurationAndControl.Enums.PumpOperationMode),
+ ClusterObjectFieldDescriptor(Label="controlMode", Tag=0x00000021, Type=typing.Optional[PumpConfigurationAndControl.Enums.PumpControlMode]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -24969,25 +15382,59 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
+ maxPressure: 'typing.Union[Nullable, int]' = None
+ maxSpeed: 'typing.Union[Nullable, uint]' = None
+ maxFlow: 'typing.Union[Nullable, uint]' = None
+ minConstPressure: 'typing.Union[None, Nullable, int]' = None
+ maxConstPressure: 'typing.Union[None, Nullable, int]' = None
+ minCompPressure: 'typing.Union[None, Nullable, int]' = None
+ maxCompPressure: 'typing.Union[None, Nullable, int]' = None
+ minConstSpeed: 'typing.Union[None, Nullable, uint]' = None
+ maxConstSpeed: 'typing.Union[None, Nullable, uint]' = None
+ minConstFlow: 'typing.Union[None, Nullable, uint]' = None
+ maxConstFlow: 'typing.Union[None, Nullable, uint]' = None
+ minConstTemp: 'typing.Union[None, Nullable, int]' = None
+ maxConstTemp: 'typing.Union[None, Nullable, int]' = None
+ pumpStatus: 'typing.Optional[uint]' = None
+ effectiveOperationMode: 'PumpConfigurationAndControl.Enums.PumpOperationMode' = None
+ effectiveControlMode: 'PumpConfigurationAndControl.Enums.PumpControlMode' = None
+ capacity: 'typing.Union[Nullable, int]' = None
+ speed: 'typing.Union[None, Nullable, uint]' = None
+ lifetimeRunningHours: 'typing.Union[None, Nullable, uint]' = None
+ power: 'typing.Union[None, Nullable, uint]' = None
+ lifetimeEnergyConsumed: 'typing.Union[None, Nullable, uint]' = None
+ operationMode: 'PumpConfigurationAndControl.Enums.PumpOperationMode' = None
+ controlMode: 'typing.Optional[PumpConfigurationAndControl.Enums.PumpControlMode]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class PumpControlMode(IntEnum):
+ kConstantSpeed = 0x00
+ kConstantPressure = 0x01
+ kProportionalPressure = 0x02
+ kConstantFlow = 0x03
+ kConstantTemperature = 0x05
+ kAutomatic = 0x07
+
+ class PumpOperationMode(IntEnum):
+ kNormal = 0x00
+ kMinimum = 0x01
+ kMaximum = 0x02
+ kLocal = 0x03
+
class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class MaxPressure(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040E
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -24995,15 +15442,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class MaxSpeed(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040E
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -25011,15 +15458,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class MaxFlow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040E
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -25027,15 +15474,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class MinConstPressure(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040E
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -25043,373 +15490,319 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class MaxConstPressure(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040E
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class MinCompPressure(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040E
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class MaxCompPressure(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040E
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class MinConstSpeed(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040E
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class MaxConstSpeed(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040E
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class EthyleneOxideConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x040F
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ value: 'typing.Union[None, Nullable, uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class MinConstFlow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040F
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class MaxConstFlow(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040F
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class MinConstTemp(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040F
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000000B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class MaxConstTemp(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040F
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000000C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class PumpStatus(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040F
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000010
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class EffectiveOperationMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040F
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000011
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=PumpConfigurationAndControl.Enums.PumpOperationMode)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'PumpConfigurationAndControl.Enums.PumpOperationMode' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class EffectiveControlMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040F
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000012
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=PumpConfigurationAndControl.Enums.PumpControlMode)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'PumpConfigurationAndControl.Enums.PumpControlMode' = 0
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class Capacity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040F
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000013
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
- value: 'uint' = 0
+ value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class Speed(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x040F
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class HydrogenConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0410
+ return 0x0200
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000014
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+
+ value: 'typing.Union[None, Nullable, uint]' = None
+
+ @dataclass
+ class LifetimeRunningHours(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0200
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000015
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ value: 'typing.Union[None, Nullable, uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class Power(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0410
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000016
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class LifetimeEnergyConsumed(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0410
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000017
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class OperationMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0410
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000020
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=PumpConfigurationAndControl.Enums.PumpOperationMode)
- value: 'float32' = 0.0
+ value: 'PumpConfigurationAndControl.Enums.PumpOperationMode' = 0
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class ControlMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0410
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000021
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[PumpConfigurationAndControl.Enums.PumpControlMode])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[PumpConfigurationAndControl.Enums.PumpControlMode]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0410
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -25425,7 +15818,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0410
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -25441,7 +15834,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0410
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -25457,7 +15850,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0410
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -25473,7 +15866,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0410
+ return 0x0200
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -25486,377 +15879,354 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
-
-@dataclass
-class HydrogenSulphideConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0411
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
+ class Events:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class SupplyVoltageLow(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0411
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
+ def event_id(cls) -> int:
return 0x00000000
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'float32' = 0.0
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class SupplyVoltageHigh(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0411
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
+ def event_id(cls) -> int:
return 0x00000001
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'float32' = 0.0
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class PowerMissingPhase(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0411
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
+ def event_id(cls) -> int:
return 0x00000002
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'float32' = 0.0
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class SystemPressureLow(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0411
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
+ def event_id(cls) -> int:
return 0x00000003
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
-
- value: 'typing.Optional[float32]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0411
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class SystemPressureHigh(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0411
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ def event_id(cls) -> int:
+ return 0x00000004
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class DryRunning(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0411
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ def event_id(cls) -> int:
+ return 0x00000005
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class MotorTemperatureHigh(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0411
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ def event_id(cls) -> int:
+ return 0x00000006
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class PumpMotorFatalFailure(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0411
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ def event_id(cls) -> int:
+ return 0x00000007
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class NitricOxideConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0412
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class ElectronicTemperatureHigh(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0412
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
+ def event_id(cls) -> int:
+ return 0x00000008
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'float32' = 0.0
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class PumpBlocked(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0412
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
+ def event_id(cls) -> int:
+ return 0x00000009
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'float32' = 0.0
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class SensorFailure(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0412
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
+ def event_id(cls) -> int:
+ return 0x0000000A
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'float32' = 0.0
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class ElectronicNonFatalFailure(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0412
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
+ def event_id(cls) -> int:
+ return 0x0000000B
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.Optional[float32]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class ElectronicFatalFailure(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0412
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ def event_id(cls) -> int:
+ return 0x0000000C
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class GeneralFault(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0412
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ def event_id(cls) -> int:
+ return 0x0000000D
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class Leakage(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0412
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ def event_id(cls) -> int:
+ return 0x0000000E
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class AirDetection(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0412
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ def event_id(cls) -> int:
+ return 0x0000000F
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
- value: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class TurbineOperation(ClusterEvent):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0412
+ return 0x0200
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ def event_id(cls) -> int:
+ return 0x00000010
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ])
@dataclass
-class NitrogenDioxideConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0413
+class Thermostat(Cluster):
+ id: typing.ClassVar[int] = 0x0201
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
+ ClusterObjectFieldDescriptor(Label="localTemperature", Tag=0x00000000, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="outdoorTemperature", Tag=0x00000001, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="occupancy", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="absMinHeatSetpointLimit", Tag=0x00000003, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="absMaxHeatSetpointLimit", Tag=0x00000004, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="absMinCoolSetpointLimit", Tag=0x00000005, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="absMaxCoolSetpointLimit", Tag=0x00000006, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="PICoolingDemand", Tag=0x00000007, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="PIHeatingDemand", Tag=0x00000008, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="HVACSystemTypeConfiguration", Tag=0x00000009, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="localTemperatureCalibration", Tag=0x00000010, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="occupiedCoolingSetpoint", Tag=0x00000011, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="occupiedHeatingSetpoint", Tag=0x00000012, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="unoccupiedCoolingSetpoint", Tag=0x00000013, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="unoccupiedHeatingSetpoint", Tag=0x00000014, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="minHeatSetpointLimit", Tag=0x00000015, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="maxHeatSetpointLimit", Tag=0x00000016, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="minCoolSetpointLimit", Tag=0x00000017, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="maxCoolSetpointLimit", Tag=0x00000018, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="minSetpointDeadBand", Tag=0x00000019, Type=typing.Optional[int]),
+ ClusterObjectFieldDescriptor(Label="remoteSensing", Tag=0x0000001A, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="controlSequenceOfOperation", Tag=0x0000001B, Type=Thermostat.Enums.ThermostatControlSequence),
+ ClusterObjectFieldDescriptor(Label="systemMode", Tag=0x0000001C, Type=uint),
+ ClusterObjectFieldDescriptor(Label="thermostatRunningMode", Tag=0x0000001E, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="startOfWeek", Tag=0x00000020, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfWeeklyTransitions", Tag=0x00000021, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="numberOfDailyTransitions", Tag=0x00000022, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="temperatureSetpointHold", Tag=0x00000023, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="temperatureSetpointHoldDuration", Tag=0x00000024, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="thermostatProgrammingOperationMode", Tag=0x00000025, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="thermostatRunningState", Tag=0x00000029, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="setpointChangeSource", Tag=0x00000030, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="setpointChangeAmount", Tag=0x00000031, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="setpointChangeSourceTimestamp", Tag=0x00000032, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="occupiedSetback", Tag=0x00000034, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="occupiedSetbackMin", Tag=0x00000035, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="occupiedSetbackMax", Tag=0x00000036, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="unoccupiedSetback", Tag=0x00000037, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="unoccupiedSetbackMin", Tag=0x00000038, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="unoccupiedSetbackMax", Tag=0x00000039, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="emergencyHeatDelta", Tag=0x0000003A, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="ACType", Tag=0x00000040, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="ACCapacity", Tag=0x00000041, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="ACRefrigerantType", Tag=0x00000042, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="ACCompressorType", Tag=0x00000043, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="ACErrorCode", Tag=0x00000044, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="ACLouverPosition", Tag=0x00000045, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="ACCoilTemperature", Tag=0x00000046, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="ACCapacityformat", Tag=0x00000047, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -25864,204 +16234,205 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
+ localTemperature: 'typing.Union[Nullable, int]' = None
+ outdoorTemperature: 'typing.Union[None, Nullable, int]' = None
+ occupancy: 'typing.Optional[uint]' = None
+ absMinHeatSetpointLimit: 'typing.Optional[int]' = None
+ absMaxHeatSetpointLimit: 'typing.Optional[int]' = None
+ absMinCoolSetpointLimit: 'typing.Optional[int]' = None
+ absMaxCoolSetpointLimit: 'typing.Optional[int]' = None
+ PICoolingDemand: 'typing.Optional[uint]' = None
+ PIHeatingDemand: 'typing.Optional[uint]' = None
+ HVACSystemTypeConfiguration: 'typing.Optional[uint]' = None
+ localTemperatureCalibration: 'typing.Optional[int]' = None
+ occupiedCoolingSetpoint: 'typing.Optional[int]' = None
+ occupiedHeatingSetpoint: 'typing.Optional[int]' = None
+ unoccupiedCoolingSetpoint: 'typing.Optional[int]' = None
+ unoccupiedHeatingSetpoint: 'typing.Optional[int]' = None
+ minHeatSetpointLimit: 'typing.Optional[int]' = None
+ maxHeatSetpointLimit: 'typing.Optional[int]' = None
+ minCoolSetpointLimit: 'typing.Optional[int]' = None
+ maxCoolSetpointLimit: 'typing.Optional[int]' = None
+ minSetpointDeadBand: 'typing.Optional[int]' = None
+ remoteSensing: 'typing.Optional[uint]' = None
+ controlSequenceOfOperation: 'Thermostat.Enums.ThermostatControlSequence' = None
+ systemMode: 'uint' = None
+ thermostatRunningMode: 'typing.Optional[uint]' = None
+ startOfWeek: 'typing.Optional[uint]' = None
+ numberOfWeeklyTransitions: 'typing.Optional[uint]' = None
+ numberOfDailyTransitions: 'typing.Optional[uint]' = None
+ temperatureSetpointHold: 'typing.Optional[uint]' = None
+ temperatureSetpointHoldDuration: 'typing.Union[None, Nullable, uint]' = None
+ thermostatProgrammingOperationMode: 'typing.Optional[uint]' = None
+ thermostatRunningState: 'typing.Optional[uint]' = None
+ setpointChangeSource: 'typing.Optional[uint]' = None
+ setpointChangeAmount: 'typing.Union[None, Nullable, int]' = None
+ setpointChangeSourceTimestamp: 'typing.Optional[uint]' = None
+ occupiedSetback: 'typing.Union[None, Nullable, uint]' = None
+ occupiedSetbackMin: 'typing.Union[None, Nullable, uint]' = None
+ occupiedSetbackMax: 'typing.Union[None, Nullable, uint]' = None
+ unoccupiedSetback: 'typing.Union[None, Nullable, uint]' = None
+ unoccupiedSetbackMin: 'typing.Union[None, Nullable, uint]' = None
+ unoccupiedSetbackMax: 'typing.Union[None, Nullable, uint]' = None
+ emergencyHeatDelta: 'typing.Optional[uint]' = None
+ ACType: 'typing.Optional[uint]' = None
+ ACCapacity: 'typing.Optional[uint]' = None
+ ACRefrigerantType: 'typing.Optional[uint]' = None
+ ACCompressorType: 'typing.Optional[uint]' = None
+ ACErrorCode: 'typing.Optional[uint]' = None
+ ACLouverPosition: 'typing.Optional[uint]' = None
+ ACCoilTemperature: 'typing.Union[None, Nullable, int]' = None
+ ACCapacityformat: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
- @dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0413
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
-
- value: 'float32' = 0.0
-
- @dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0413
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
-
- value: 'float32' = 0.0
-
- @dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0413
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ clusterRevision: 'uint' = None
- value: 'float32' = 0.0
+ class Enums:
+ class SetpointAdjustMode(IntEnum):
+ kHeatSetpoint = 0x00
+ kCoolSetpoint = 0x01
+ kHeatAndCoolSetpoints = 0x02
- @dataclass
- class Tolerance(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0413
+ class ThermostatControlSequence(IntEnum):
+ kCoolingOnly = 0x00
+ kCoolingWithReheat = 0x01
+ kHeatingOnly = 0x02
+ kHeatingWithReheat = 0x03
+ kCoolingAndHeating = 0x04
+ kCoolingAndHeatingWithReheat = 0x05
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
+ class ThermostatRunningMode(IntEnum):
+ kOff = 0x00
+ kCool = 0x03
+ kHeat = 0x04
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ class ThermostatSystemMode(IntEnum):
+ kOff = 0x00
+ kAuto = 0x01
+ kCool = 0x03
+ kHeat = 0x04
+ kEmergencyHeating = 0x05
+ kPrecooling = 0x06
+ kFanOnly = 0x07
- value: 'typing.Optional[float32]' = None
+ class Structs:
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class ThermostatScheduleTransition(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0413
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="heatSetpoint", Tag=1, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="coolSetpoint", Tag=2, Type=typing.Union[Nullable, int]),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ transitionTime: 'uint' = 0
+ heatSetpoint: 'typing.Union[Nullable, int]' = NullValue
+ coolSetpoint: 'typing.Union[Nullable, int]' = NullValue
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ class Commands:
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0413
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ class SetpointRaiseLower(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0201
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="mode", Tag=0, Type=Thermostat.Enums.SetpointAdjustMode),
+ ClusterObjectFieldDescriptor(Label="amount", Tag=1, Type=int),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ mode: 'Thermostat.Enums.SetpointAdjustMode' = 0
+ amount: 'int' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0413
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ class GetWeeklyScheduleResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0201
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitions", Tag=3, Type=typing.List[Thermostat.Structs.ThermostatScheduleTransition]),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ numberOfTransitionsForSequence: 'uint' = 0
+ dayOfWeekForSequence: 'uint' = 0
+ modeForSequence: 'uint' = 0
+ transitions: 'typing.List[Thermostat.Structs.ThermostatScheduleTransition]' = field(default_factory=lambda: [])
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0413
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ class SetWeeklySchedule(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0201
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="numberOfTransitionsForSequence", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="dayOfWeekForSequence", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="modeForSequence", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitions", Tag=3, Type=typing.List[Thermostat.Structs.ThermostatScheduleTransition]),
+ ])
- value: 'uint' = 0
+ numberOfTransitionsForSequence: 'uint' = 0
+ dayOfWeekForSequence: 'uint' = 0
+ modeForSequence: 'uint' = 0
+ transitions: 'typing.List[Thermostat.Structs.ThermostatScheduleTransition]' = field(default_factory=lambda: [])
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0413
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ class GetWeeklySchedule(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0201
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class OxygenConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0414
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="daysToReturn", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="modeToReturn", Tag=1, Type=uint),
+ ])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ daysToReturn: 'uint' = 0
+ modeToReturn: 'uint' = 0
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = 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 = [
+ ])
class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class LocalTemperature(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0414
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -26069,15 +16440,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class OutdoorTemperature(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0414
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -26085,15 +16456,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class Occupancy(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0414
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -26101,15 +16472,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class AbsMinHeatSetpointLimit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0414
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -26117,425 +16488,307 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
-
- value: 'typing.Optional[float32]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0414
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0414
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0414
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[int]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class AbsMaxHeatSetpointLimit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0414
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'uint' = 0
+ value: 'typing.Optional[int]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class AbsMinCoolSetpointLimit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0414
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class OzoneConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0415
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
+ value: 'typing.Optional[int]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class AbsMaxCoolSetpointLimit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0415
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'float32' = 0.0
+ value: 'typing.Optional[int]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class PICoolingDemand(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0415
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class PIHeatingDemand(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0415
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class HVACSystemTypeConfiguration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0415
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class LocalTemperatureCalibration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0415
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000010
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[int]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class OccupiedCoolingSetpoint(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0415
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000011
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[int]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class OccupiedHeatingSetpoint(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0415
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000012
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[int]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class UnoccupiedCoolingSetpoint(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0415
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000013
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'uint' = 0
+ value: 'typing.Optional[int]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class UnoccupiedHeatingSetpoint(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0415
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000014
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class SulfurDioxideConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0416
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
+ value: 'typing.Optional[int]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class MinHeatSetpointLimit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0416
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000015
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'float32' = 0.0
+ value: 'typing.Optional[int]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class MaxHeatSetpointLimit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0416
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000016
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'float32' = 0.0
+ value: 'typing.Optional[int]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class MinCoolSetpointLimit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0416
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000017
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'float32' = 0.0
+ value: 'typing.Optional[int]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class MaxCoolSetpointLimit(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0416
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000018
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[int]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class MinSetpointDeadBand(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0416
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000019
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[int]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class RemoteSensing(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0416
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x0000001A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class ControlSequenceOfOperation(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0416
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x0000001B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=Thermostat.Enums.ThermostatControlSequence)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'Thermostat.Enums.ThermostatControlSequence' = 0
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class SystemMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0416
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x0000001C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -26544,483 +16797,426 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class ThermostatRunningMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0416
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x0000001E
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class DissolvedOxygenConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0417
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ value: 'typing.Optional[uint]' = None
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class StartOfWeek(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0201
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000020
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class NumberOfWeeklyTransitions(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0417
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000021
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class NumberOfDailyTransitions(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0417
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000022
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class TemperatureSetpointHold(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0417
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000023
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class TemperatureSetpointHoldDuration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0417
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000024
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class ThermostatProgrammingOperationMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0417
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000025
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class ThermostatRunningState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0417
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000029
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class SetpointChangeSource(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0417
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000030
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class SetpointChangeAmount(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0417
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000031
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class SetpointChangeSourceTimestamp(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0417
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000032
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class BromateConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0418
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class OccupiedSetback(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0418
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000034
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class OccupiedSetbackMin(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0418
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000035
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class OccupiedSetbackMax(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0418
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000036
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class UnoccupiedSetback(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0418
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000037
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class UnoccupiedSetbackMin(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0418
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000038
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class UnoccupiedSetbackMax(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0418
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000039
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class EmergencyHeatDelta(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0418
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x0000003A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class ACType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0418
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000040
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class ACCapacity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0418
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000041
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
+ @dataclass
+ class ACRefrigerantType(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0201
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000042
-@dataclass
-class ChloraminesConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0419
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ value: 'typing.Optional[uint]' = None
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class ACCompressorType(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0201
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000043
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class ACErrorCode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0419
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000044
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class ACLouverPosition(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0419
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000045
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class ACCoilTemperature(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0419
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000046
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class ACCapacityformat(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0419
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000047
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0419
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27036,7 +17232,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0419
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27052,7 +17248,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0419
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27068,7 +17264,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0419
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27084,7 +17280,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0419
+ return 0x0201
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27099,17 +17295,24 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class ChlorineConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x041A
+class FanControl(Cluster):
+ id: typing.ClassVar[int] = 0x0202
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
+ ClusterObjectFieldDescriptor(Label="fanMode", Tag=0x00000000, Type=FanControl.Enums.FanModeType),
+ ClusterObjectFieldDescriptor(Label="fanModeSequence", Tag=0x00000001, Type=FanControl.Enums.FanModeSequenceType),
+ ClusterObjectFieldDescriptor(Label="percentSetting", Tag=0x00000002, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="percentCurrent", Tag=0x00000003, Type=uint),
+ ClusterObjectFieldDescriptor(Label="speedMax", Tag=0x00000004, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="speedSetting", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="speedCurrent", Tag=0x00000006, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rockSupport", Tag=0x00000007, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="rockSetting", Tag=0x00000008, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="windSupport", Tag=0x00000009, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="windSetting", Tag=0x0000000A, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -27117,25 +17320,50 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
+ fanMode: 'FanControl.Enums.FanModeType' = None
+ fanModeSequence: 'FanControl.Enums.FanModeSequenceType' = None
+ percentSetting: 'typing.Union[Nullable, uint]' = None
+ percentCurrent: 'uint' = None
+ speedMax: 'typing.Optional[uint]' = None
+ speedSetting: 'typing.Union[None, Nullable, uint]' = None
+ speedCurrent: 'typing.Optional[uint]' = None
+ rockSupport: 'typing.Optional[uint]' = None
+ rockSetting: 'typing.Optional[uint]' = None
+ windSupport: 'typing.Optional[uint]' = None
+ windSetting: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class FanModeSequenceType(IntEnum):
+ kOffLowMedHigh = 0x00
+ kOffLowHigh = 0x01
+ kOffLowMedHighAuto = 0x02
+ kOffLowHighAuto = 0x03
+ kOffOnAuto = 0x04
+ kOffOn = 0x05
+
+ class FanModeType(IntEnum):
+ kOff = 0x00
+ kLow = 0x01
+ kMedium = 0x02
+ kHigh = 0x03
+ kOn = 0x04
+ kAuto = 0x05
+ kSmart = 0x06
+
class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class FanMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041A
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27143,15 +17371,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=FanControl.Enums.FanModeType)
- value: 'float32' = 0.0
+ value: 'FanControl.Enums.FanModeType' = 0
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class FanModeSequence(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041A
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27159,15 +17387,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=FanControl.Enums.FanModeSequenceType)
- value: 'float32' = 0.0
+ value: 'FanControl.Enums.FanModeSequenceType' = 0
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class PercentSetting(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041A
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27175,15 +17403,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class PercentCurrent(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041A
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27191,194 +17419,127 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
-
- value: 'typing.Optional[float32]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041A
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041A
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'uint' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class SpeedMax(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041A
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class SpeedSetting(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041A
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class SpeedCurrent(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041A
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class FecalColiformAndEColiConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x041B
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class RockSupport(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041B
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class RockSetting(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041B
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class WindSupport(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041B
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000009
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class WindSetting(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041B
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000000A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041B
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27394,7 +17555,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041B
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27410,7 +17571,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041B
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27426,7 +17587,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041B
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27442,7 +17603,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041B
+ return 0x0202
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27457,17 +17618,16 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class FluorideConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x041C
+class ThermostatUserInterfaceConfiguration(Cluster):
+ id: typing.ClassVar[int] = 0x0204
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
+ ClusterObjectFieldDescriptor(Label="temperatureDisplayMode", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="keypadLockout", Tag=0x00000001, Type=uint),
+ ClusterObjectFieldDescriptor(Label="scheduleProgrammingVisibility", Tag=0x00000002, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -27475,10 +17635,9 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
+ temperatureDisplayMode: 'uint' = None
+ keypadLockout: 'uint' = None
+ scheduleProgrammingVisibility: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -27490,10 +17649,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class TemperatureDisplayMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041C
+ return 0x0204
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27501,15 +17660,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'float32' = 0.0
+ value: 'uint' = 0
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class KeypadLockout(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041C
+ return 0x0204
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27517,15 +17676,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'float32' = 0.0
+ value: 'uint' = 0
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class ScheduleProgrammingVisibility(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041C
+ return 0x0204
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27533,31 +17692,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
-
- value: 'float32' = 0.0
-
- @dataclass
- class Tolerance(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041C
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041C
+ return 0x0204
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27573,7 +17716,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041C
+ return 0x0204
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27589,7 +17732,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041C
+ return 0x0204
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27605,7 +17748,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041C
+ return 0x0204
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27621,7 +17764,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041C
+ return 0x0204
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -27636,17 +17779,65 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class HaloaceticAcidsConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x041D
+class ColorControl(Cluster):
+ id: typing.ClassVar[int] = 0x0300
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
+ ClusterObjectFieldDescriptor(Label="currentHue", Tag=0x00000000, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="currentSaturation", Tag=0x00000001, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="remainingTime", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="currentX", Tag=0x00000003, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="currentY", Tag=0x00000004, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="driftCompensation", Tag=0x00000005, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="compensationText", Tag=0x00000006, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="colorTemperature", Tag=0x00000007, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorMode", Tag=0x00000008, Type=uint),
+ ClusterObjectFieldDescriptor(Label="options", Tag=0x0000000F, Type=uint),
+ ClusterObjectFieldDescriptor(Label="numberOfPrimaries", Tag=0x00000010, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="primary1X", Tag=0x00000011, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary1Y", Tag=0x00000012, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary1Intensity", Tag=0x00000013, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="primary2X", Tag=0x00000015, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary2Y", Tag=0x00000016, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary2Intensity", Tag=0x00000017, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="primary3X", Tag=0x00000019, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary3Y", Tag=0x0000001A, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary3Intensity", Tag=0x0000001B, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="primary4X", Tag=0x00000020, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary4Y", Tag=0x00000021, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary4Intensity", Tag=0x00000022, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="primary5X", Tag=0x00000024, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary5Y", Tag=0x00000025, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary5Intensity", Tag=0x00000026, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="primary6X", Tag=0x00000028, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary6Y", Tag=0x00000029, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="primary6Intensity", Tag=0x0000002A, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="whitePointX", Tag=0x00000030, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="whitePointY", Tag=0x00000031, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorPointRX", Tag=0x00000032, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorPointRY", Tag=0x00000033, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorPointRIntensity", Tag=0x00000034, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="colorPointGX", Tag=0x00000036, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorPointGY", Tag=0x00000037, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorPointGIntensity", Tag=0x00000038, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="colorPointBX", Tag=0x0000003A, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorPointBY", Tag=0x0000003B, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorPointBIntensity", Tag=0x0000003C, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="enhancedCurrentHue", Tag=0x00004000, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="enhancedColorMode", Tag=0x00004001, Type=uint),
+ ClusterObjectFieldDescriptor(Label="colorLoopActive", Tag=0x00004002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorLoopDirection", Tag=0x00004003, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorLoopTime", Tag=0x00004004, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorLoopStartEnhancedHue", Tag=0x00004005, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorLoopStoredEnhancedHue", Tag=0x00004006, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorCapabilities", Tag=0x0000400A, Type=uint),
+ ClusterObjectFieldDescriptor(Label="colorTempPhysicalMinMireds", Tag=0x0000400B, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="colorTempPhysicalMaxMireds", Tag=0x0000400C, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="coupleColorTempToLevelMinMireds", Tag=0x0000400D, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="startUpColorTemperatureMireds", Tag=0x00004010, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -27654,499 +17845,674 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
+ currentHue: 'typing.Optional[uint]' = None
+ currentSaturation: 'typing.Optional[uint]' = None
+ remainingTime: 'typing.Optional[uint]' = None
+ currentX: 'typing.Optional[uint]' = None
+ currentY: 'typing.Optional[uint]' = None
+ driftCompensation: 'typing.Optional[uint]' = None
+ compensationText: 'typing.Optional[str]' = None
+ colorTemperature: 'typing.Optional[uint]' = None
+ colorMode: 'uint' = None
+ options: 'uint' = None
+ numberOfPrimaries: 'typing.Union[Nullable, uint]' = None
+ primary1X: 'typing.Optional[uint]' = None
+ primary1Y: 'typing.Optional[uint]' = None
+ primary1Intensity: 'typing.Union[None, Nullable, uint]' = None
+ primary2X: 'typing.Optional[uint]' = None
+ primary2Y: 'typing.Optional[uint]' = None
+ primary2Intensity: 'typing.Union[None, Nullable, uint]' = None
+ primary3X: 'typing.Optional[uint]' = None
+ primary3Y: 'typing.Optional[uint]' = None
+ primary3Intensity: 'typing.Union[None, Nullable, uint]' = None
+ primary4X: 'typing.Optional[uint]' = None
+ primary4Y: 'typing.Optional[uint]' = None
+ primary4Intensity: 'typing.Union[None, Nullable, uint]' = None
+ primary5X: 'typing.Optional[uint]' = None
+ primary5Y: 'typing.Optional[uint]' = None
+ primary5Intensity: 'typing.Union[None, Nullable, uint]' = None
+ primary6X: 'typing.Optional[uint]' = None
+ primary6Y: 'typing.Optional[uint]' = None
+ primary6Intensity: 'typing.Union[None, Nullable, uint]' = None
+ whitePointX: 'typing.Optional[uint]' = None
+ whitePointY: 'typing.Optional[uint]' = None
+ colorPointRX: 'typing.Optional[uint]' = None
+ colorPointRY: 'typing.Optional[uint]' = None
+ colorPointRIntensity: 'typing.Union[None, Nullable, uint]' = None
+ colorPointGX: 'typing.Optional[uint]' = None
+ colorPointGY: 'typing.Optional[uint]' = None
+ colorPointGIntensity: 'typing.Union[None, Nullable, uint]' = None
+ colorPointBX: 'typing.Optional[uint]' = None
+ colorPointBY: 'typing.Optional[uint]' = None
+ colorPointBIntensity: 'typing.Union[None, Nullable, uint]' = None
+ enhancedCurrentHue: 'typing.Optional[uint]' = None
+ enhancedColorMode: 'uint' = None
+ colorLoopActive: 'typing.Optional[uint]' = None
+ colorLoopDirection: 'typing.Optional[uint]' = None
+ colorLoopTime: 'typing.Optional[uint]' = None
+ colorLoopStartEnhancedHue: 'typing.Optional[uint]' = None
+ colorLoopStoredEnhancedHue: 'typing.Optional[uint]' = None
+ colorCapabilities: 'uint' = None
+ colorTempPhysicalMinMireds: 'typing.Optional[uint]' = None
+ colorTempPhysicalMaxMireds: 'typing.Optional[uint]' = None
+ coupleColorTempToLevelMinMireds: 'typing.Optional[uint]' = None
+ startUpColorTemperatureMireds: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class ColorLoopAction(IntEnum):
+ kDeactivate = 0x00
+ kActivateFromColorLoopStartEnhancedHue = 0x01
+ kActivateFromEnhancedCurrentHue = 0x02
+ class ColorLoopDirection(IntEnum):
+ kDecrementHue = 0x00
+ kIncrementHue = 0x01
+ class ColorMode(IntEnum):
+ kCurrentHueAndCurrentSaturation = 0x00
+ kCurrentXAndCurrentY = 0x01
+ kColorTemperature = 0x02
- class Attributes:
- @dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
+ class HueDirection(IntEnum):
+ kShortestDistance = 0x00
+ kLongestDistance = 0x01
+ kUp = 0x02
+ kDown = 0x03
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ class HueMoveMode(IntEnum):
+ kStop = 0x00
+ kUp = 0x01
+ kDown = 0x03
- value: 'float32' = 0.0
+ class HueStepMode(IntEnum):
+ kUp = 0x01
+ kDown = 0x03
- @dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041D
+ class SaturationMoveMode(IntEnum):
+ kStop = 0x00
+ kUp = 0x01
+ kDown = 0x03
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
+ class SaturationStepMode(IntEnum):
+ kUp = 0x01
+ kDown = 0x03
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
- value: 'float32' = 0.0
+ class Commands:
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041D
+ class MoveToHue(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="hue", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="direction", Tag=1, Type=ColorControl.Enums.HueDirection),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint),
+ ])
+
+ hue: 'uint' = 0
+ direction: 'ColorControl.Enums.HueDirection' = 0
+ transitionTime: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
+
+ @dataclass
+ class MoveHue(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ 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),
+ ])
- value: 'float32' = 0.0
+ moveMode: 'ColorControl.Enums.HueMoveMode' = 0
+ rate: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041D
+ class StepHue(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode),
+ ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsMask", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=4, Type=uint),
+ ])
+
+ stepMode: 'ColorControl.Enums.HueStepMode' = 0
+ stepSize: 'uint' = 0
+ transitionTime: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
+
+ @dataclass
+ class MoveToSaturation(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0003
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ 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),
+ ])
- value: 'typing.Optional[float32]' = None
+ saturation: 'uint' = 0
+ transitionTime: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ class MoveSaturation(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0004
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ 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),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ moveMode: 'ColorControl.Enums.SaturationMoveMode' = 0
+ rate: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ class StepSaturation(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0005
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ 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),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ stepMode: 'ColorControl.Enums.SaturationStepMode' = 0
+ stepSize: 'uint' = 0
+ transitionTime: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ class MoveToHueAndSaturation(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0006
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ 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),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ hue: 'uint' = 0
+ saturation: 'uint' = 0
+ transitionTime: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ class MoveToColor(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0007
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ 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),
+ ])
- value: 'uint' = 0
+ colorX: 'uint' = 0
+ colorY: 'uint' = 0
+ transitionTime: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ class MoveColor(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0008
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="rateX", Tag=0, Type=int),
+ ClusterObjectFieldDescriptor(Label="rateY", Tag=1, Type=int),
+ ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint),
+ ])
+ rateX: 'int' = 0
+ rateY: 'int' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
-@dataclass
-class TotalTrihalomethanesConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x041E
+ @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="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ @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),
+ ])
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ stepX: 'int' = 0
+ stepY: 'int' = 0
+ transitionTime: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
+ @dataclass
+ class MoveToColorTemperature(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x000A
+ is_client: typing.ClassVar[bool] = True
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="colorTemperature", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsMask", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=3, Type=uint),
+ ])
+ colorTemperature: 'uint' = 0
+ transitionTime: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
+ class EnhancedMoveToHue(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0040
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ 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),
+ ])
- value: 'float32' = 0.0
+ enhancedHue: 'uint' = 0
+ direction: 'ColorControl.Enums.HueDirection' = 0
+ transitionTime: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
+ class EnhancedMoveHue(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0041
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ 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),
+ ])
- value: 'float32' = 0.0
+ moveMode: 'ColorControl.Enums.HueMoveMode' = 0
+ rate: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
+ class EnhancedStepHue(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0042
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ 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),
+ ])
- value: 'float32' = 0.0
+ stepMode: 'ColorControl.Enums.HueStepMode' = 0
+ stepSize: 'uint' = 0
+ transitionTime: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000003
+ class EnhancedMoveToHueAndSaturation(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0043
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ 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),
+ ])
- value: 'typing.Optional[float32]' = None
+ enhancedHue: 'uint' = 0
+ saturation: 'uint' = 0
+ transitionTime: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ class ColorLoopSet(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0044
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="updateFlags", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="action", Tag=1, Type=ColorControl.Enums.ColorLoopAction),
+ ClusterObjectFieldDescriptor(Label="direction", Tag=2, Type=ColorControl.Enums.ColorLoopDirection),
+ ClusterObjectFieldDescriptor(Label="time", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="startHue", Tag=4, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ updateFlags: 'uint' = 0
+ action: 'ColorControl.Enums.ColorLoopAction' = 0
+ direction: 'ColorControl.Enums.ColorLoopDirection' = 0
+ time: 'uint' = 0
+ startHue: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ class StopMoveStep(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x0047
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="optionsMask", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=1, Type=uint),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041E
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ class MoveColorTemperature(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x004B
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="moveMode", Tag=0, Type=ColorControl.Enums.HueMoveMode),
+ ClusterObjectFieldDescriptor(Label="rate", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="colorTemperatureMinimumMireds", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="colorTemperatureMaximumMireds", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsMask", Tag=4, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=5, Type=uint),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ moveMode: 'ColorControl.Enums.HueMoveMode' = 0
+ rate: 'uint' = 0
+ colorTemperatureMinimumMireds: 'uint' = 0
+ colorTemperatureMaximumMireds: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x041E
+ class StepColorTemperature(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0300
+ command_id: typing.ClassVar[int] = 0x004C
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="stepMode", Tag=0, Type=ColorControl.Enums.HueStepMode),
+ ClusterObjectFieldDescriptor(Label="stepSize", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="transitionTime", Tag=2, Type=uint),
+ ClusterObjectFieldDescriptor(Label="colorTemperatureMinimumMireds", Tag=3, Type=uint),
+ ClusterObjectFieldDescriptor(Label="colorTemperatureMaximumMireds", Tag=4, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsMask", Tag=5, Type=uint),
+ ClusterObjectFieldDescriptor(Label="optionsOverride", Tag=6, Type=uint),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ stepMode: 'ColorControl.Enums.HueStepMode' = 0
+ stepSize: 'uint' = 0
+ transitionTime: 'uint' = 0
+ colorTemperatureMinimumMireds: 'uint' = 0
+ colorTemperatureMaximumMireds: 'uint' = 0
+ optionsMask: 'uint' = 0
+ optionsOverride: 'uint' = 0
- value: 'uint' = 0
+ class Attributes:
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class CurrentHue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041E
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class TotalColiformBacteriaConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x041F
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class CurrentSaturation(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041F
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class RemainingTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041F
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class CurrentX(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041F
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class CurrentY(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041F
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class DriftCompensation(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041F
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class CompensationText(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041F
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[str]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class ColorTemperature(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041F
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class ColorMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041F
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000008
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -28155,14 +18521,14 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class Options(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x041F
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x0000000F
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -28170,715 +18536,607 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
-
-
-@dataclass
-class TurbidityConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0420
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class NumberOfPrimaries(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0420
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000010
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class Primary1X(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0420
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000011
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class Primary1Y(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0420
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000012
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class Primary1Intensity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0420
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000013
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class Primary2X(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0420
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000015
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class Primary2Y(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0420
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000016
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class Primary2Intensity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0420
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000017
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class Primary3X(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0420
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000019
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class Primary3Y(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0420
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x0000001A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class CopperConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0421
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class Primary3Intensity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0421
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x0000001B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class Primary4X(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0421
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000020
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class Primary4Y(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0421
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000021
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class Primary4Intensity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0421
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000022
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class Primary5X(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0421
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000024
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class Primary5Y(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0421
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000025
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class Primary5Intensity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0421
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000026
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class Primary6X(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0421
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000028
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class Primary6Y(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0421
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000029
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class LeadConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0422
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ value: 'typing.Optional[uint]' = None
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class Primary6Intensity(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0300
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000002A
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ value: 'typing.Union[None, Nullable, uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class WhitePointX(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0422
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000030
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class WhitePointY(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0422
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000031
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class ColorPointRX(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0422
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000032
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class ColorPointRY(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0422
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000033
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class ColorPointRIntensity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0422
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000034
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class ColorPointGX(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0422
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000036
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class ColorPointGY(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0422
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000037
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class ColorPointGIntensity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0422
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000038
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class ColorPointBX(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0422
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x0000003A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class ManganeseConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0423
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ value: 'typing.Optional[uint]' = None
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class ColorPointBY(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0300
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000003B
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class ColorPointBIntensity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0423
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x0000003C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class EnhancedCurrentHue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0423
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00004000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class EnhancedColorMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0423
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00004001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'float32' = 0.0
+ value: 'uint' = 0
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class ColorLoopActive(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0423
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00004002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class ColorLoopDirection(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0423
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00004003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class ColorLoopTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0423
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00004004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class ColorLoopStartEnhancedHue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0423
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00004005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class ColorLoopStoredEnhancedHue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0423
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00004006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'uint' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class ColorCapabilities(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0423
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x0000400A
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -28886,110 +19144,75 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
-
-
-@dataclass
-class SulfateConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0424
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
-
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class ColorTempPhysicalMinMireds(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0424
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x0000400B
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class ColorTempPhysicalMaxMireds(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0424
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x0000400C
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class CoupleColorTempToLevelMinMireds(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0424
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000400D
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class StartUpColorTemperatureMireds(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0424
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00004010
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0424
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29005,7 +19228,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0424
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29021,7 +19244,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0424
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29037,7 +19260,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0424
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29053,7 +19276,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0424
+ return 0x0300
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29068,17 +19291,27 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class BromodichloromethaneConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0425
+class BallastConfiguration(Cluster):
+ id: typing.ClassVar[int] = 0x0301
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
+ ClusterObjectFieldDescriptor(Label="physicalMinLevel", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="physicalMaxLevel", Tag=0x00000001, Type=uint),
+ ClusterObjectFieldDescriptor(Label="ballastStatus", Tag=0x00000002, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="minLevel", Tag=0x00000010, Type=uint),
+ ClusterObjectFieldDescriptor(Label="maxLevel", Tag=0x00000011, Type=uint),
+ ClusterObjectFieldDescriptor(Label="intrinsicBalanceFactor", Tag=0x00000014, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="ballastFactorAdjustment", Tag=0x00000015, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="lampQuantity", Tag=0x00000020, Type=uint),
+ ClusterObjectFieldDescriptor(Label="lampType", Tag=0x00000030, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="lampManufacturer", Tag=0x00000031, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="lampRatedHours", Tag=0x00000032, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="lampBurnHours", Tag=0x00000033, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="lampAlarmMode", Tag=0x00000034, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="lampBurnHoursTripPoint", Tag=0x00000035, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -29086,10 +19319,20 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
+ physicalMinLevel: 'uint' = None
+ physicalMaxLevel: 'uint' = None
+ ballastStatus: 'typing.Optional[uint]' = None
+ minLevel: 'uint' = None
+ maxLevel: 'uint' = None
+ intrinsicBalanceFactor: 'typing.Union[None, Nullable, uint]' = None
+ ballastFactorAdjustment: 'typing.Union[None, Nullable, uint]' = None
+ lampQuantity: 'uint' = None
+ lampType: 'typing.Optional[str]' = None
+ lampManufacturer: 'typing.Optional[str]' = None
+ lampRatedHours: 'typing.Union[None, Nullable, uint]' = None
+ lampBurnHours: 'typing.Union[None, Nullable, uint]' = None
+ lampAlarmMode: 'typing.Optional[uint]' = None
+ lampBurnHoursTripPoint: 'typing.Union[None, Nullable, uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -29101,10 +19344,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class PhysicalMinLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0425
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29112,15 +19355,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'float32' = 0.0
+ value: 'uint' = 0
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class PhysicalMaxLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0425
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29128,15 +19371,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'float32' = 0.0
+ value: 'uint' = 0
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class BallastStatus(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0425
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29144,83 +19387,83 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class MinLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0425
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000010
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[float32]' = None
+ value: 'uint' = 0
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class MaxLevel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0425
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000011
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'uint' = 0
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class IntrinsicBalanceFactor(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0425
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000014
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class BallastFactorAdjustment(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0425
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000015
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class LampQuantity(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0425
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000020
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -29229,125 +19472,106 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class LampType(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0425
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000030
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class BromoformConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0426
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ value: 'typing.Optional[str]' = None
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ @dataclass
+ class LampManufacturer(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0301
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000031
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ value: 'typing.Optional[str]' = None
- class Attributes:
@dataclass
- class MeasuredValue(ClusterAttributeDescriptor):
+ class LampRatedHours(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0426
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000032
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class MinMeasuredValue(ClusterAttributeDescriptor):
+ class LampBurnHours(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0426
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000033
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class MaxMeasuredValue(ClusterAttributeDescriptor):
+ class LampAlarmMode(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0426
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000034
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'float32' = 0.0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Tolerance(ClusterAttributeDescriptor):
+ class LampBurnHoursTripPoint(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0426
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x00000035
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0426
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29363,7 +19587,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0426
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29379,7 +19603,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0426
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29395,7 +19619,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0426
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29411,7 +19635,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0426
+ return 0x0301
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29426,17 +19650,18 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class ChlorodibromomethaneConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0427
+class IlluminanceMeasurement(Cluster):
+ id: typing.ClassVar[int] = 0x0400
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
+ ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="lightSensorType", Tag=0x00000004, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -29444,16 +19669,22 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
+ measuredValue: 'typing.Union[Nullable, uint]' = None
+ minMeasuredValue: 'typing.Union[Nullable, uint]' = None
+ maxMeasuredValue: 'typing.Union[Nullable, uint]' = None
+ tolerance: 'typing.Optional[uint]' = None
+ lightSensorType: 'typing.Union[None, Nullable, uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class LightSensorType(IntEnum):
+ kPhotodiode = 0x00
+ kCmos = 0x01
+
@@ -29462,7 +19693,7 @@ class Attributes:
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0427
+ return 0x0400
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29470,15 +19701,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0427
+ return 0x0400
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29486,15 +19717,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0427
+ return 0x0400
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29502,15 +19733,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
class Tolerance(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0427
+ return 0x0400
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29518,15 +19749,31 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[uint]' = None
+
+ @dataclass
+ class LightSensorType(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0400
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000004
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0427
+ return 0x0400
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29542,7 +19789,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0427
+ return 0x0400
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29558,7 +19805,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0427
+ return 0x0400
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29574,7 +19821,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0427
+ return 0x0400
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29590,7 +19837,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0427
+ return 0x0400
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29605,17 +19852,17 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class ChloroformConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0428
+class TemperatureMeasurement(Cluster):
+ id: typing.ClassVar[int] = 0x0402
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
+ ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -29623,10 +19870,10 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
+ measuredValue: 'typing.Union[Nullable, int]' = None
+ minMeasuredValue: 'typing.Union[Nullable, int]' = None
+ maxMeasuredValue: 'typing.Union[Nullable, int]' = None
+ tolerance: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -29641,7 +19888,7 @@ class Attributes:
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0428
+ return 0x0402
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29649,15 +19896,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0428
+ return 0x0402
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29665,15 +19912,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0428
+ return 0x0402
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29681,15 +19928,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
class Tolerance(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0428
+ return 0x0402
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29697,15 +19944,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Optional[float32]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0428
+ return 0x0402
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29721,7 +19968,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0428
+ return 0x0402
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29737,7 +19984,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0428
+ return 0x0402
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29753,7 +20000,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0428
+ return 0x0402
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29769,7 +20016,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0428
+ return 0x0402
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29784,17 +20031,22 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class SodiumConcentrationMeasurement(Cluster):
- id: typing.ClassVar[int] = 0x0429
+class PressureMeasurement(Cluster):
+ id: typing.ClassVar[int] = 0x0403
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=float32),
- ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=float32),
- ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=float32),
- ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[float32]),
+ ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="scaledValue", Tag=0x00000010, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="minScaledValue", Tag=0x00000011, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="maxScaledValue", Tag=0x00000012, Type=typing.Union[None, Nullable, int]),
+ ClusterObjectFieldDescriptor(Label="scaledTolerance", Tag=0x00000013, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="scale", Tag=0x00000014, Type=typing.Optional[int]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -29802,10 +20054,15 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- measuredValue: 'float32' = None
- minMeasuredValue: 'float32' = None
- maxMeasuredValue: 'float32' = None
- tolerance: 'typing.Optional[float32]' = None
+ measuredValue: 'typing.Union[Nullable, int]' = None
+ minMeasuredValue: 'typing.Union[Nullable, int]' = None
+ maxMeasuredValue: 'typing.Union[Nullable, int]' = None
+ tolerance: 'typing.Optional[uint]' = None
+ scaledValue: 'typing.Union[None, Nullable, int]' = None
+ minScaledValue: 'typing.Union[None, Nullable, int]' = None
+ maxScaledValue: 'typing.Union[None, Nullable, int]' = None
+ scaledTolerance: 'typing.Optional[uint]' = None
+ scale: 'typing.Optional[int]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -29820,7 +20077,7 @@ class Attributes:
class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0429
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29828,15 +20085,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0429
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29844,15 +20101,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0429
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29860,15 +20117,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=float32)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, int])
- value: 'float32' = 0.0
+ value: 'typing.Union[Nullable, int]' = NullValue
@dataclass
class Tolerance(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0429
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -29876,140 +20133,95 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
-
- value: 'typing.Optional[float32]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0429
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class ScaledValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0429
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000010
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class MinScaledValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0429
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000011
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class MaxScaledValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0429
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000012
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, int])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, int]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class ScaledTolerance(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0429
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000013
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class WakeOnLan(Cluster):
- id: typing.ClassVar[int] = 0x0503
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="MACAddress", Tag=0x00000000, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- MACAddress: 'typing.Optional[str]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class MACAddress(ClusterAttributeDescriptor):
+ class Scale(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0503
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000014
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[int])
- value: 'typing.Optional[str]' = None
+ value: 'typing.Optional[int]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0503
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30025,7 +20237,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0503
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30041,7 +20253,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0503
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30057,7 +20269,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0503
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30073,7 +20285,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0503
+ return 0x0403
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30088,16 +20300,17 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class Channel(Cluster):
- id: typing.ClassVar[int] = 0x0504
+class FlowMeasurement(Cluster):
+ id: typing.ClassVar[int] = 0x0404
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="channelList", Tag=0x00000000, Type=typing.Optional[typing.List[Channel.Structs.ChannelInfo]]),
- ClusterObjectFieldDescriptor(Label="lineup", Tag=0x00000001, Type=typing.Union[None, Nullable, Channel.Structs.LineupInfo]),
- ClusterObjectFieldDescriptor(Label="currentChannel", Tag=0x00000002, Type=typing.Union[None, Nullable, Channel.Structs.ChannelInfo]),
+ ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -30105,184 +20318,89 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- channelList: 'typing.Optional[typing.List[Channel.Structs.ChannelInfo]]' = None
- lineup: 'typing.Union[None, Nullable, Channel.Structs.LineupInfo]' = None
- currentChannel: 'typing.Union[None, Nullable, Channel.Structs.ChannelInfo]' = None
+ measuredValue: 'typing.Union[Nullable, uint]' = None
+ minMeasuredValue: 'typing.Union[Nullable, uint]' = None
+ maxMeasuredValue: 'typing.Union[Nullable, uint]' = None
+ tolerance: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
- class Enums:
- class ChannelStatusEnum(IntEnum):
- kSuccess = 0x00
- kMultipleMatches = 0x01
- kNoMatches = 0x02
-
- class LineupInfoTypeEnum(IntEnum):
- kMso = 0x00
-
-
- class Structs:
- @dataclass
- class ChannelInfo(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="callSign", Tag=3, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="affiliateCallSign", Tag=4, Type=typing.Optional[str]),
- ])
-
- majorNumber: 'uint' = 0
- minorNumber: 'uint' = 0
- name: 'typing.Optional[str]' = None
- callSign: 'typing.Optional[str]' = None
- affiliateCallSign: 'typing.Optional[str]' = None
-
- @dataclass
- class LineupInfo(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="operatorName", Tag=0, Type=str),
- ClusterObjectFieldDescriptor(Label="lineupName", Tag=1, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="postalCode", Tag=2, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="lineupInfoType", Tag=3, Type=Channel.Enums.LineupInfoTypeEnum),
- ])
-
- operatorName: 'str' = ""
- lineupName: 'typing.Optional[str]' = None
- postalCode: 'typing.Optional[str]' = None
- lineupInfoType: 'Channel.Enums.LineupInfoTypeEnum' = 0
-
-
-
- class Commands:
- @dataclass
- class ChangeChannel(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0504
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="match", Tag=0, Type=str),
- ])
-
- match: 'str' = ""
-
- @dataclass
- class ChangeChannelResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0504
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=Channel.Enums.ChannelStatusEnum),
- ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
- ])
-
- status: 'Channel.Enums.ChannelStatusEnum' = 0
- data: 'typing.Optional[str]' = None
-
- @dataclass
- class ChangeChannelByNumber(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0504
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint),
- ])
- majorNumber: 'uint' = 0
- minorNumber: 'uint' = 0
+ class Attributes:
@dataclass
- class SkipChannel(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0504
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
+ class MeasuredValue(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0404
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="count", Tag=0, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000000
- count: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ value: 'typing.Union[Nullable, uint]' = NullValue
- class Attributes:
@dataclass
- class ChannelList(ClusterAttributeDescriptor):
+ class MinMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0504
+ return 0x0404
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[Channel.Structs.ChannelInfo]])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'typing.Optional[typing.List[Channel.Structs.ChannelInfo]]' = None
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class Lineup(ClusterAttributeDescriptor):
+ class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0504
+ return 0x0404
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, Channel.Structs.LineupInfo])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'typing.Union[None, Nullable, Channel.Structs.LineupInfo]' = None
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class CurrentChannel(ClusterAttributeDescriptor):
+ class Tolerance(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0504
+ return 0x0404
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, Channel.Structs.ChannelInfo])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, Channel.Structs.ChannelInfo]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0504
+ return 0x0404
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30298,7 +20416,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0504
+ return 0x0404
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30314,7 +20432,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0504
+ return 0x0404
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30330,7 +20448,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0504
+ return 0x0404
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30346,7 +20464,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0504
+ return 0x0404
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30361,15 +20479,17 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class TargetNavigator(Cluster):
- id: typing.ClassVar[int] = 0x0505
+class RelativeHumidityMeasurement(Cluster):
+ id: typing.ClassVar[int] = 0x0405
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="targetList", Tag=0x00000000, Type=typing.List[TargetNavigator.Structs.TargetInfo]),
- ClusterObjectFieldDescriptor(Label="currentTarget", Tag=0x00000001, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="measuredValue", Tag=0x00000000, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="minMeasuredValue", Tag=0x00000001, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="maxMeasuredValue", Tag=0x00000002, Type=typing.Union[Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="tolerance", Tag=0x00000003, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -30377,99 +20497,77 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- targetList: 'typing.List[TargetNavigator.Structs.TargetInfo]' = None
- currentTarget: 'typing.Optional[uint]' = None
+ measuredValue: 'typing.Union[Nullable, uint]' = None
+ minMeasuredValue: 'typing.Union[Nullable, uint]' = None
+ maxMeasuredValue: 'typing.Union[Nullable, uint]' = None
+ tolerance: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
- class Enums:
- class TargetNavigatorStatusEnum(IntEnum):
- kSuccess = 0x00
- kTargetNotFound = 0x01
- kNotAllowed = 0x02
- class Structs:
+
+ class Attributes:
@dataclass
- class TargetInfo(ClusterObject):
+ class MeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="identifier", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str),
- ])
-
- identifier: 'uint' = 0
- name: 'str' = ""
-
-
+ def cluster_id(cls) -> int:
+ return 0x0405
- 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 attribute_id(cls) -> int:
+ return 0x00000000
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="target", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- target: 'uint' = 0
- data: 'typing.Optional[str]' = None
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class NavigateTargetResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0505
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
+ class MinMeasuredValue(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0405
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=TargetNavigator.Enums.TargetNavigatorStatusEnum),
- ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000001
- status: 'TargetNavigator.Enums.TargetNavigatorStatusEnum' = 0
- data: 'typing.Optional[str]' = None
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
+ value: 'typing.Union[Nullable, uint]' = NullValue
- class Attributes:
@dataclass
- class TargetList(ClusterAttributeDescriptor):
+ class MaxMeasuredValue(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0505
+ return 0x0405
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[TargetNavigator.Structs.TargetInfo])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[Nullable, uint])
- value: 'typing.List[TargetNavigator.Structs.TargetInfo]' = field(default_factory=lambda: [])
+ value: 'typing.Union[Nullable, uint]' = NullValue
@dataclass
- class CurrentTarget(ClusterAttributeDescriptor):
+ class Tolerance(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0505
+ return 0x0405
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -30481,7 +20579,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0505
+ return 0x0405
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30497,7 +20595,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0505
+ return 0x0405
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30513,7 +20611,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0505
+ return 0x0405
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30529,7 +20627,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0505
+ return 0x0405
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30545,7 +20643,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0505
+ return 0x0405
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30560,20 +20658,25 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class MediaPlayback(Cluster):
- id: typing.ClassVar[int] = 0x0506
+class OccupancySensing(Cluster):
+ id: typing.ClassVar[int] = 0x0406
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="currentState", Tag=0x00000000, Type=MediaPlayback.Enums.PlaybackStateEnum),
- ClusterObjectFieldDescriptor(Label="startTime", Tag=0x00000001, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="duration", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="sampledPosition", Tag=0x00000003, Type=typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPosition]),
- ClusterObjectFieldDescriptor(Label="playbackSpeed", Tag=0x00000004, Type=typing.Optional[float32]),
- ClusterObjectFieldDescriptor(Label="seekRangeEnd", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]),
- ClusterObjectFieldDescriptor(Label="seekRangeStart", Tag=0x00000006, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="occupancy", Tag=0x00000000, Type=uint),
+ ClusterObjectFieldDescriptor(Label="occupancySensorType", Tag=0x00000001, Type=uint),
+ ClusterObjectFieldDescriptor(Label="occupancySensorTypeBitmap", Tag=0x00000002, Type=uint),
+ ClusterObjectFieldDescriptor(Label="pirOccupiedToUnoccupiedDelay", Tag=0x00000010, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="pirUnoccupiedToOccupiedDelay", Tag=0x00000011, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="pirUnoccupiedToOccupiedThreshold", Tag=0x00000012, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="ultrasonicOccupiedToUnoccupiedDelay", Tag=0x00000020, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="ultrasonicUnoccupiedToOccupiedDelay", Tag=0x00000021, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="ultrasonicUnoccupiedToOccupiedThreshold", Tag=0x00000022, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="physicalContactOccupiedToUnoccupiedDelay", Tag=0x00000030, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="physicalContactUnoccupiedToOccupiedDelay", Tag=0x00000031, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="physicalContactUnoccupiedToOccupiedThreshold", Tag=0x00000032, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -30581,337 +20684,350 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- currentState: 'MediaPlayback.Enums.PlaybackStateEnum' = None
- startTime: 'typing.Union[None, Nullable, uint]' = None
- duration: 'typing.Union[None, Nullable, uint]' = None
- sampledPosition: 'typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPosition]' = None
- playbackSpeed: 'typing.Optional[float32]' = None
- seekRangeEnd: 'typing.Union[None, Nullable, uint]' = None
- seekRangeStart: 'typing.Union[None, Nullable, uint]' = None
+ occupancy: 'uint' = None
+ occupancySensorType: 'uint' = None
+ occupancySensorTypeBitmap: 'uint' = None
+ pirOccupiedToUnoccupiedDelay: 'typing.Optional[uint]' = None
+ pirUnoccupiedToOccupiedDelay: 'typing.Optional[uint]' = None
+ pirUnoccupiedToOccupiedThreshold: 'typing.Optional[uint]' = None
+ ultrasonicOccupiedToUnoccupiedDelay: 'typing.Optional[uint]' = None
+ ultrasonicUnoccupiedToOccupiedDelay: 'typing.Optional[uint]' = None
+ ultrasonicUnoccupiedToOccupiedThreshold: 'typing.Optional[uint]' = None
+ physicalContactOccupiedToUnoccupiedDelay: 'typing.Optional[uint]' = None
+ physicalContactUnoccupiedToOccupiedDelay: 'typing.Optional[uint]' = None
+ physicalContactUnoccupiedToOccupiedThreshold: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class MediaPlaybackStatusEnum(IntEnum):
- kSuccess = 0x00
- kInvalidStateForCommand = 0x01
- kNotAllowed = 0x02
- kNotActive = 0x03
- kSpeedOutOfRange = 0x04
- kSeekOutOfRange = 0x05
-
- class PlaybackStateEnum(IntEnum):
- kPlaying = 0x00
- kPaused = 0x01
- kNotPlaying = 0x02
- kBuffering = 0x03
-
-
- class Structs:
- @dataclass
- class PlaybackPosition(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="updatedAt", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="position", Tag=1, Type=typing.Union[Nullable, uint]),
- ])
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- updatedAt: 'uint' = 0
- position: 'typing.Union[Nullable, uint]' = NullValue
- class Commands:
+ class Attributes:
@dataclass
- class Play(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
+ class Occupancy(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
+ def cluster_id(cls) -> int:
+ return 0x0406
- @dataclass
- class Pause(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000000
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+ value: 'uint' = 0
@dataclass
- class StopPlayback(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
+ class OccupancySensorType(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0406
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000001
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+ value: 'uint' = 0
@dataclass
- class StartOver(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
+ class OccupancySensorTypeBitmap(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0406
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000002
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+ value: 'uint' = 0
@dataclass
- class Previous(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x0004
- is_client: typing.ClassVar[bool] = True
+ class PirOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0406
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000010
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Next(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x0005
- is_client: typing.ClassVar[bool] = True
+ class PirUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0406
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000011
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Rewind(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x0006
- is_client: typing.ClassVar[bool] = True
+ class PirUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0406
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000012
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class FastForward(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x0007
- is_client: typing.ClassVar[bool] = True
+ class UltrasonicOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0406
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000020
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
- class SkipForward(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x0008
- is_client: typing.ClassVar[bool] = True
+ class UltrasonicUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0406
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000021
- deltaPositionMilliseconds: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
- class SkipBackward(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x0009
- is_client: typing.ClassVar[bool] = True
+ class UltrasonicUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0406
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000022
- deltaPositionMilliseconds: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
- class PlaybackResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x000A
- is_client: typing.ClassVar[bool] = False
+ class PhysicalContactOccupiedToUnoccupiedDelay(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0406
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatusEnum),
- ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000030
- status: 'MediaPlayback.Enums.MediaPlaybackStatusEnum' = 0
- data: 'typing.Optional[str]' = None
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+
+ value: 'typing.Optional[uint]' = None
@dataclass
- class Seek(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0506
- command_id: typing.ClassVar[int] = 0x000B
- is_client: typing.ClassVar[bool] = True
+ class PhysicalContactUnoccupiedToOccupiedDelay(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0406
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="position", Tag=0, Type=uint),
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000031
- position: 'uint' = 0
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
- class CurrentState(ClusterAttributeDescriptor):
+ class PhysicalContactUnoccupiedToOccupiedThreshold(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0406
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000032
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=MediaPlayback.Enums.PlaybackStateEnum)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'MediaPlayback.Enums.PlaybackStateEnum' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class StartTime(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0406
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Duration(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0406
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000002
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class SampledPosition(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0406
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPosition])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPosition]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class PlaybackSpeed(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0406
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[float32]' = None
+ value: 'uint' = 0
@dataclass
- class SeekRangeEnd(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0406
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000005
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'uint' = 0
+
+
+
+@dataclass
+class WakeOnLan(Cluster):
+ id: typing.ClassVar[int] = 0x0503
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="MACAddress", Tag=0x00000000, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ MACAddress: 'typing.Optional[str]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+
+
+
+ class Attributes:
@dataclass
- class SeekRangeStart(ClusterAttributeDescriptor):
+ class MACAddress(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0503
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000006
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.Union[None, Nullable, uint]' = None
+ value: 'typing.Optional[str]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0503
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30927,7 +21043,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0503
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30943,7 +21059,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0503
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30959,7 +21075,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0503
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30975,7 +21091,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0506
+ return 0x0503
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -30990,15 +21106,16 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class MediaInput(Cluster):
- id: typing.ClassVar[int] = 0x0507
+class Channel(Cluster):
+ id: typing.ClassVar[int] = 0x0504
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="inputList", Tag=0x00000000, Type=typing.List[MediaInput.Structs.InputInfo]),
- ClusterObjectFieldDescriptor(Label="currentInput", Tag=0x00000001, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="channelList", Tag=0x00000000, Type=typing.Optional[typing.List[Channel.Structs.ChannelInfo]]),
+ ClusterObjectFieldDescriptor(Label="lineup", Tag=0x00000001, Type=typing.Union[None, Nullable, Channel.Structs.LineupInfo]),
+ ClusterObjectFieldDescriptor(Label="currentChannel", Tag=0x00000002, Type=typing.Union[None, Nullable, Channel.Structs.ChannelInfo]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -31006,8 +21123,9 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- inputList: 'typing.List[MediaInput.Structs.InputInfo]' = None
- currentInput: 'typing.Optional[uint]' = None
+ channelList: 'typing.Optional[typing.List[Channel.Structs.ChannelInfo]]' = None
+ lineup: 'typing.Union[None, Nullable, Channel.Structs.LineupInfo]' = None
+ currentChannel: 'typing.Union[None, Nullable, Channel.Structs.ChannelInfo]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -31015,260 +21133,174 @@ def descriptor(cls) -> ClusterObjectDescriptor:
clusterRevision: 'uint' = None
class Enums:
- class InputTypeEnum(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 ChannelStatusEnum(IntEnum):
+ kSuccess = 0x00
+ kMultipleMatches = 0x01
+ kNoMatches = 0x02
+
+ class LineupInfoTypeEnum(IntEnum):
+ kMso = 0x00
class Structs:
@dataclass
- class InputInfo(ClusterObject):
+ class ChannelInfo(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="inputType", Tag=1, Type=MediaInput.Enums.InputTypeEnum),
- ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str),
- ClusterObjectFieldDescriptor(Label="description", Tag=3, Type=str),
+ ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint),
+ ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="callSign", Tag=3, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="affiliateCallSign", Tag=4, Type=typing.Optional[str]),
])
- index: 'uint' = 0
- inputType: 'MediaInput.Enums.InputTypeEnum' = 0
- name: 'str' = ""
- description: 'str' = ""
-
-
+ majorNumber: 'uint' = 0
+ minorNumber: 'uint' = 0
+ name: 'typing.Optional[str]' = None
+ callSign: 'typing.Optional[str]' = None
+ affiliateCallSign: 'typing.Optional[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
-
+ class LineupInfo(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="operatorName", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="lineupName", Tag=1, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="postalCode", Tag=2, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="lineupInfoType", Tag=3, Type=Channel.Enums.LineupInfoTypeEnum),
])
- index: 'uint' = 0
+ operatorName: 'str' = ""
+ lineupName: 'typing.Optional[str]' = None
+ postalCode: 'typing.Optional[str]' = None
+ lineupInfoType: 'Channel.Enums.LineupInfoTypeEnum' = 0
+
+
+ class Commands:
@dataclass
- class ShowInputStatus(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0507
- command_id: typing.ClassVar[int] = 0x0001
+ class ChangeChannel(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0504
+ command_id: typing.ClassVar[int] = 0x0000
is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
+ ClusterObjectFieldDescriptor(Label="match", Tag=0, Type=str),
])
+ match: 'str' = ""
@dataclass
- class HideInputStatus(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0507
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
+ class ChangeChannelResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0504
+ 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=Channel.Enums.ChannelStatusEnum),
+ ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
])
+ status: 'Channel.Enums.ChannelStatusEnum' = 0
+ data: 'typing.Optional[str]' = None
@dataclass
- class RenameInput(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0507
- command_id: typing.ClassVar[int] = 0x0003
+ class ChangeChannelByNumber(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="index", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str),
+ ClusterObjectFieldDescriptor(Label="majorNumber", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="minorNumber", Tag=1, Type=uint),
])
- index: 'uint' = 0
- name: 'str' = ""
-
-
- class Attributes:
- @dataclass
- class InputList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0507
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[MediaInput.Structs.InputInfo])
-
- value: 'typing.List[MediaInput.Structs.InputInfo]' = field(default_factory=lambda: [])
-
- @dataclass
- class CurrentInput(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0507
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0507
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ majorNumber: 'uint' = 0
+ minorNumber: 'uint' = 0
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0507
+ class SkipChannel(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0504
+ command_id: typing.ClassVar[int] = 0x0003
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="count", Tag=0, Type=uint),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ count: 'uint' = 0
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ class Attributes:
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class ChannelList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0507
+ return 0x0504
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[Channel.Structs.ChannelInfo]])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[typing.List[Channel.Structs.ChannelInfo]]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class Lineup(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0507
+ return 0x0504
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, Channel.Structs.LineupInfo])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, Channel.Structs.LineupInfo]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class CurrentChannel(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0507
+ return 0x0504
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class LowPower(Cluster):
- id: typing.ClassVar[int] = 0x0508
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
-
-
- class Commands:
- @dataclass
- class Sleep(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0508
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, Channel.Structs.ChannelInfo])
+ value: 'typing.Union[None, Nullable, Channel.Structs.ChannelInfo]' = None
- class Attributes:
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0508
+ return 0x0504
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -31284,7 +21316,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0508
+ return 0x0504
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -31300,7 +21332,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0508
+ return 0x0504
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -31316,7 +21348,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0508
+ return 0x0504
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -31332,7 +21364,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0508
+ return 0x0504
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -31347,13 +21379,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class KeypadInput(Cluster):
- id: typing.ClassVar[int] = 0x0509
+class TargetNavigator(Cluster):
+ id: typing.ClassVar[int] = 0x0505
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
+ ClusterObjectFieldDescriptor(Label="targetList", Tag=0x00000000, Type=typing.List[TargetNavigator.Structs.TargetInfo]),
+ ClusterObjectFieldDescriptor(Label="currentTarget", Tag=0x00000001, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -31361,6 +21395,8 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
+ targetList: 'typing.List[TargetNavigator.Structs.TargetInfo]' = None
+ currentTarget: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -31368,105 +21404,32 @@ def descriptor(cls) -> ClusterObjectDescriptor:
clusterRevision: 'uint' = None
class Enums:
- class CecKeyCode(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 KeypadInputStatusEnum(IntEnum):
+ class TargetNavigatorStatusEnum(IntEnum):
kSuccess = 0x00
- kUnsupportedKey = 0x01
- kInvalidKeyInCurrentState = 0x02
+ kTargetNotFound = 0x01
+ kNotAllowed = 0x02
+
+
+ class Structs:
+ @dataclass
+ class TargetInfo(ClusterObject):
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="identifier", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str),
+ ])
+
+ identifier: 'uint' = 0
+ name: 'str' = ""
class Commands:
@dataclass
- class SendKey(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0509
+ class NavigateTarget(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0505
command_id: typing.ClassVar[int] = 0x0000
is_client: typing.ClassVar[bool] = True
@@ -31474,14 +21437,16 @@ class SendKey(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="keyCode", Tag=0, Type=KeypadInput.Enums.CecKeyCode),
+ ClusterObjectFieldDescriptor(Label="target", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
])
- keyCode: 'KeypadInput.Enums.CecKeyCode' = 0
+ target: 'uint' = 0
+ data: 'typing.Optional[str]' = None
@dataclass
- class SendKeyResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0509
+ class NavigateTargetResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0505
command_id: typing.ClassVar[int] = 0x0001
is_client: typing.ClassVar[bool] = False
@@ -31489,18 +21454,52 @@ class SendKeyResponse(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=KeypadInput.Enums.KeypadInputStatusEnum),
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=TargetNavigator.Enums.TargetNavigatorStatusEnum),
+ ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
])
- status: 'KeypadInput.Enums.KeypadInputStatusEnum' = 0
+ status: 'TargetNavigator.Enums.TargetNavigatorStatusEnum' = 0
+ data: 'typing.Optional[str]' = None
+
+
+ class Attributes:
+ @dataclass
+ class TargetList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0505
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000000
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[TargetNavigator.Structs.TargetInfo])
+
+ value: 'typing.List[TargetNavigator.Structs.TargetInfo]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class CurrentTarget(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0505
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000001
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0509
+ return 0x0505
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -31516,7 +21515,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0509
+ return 0x0505
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -31532,7 +21531,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0509
+ return 0x0505
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -31548,7 +21547,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0509
+ return 0x0505
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -31564,7 +21563,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0509
+ return 0x0505
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -31579,15 +21578,20 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class ContentLauncher(Cluster):
- id: typing.ClassVar[int] = 0x050A
+class MediaPlayback(Cluster):
+ id: typing.ClassVar[int] = 0x0506
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="acceptHeader", Tag=0x00000000, Type=typing.Optional[typing.List[str]]),
- ClusterObjectFieldDescriptor(Label="supportedStreamingProtocols", Tag=0x00000001, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="currentState", Tag=0x00000000, Type=MediaPlayback.Enums.PlaybackStateEnum),
+ ClusterObjectFieldDescriptor(Label="startTime", Tag=0x00000001, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="duration", Tag=0x00000002, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="sampledPosition", Tag=0x00000003, Type=typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPosition]),
+ ClusterObjectFieldDescriptor(Label="playbackSpeed", Tag=0x00000004, Type=typing.Optional[float32]),
+ ClusterObjectFieldDescriptor(Label="seekRangeEnd", Tag=0x00000005, Type=typing.Union[None, Nullable, uint]),
+ ClusterObjectFieldDescriptor(Label="seekRangeStart", Tag=0x00000006, Type=typing.Union[None, Nullable, uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -31595,8 +21599,13 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- acceptHeader: 'typing.Optional[typing.List[str]]' = None
- supportedStreamingProtocols: 'typing.Optional[uint]' = None
+ currentState: 'MediaPlayback.Enums.PlaybackStateEnum' = None
+ startTime: 'typing.Union[None, Nullable, uint]' = None
+ duration: 'typing.Union[None, Nullable, uint]' = None
+ sampledPosition: 'typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPosition]' = None
+ playbackSpeed: 'typing.Optional[float32]' = None
+ seekRangeEnd: 'typing.Union[None, Nullable, uint]' = None
+ seekRangeStart: 'typing.Union[None, Nullable, uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -31604,421 +21613,323 @@ def descriptor(cls) -> ClusterObjectDescriptor:
clusterRevision: 'uint' = None
class Enums:
- class ContentLaunchStatusEnum(IntEnum):
+ class MediaPlaybackStatusEnum(IntEnum):
kSuccess = 0x00
- kUrlNotAvailable = 0x01
- kAuthFailed = 0x02
-
- class MetricTypeEnum(IntEnum):
- kPixels = 0x00
- kPercentage = 0x01
+ kInvalidStateForCommand = 0x01
+ kNotAllowed = 0x02
+ kNotActive = 0x03
+ kSpeedOutOfRange = 0x04
+ kSeekOutOfRange = 0x05
- class ParameterEnum(IntEnum):
- kActor = 0x00
- kChannel = 0x01
- kCharacter = 0x02
- kDirector = 0x03
- kEvent = 0x04
- kFranchise = 0x05
- kGenre = 0x06
- kLeague = 0x07
- kPopularity = 0x08
- kProvider = 0x09
- kSport = 0x0A
- kSportsTeam = 0x0B
- kType = 0x0C
+ class PlaybackStateEnum(IntEnum):
+ kPlaying = 0x00
+ kPaused = 0x01
+ kNotPlaying = 0x02
+ kBuffering = 0x03
class Structs:
@dataclass
- class Dimension(ClusterObject):
+ class PlaybackPosition(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="width", Tag=0, Type=float),
- ClusterObjectFieldDescriptor(Label="height", Tag=1, Type=float),
- ClusterObjectFieldDescriptor(Label="metric", Tag=2, Type=ContentLauncher.Enums.MetricTypeEnum),
+ ClusterObjectFieldDescriptor(Label="updatedAt", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="position", Tag=1, Type=typing.Union[Nullable, uint]),
])
- width: 'float' = 0.0
- height: 'float' = 0.0
- metric: 'ContentLauncher.Enums.MetricTypeEnum' = 0
+ updatedAt: 'uint' = 0
+ position: 'typing.Union[Nullable, uint]' = NullValue
+
+
+ class Commands:
@dataclass
- class AdditionalInfo(ClusterObject):
+ class Play(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 = [
- ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str),
- ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str),
])
- name: 'str' = ""
- value: 'str' = ""
@dataclass
- class Parameter(ClusterObject):
+ class Pause(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 = [
- ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=ContentLauncher.Enums.ParameterEnum),
- ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str),
- ClusterObjectFieldDescriptor(Label="externalIDList", Tag=2, Type=typing.Optional[typing.List[ContentLauncher.Structs.AdditionalInfo]]),
])
- type: 'ContentLauncher.Enums.ParameterEnum' = 0
- value: 'str' = ""
- externalIDList: 'typing.Optional[typing.List[ContentLauncher.Structs.AdditionalInfo]]' = None
@dataclass
- class ContentSearch(ClusterObject):
+ class StopPlayback(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 = [
- ClusterObjectFieldDescriptor(Label="parameterList", Tag=0, Type=typing.List[ContentLauncher.Structs.Parameter]),
])
- parameterList: 'typing.List[ContentLauncher.Structs.Parameter]' = field(default_factory=lambda: [])
@dataclass
- class StyleInformation(ClusterObject):
+ class StartOver(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 = [
- ClusterObjectFieldDescriptor(Label="imageUrl", Tag=0, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="color", Tag=1, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="size", Tag=2, Type=typing.Optional[ContentLauncher.Structs.Dimension]),
])
- imageUrl: 'typing.Optional[str]' = None
- color: 'typing.Optional[str]' = None
- size: 'typing.Optional[ContentLauncher.Structs.Dimension]' = None
@dataclass
- class BrandingInformation(ClusterObject):
+ class Previous(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 = [
- ClusterObjectFieldDescriptor(Label="providerName", Tag=0, Type=str),
- ClusterObjectFieldDescriptor(Label="background", Tag=1, Type=typing.Optional[ContentLauncher.Structs.StyleInformation]),
- ClusterObjectFieldDescriptor(Label="logo", Tag=2, Type=typing.Optional[ContentLauncher.Structs.StyleInformation]),
- ClusterObjectFieldDescriptor(Label="progressBar", Tag=3, Type=typing.Optional[ContentLauncher.Structs.StyleInformation]),
- ClusterObjectFieldDescriptor(Label="splash", Tag=4, Type=typing.Optional[ContentLauncher.Structs.StyleInformation]),
- ClusterObjectFieldDescriptor(Label="waterMark", Tag=5, Type=typing.Optional[ContentLauncher.Structs.StyleInformation]),
])
- providerName: 'str' = ""
- background: 'typing.Optional[ContentLauncher.Structs.StyleInformation]' = None
- logo: 'typing.Optional[ContentLauncher.Structs.StyleInformation]' = None
- progressBar: 'typing.Optional[ContentLauncher.Structs.StyleInformation]' = None
- splash: 'typing.Optional[ContentLauncher.Structs.StyleInformation]' = None
- waterMark: 'typing.Optional[ContentLauncher.Structs.StyleInformation]' = None
-
-
- class Commands:
@dataclass
- class LaunchContent(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050A
- command_id: typing.ClassVar[int] = 0x0000
+ class Next(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 = [
- ClusterObjectFieldDescriptor(Label="search", Tag=0, Type=ContentLauncher.Structs.ContentSearch),
- ClusterObjectFieldDescriptor(Label="autoPlay", Tag=1, Type=bool),
- ClusterObjectFieldDescriptor(Label="data", Tag=2, Type=typing.Optional[str]),
])
- search: 'ContentLauncher.Structs.ContentSearch' = field(default_factory=lambda: ContentLauncher.Structs.ContentSearch())
- autoPlay: 'bool' = False
- data: 'typing.Optional[str]' = None
@dataclass
- class LaunchURL(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050A
- command_id: typing.ClassVar[int] = 0x0001
+ class Rewind(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 = [
- ClusterObjectFieldDescriptor(Label="contentURL", Tag=0, Type=str),
- ClusterObjectFieldDescriptor(Label="displayString", Tag=1, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="brandingInformation", Tag=2, Type=typing.Optional[ContentLauncher.Structs.BrandingInformation]),
])
- contentURL: 'str' = ""
- displayString: 'typing.Optional[str]' = None
- brandingInformation: 'typing.Optional[ContentLauncher.Structs.BrandingInformation]' = None
@dataclass
- class LaunchResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050A
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = False
+ class FastForward(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 = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ContentLauncher.Enums.ContentLaunchStatusEnum),
- ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
])
- status: 'ContentLauncher.Enums.ContentLaunchStatusEnum' = 0
- data: 'typing.Optional[str]' = None
-
- class Attributes:
@dataclass
- class AcceptHeader(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x050A
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
+ class SkipForward(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0506
+ command_id: typing.ClassVar[int] = 0x0008
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[str]])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint),
+ ])
- value: 'typing.Optional[typing.List[str]]' = None
+ deltaPositionMilliseconds: 'uint' = 0
@dataclass
- class SupportedStreamingProtocols(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x050A
+ class SkipBackward(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0506
+ command_id: typing.ClassVar[int] = 0x0009
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="deltaPositionMilliseconds", Tag=0, Type=uint),
+ ])
+
+ deltaPositionMilliseconds: 'uint' = 0
+
+ @dataclass
+ class PlaybackResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0506
+ command_id: typing.ClassVar[int] = 0x000A
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=MediaPlayback.Enums.MediaPlaybackStatusEnum),
+ ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
+ ])
- value: 'typing.Optional[uint]' = None
+ status: 'MediaPlayback.Enums.MediaPlaybackStatusEnum' = 0
+ data: 'typing.Optional[str]' = None
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x050A
+ class Seek(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0506
+ command_id: typing.ClassVar[int] = 0x000B
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="position", Tag=0, Type=uint),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ position: 'uint' = 0
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ class Attributes:
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class CurrentState(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050A
+ return 0x0506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=MediaPlayback.Enums.PlaybackStateEnum)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'MediaPlayback.Enums.PlaybackStateEnum' = 0
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class StartTime(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050A
+ return 0x0506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class Duration(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050A
+ return 0x0506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class SampledPosition(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050A
+ return 0x0506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class AudioOutput(Cluster):
- id: typing.ClassVar[int] = 0x050B
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="outputList", Tag=0x00000000, Type=typing.List[AudioOutput.Structs.OutputInfo]),
- ClusterObjectFieldDescriptor(Label="currentOutput", Tag=0x00000001, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- outputList: 'typing.List[AudioOutput.Structs.OutputInfo]' = None
- currentOutput: 'typing.Optional[uint]' = None
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class OutputTypeEnum(IntEnum):
- kHdmi = 0x00
- kBt = 0x01
- kOptical = 0x02
- kHeadphone = 0x03
- kInternal = 0x04
- kOther = 0x05
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPosition])
+ value: 'typing.Union[None, Nullable, MediaPlayback.Structs.PlaybackPosition]' = None
- class Structs:
@dataclass
- class OutputInfo(ClusterObject):
+ class PlaybackSpeed(ClusterAttributeDescriptor):
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="outputType", Tag=1, Type=AudioOutput.Enums.OutputTypeEnum),
- ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str),
- ])
-
- index: 'uint' = 0
- outputType: 'AudioOutput.Enums.OutputTypeEnum' = 0
- name: 'str' = ""
-
-
-
- class Commands:
- @dataclass
- class SelectOutput(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050B
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
+ def cluster_id(cls) -> int:
+ return 0x0506
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint),
- ])
-
- index: 'uint' = 0
-
- @dataclass
- class RenameOutput(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050B
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = True
+ def attribute_id(cls) -> int:
+ return 0x00000004
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str),
- ])
-
- index: 'uint' = 0
- name: 'str' = ""
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[float32])
+ value: 'typing.Optional[float32]' = None
- class Attributes:
@dataclass
- class OutputList(ClusterAttributeDescriptor):
+ class SeekRangeEnd(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050B
+ return 0x0506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000000
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[AudioOutput.Structs.OutputInfo])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.List[AudioOutput.Structs.OutputInfo]' = field(default_factory=lambda: [])
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
- class CurrentOutput(ClusterAttributeDescriptor):
+ class SeekRangeStart(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050B
+ return 0x0506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.Union[None, Nullable, uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050B
+ return 0x0506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32034,7 +21945,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050B
+ return 0x0506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32050,7 +21961,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050B
+ return 0x0506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32066,7 +21977,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050B
+ return 0x0506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32082,7 +21993,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050B
+ return 0x0506
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32097,15 +22008,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class ApplicationLauncher(Cluster):
- id: typing.ClassVar[int] = 0x050C
+class MediaInput(Cluster):
+ id: typing.ClassVar[int] = 0x0507
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="catalogList", Tag=0x00000000, Type=typing.Optional[typing.List[uint]]),
- ClusterObjectFieldDescriptor(Label="currentApp", Tag=0x00000001, Type=typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEP]),
+ ClusterObjectFieldDescriptor(Label="inputList", Tag=0x00000000, Type=typing.List[MediaInput.Structs.InputInfo]),
+ ClusterObjectFieldDescriptor(Label="currentInput", Tag=0x00000001, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -32113,8 +22024,8 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- catalogList: 'typing.Optional[typing.List[uint]]' = None
- currentApp: 'typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEP]' = None
+ inputList: 'typing.List[MediaInput.Structs.InputInfo]' = None
+ currentInput: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -32122,45 +22033,45 @@ def descriptor(cls) -> ClusterObjectDescriptor:
clusterRevision: 'uint' = None
class Enums:
- class ApplicationLauncherStatusEnum(IntEnum):
- kSuccess = 0x00
- kAppNotAvailable = 0x01
- kSystemBusy = 0x02
+ class InputTypeEnum(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 Application(ClusterObject):
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="catalogVendorId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="applicationId", Tag=1, Type=str),
- ])
-
- catalogVendorId: 'uint' = 0
- applicationId: 'str' = ""
-
- @dataclass
- class ApplicationEP(ClusterObject):
+ class InputInfo(ClusterObject):
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.Application),
- ClusterObjectFieldDescriptor(Label="endpoint", Tag=1, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="inputType", Tag=1, Type=MediaInput.Enums.InputTypeEnum),
+ ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str),
+ ClusterObjectFieldDescriptor(Label="description", Tag=3, Type=str),
])
- application: 'ApplicationLauncher.Structs.Application' = field(default_factory=lambda: ApplicationLauncher.Structs.Application())
- endpoint: 'typing.Optional[uint]' = None
+ index: 'uint' = 0
+ inputType: 'MediaInput.Enums.InputTypeEnum' = 0
+ name: 'str' = ""
+ description: 'str' = ""
class Commands:
@dataclass
- class LaunchApp(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050C
+ class SelectInput(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0507
command_id: typing.ClassVar[int] = 0x0000
is_client: typing.ClassVar[bool] = True
@@ -32168,16 +22079,14 @@ class LaunchApp(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.Application),
- ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[bytes]),
+ ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint),
])
- application: 'ApplicationLauncher.Structs.Application' = field(default_factory=lambda: ApplicationLauncher.Structs.Application())
- data: 'typing.Optional[bytes]' = None
+ index: 'uint' = 0
@dataclass
- class StopApp(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050C
+ class ShowInputStatus(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0507
command_id: typing.ClassVar[int] = 0x0001
is_client: typing.ClassVar[bool] = True
@@ -32185,14 +22094,12 @@ class StopApp(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.Application),
])
- application: 'ApplicationLauncher.Structs.Application' = field(default_factory=lambda: ApplicationLauncher.Structs.Application())
@dataclass
- class HideApp(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050C
+ class HideInputStatus(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0507
command_id: typing.ClassVar[int] = 0x0002
is_client: typing.ClassVar[bool] = True
@@ -32200,35 +22107,33 @@ class HideApp(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.Application),
])
- application: 'ApplicationLauncher.Structs.Application' = field(default_factory=lambda: ApplicationLauncher.Structs.Application())
@dataclass
- class LauncherResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050C
+ class RenameInput(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0507
command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = False
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ApplicationLauncher.Enums.ApplicationLauncherStatusEnum),
- ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=bytes),
+ ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str),
])
- status: 'ApplicationLauncher.Enums.ApplicationLauncherStatusEnum' = 0
- data: 'bytes' = b""
+ index: 'uint' = 0
+ name: 'str' = ""
class Attributes:
@dataclass
- class CatalogList(ClusterAttributeDescriptor):
+ class InputList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050C
+ return 0x0507
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32236,15 +22141,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]])
+ return ClusterObjectFieldDescriptor(Type=typing.List[MediaInput.Structs.InputInfo])
- value: 'typing.Optional[typing.List[uint]]' = None
+ value: 'typing.List[MediaInput.Structs.InputInfo]' = field(default_factory=lambda: [])
@dataclass
- class CurrentApp(ClusterAttributeDescriptor):
+ class CurrentInput(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050C
+ return 0x0507
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32252,15 +22157,15 @@ def attribute_id(cls) -> int:
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEP])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEP]' = None
+ value: 'typing.Optional[uint]' = None
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050C
+ return 0x0507
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32276,7 +22181,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050C
+ return 0x0507
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32292,7 +22197,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050C
+ return 0x0507
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32308,7 +22213,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050C
+ return 0x0507
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32324,7 +22229,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050C
+ return 0x0507
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32339,21 +22244,13 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class ApplicationBasic(Cluster):
- id: typing.ClassVar[int] = 0x050D
+class LowPower(Cluster):
+ id: typing.ClassVar[int] = 0x0508
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000000, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000001, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="applicationName", Tag=0x00000002, Type=str),
- ClusterObjectFieldDescriptor(Label="productID", Tag=0x00000003, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="application", Tag=0x00000004, Type=ApplicationBasic.Structs.ApplicationBasicApplication),
- ClusterObjectFieldDescriptor(Label="status", Tag=0x00000005, Type=ApplicationBasic.Enums.ApplicationStatusEnum),
- ClusterObjectFieldDescriptor(Label="applicationVersion", Tag=0x00000006, Type=str),
- ClusterObjectFieldDescriptor(Label="allowedVendorList", Tag=0x00000007, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -32361,283 +22258,492 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- vendorName: 'typing.Optional[str]' = None
- vendorID: 'typing.Optional[uint]' = None
- applicationName: 'str' = None
- productID: 'typing.Optional[uint]' = None
- application: 'ApplicationBasic.Structs.ApplicationBasicApplication' = None
- status: 'ApplicationBasic.Enums.ApplicationStatusEnum' = None
- applicationVersion: 'str' = None
- allowedVendorList: 'typing.List[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
- class Enums:
- class ApplicationStatusEnum(IntEnum):
- kStopped = 0x00
- kActiveVisibleFocus = 0x01
- kActiveHidden = 0x02
- kActiveVisibleNotFocus = 0x03
- class Structs:
+ class Commands:
@dataclass
- class ApplicationBasicApplication(ClusterObject):
+ 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 = [
- ClusterObjectFieldDescriptor(Label="catalogVendorId", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="applicationId", Tag=1, Type=str),
])
- catalogVendorId: 'uint' = 0
- applicationId: 'str' = ""
+ class Attributes:
+ @dataclass
+ class GeneratedCommandList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0508
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFF8
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
- class Attributes:
@dataclass
- class VendorName(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050D
+ return 0x0508
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFF9
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class AttributeList(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0508
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFFB
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
+
+ @dataclass
+ class FeatureMap(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0508
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFFC
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+ @dataclass
+ class ClusterRevision(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x0508
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x0000FFFD
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+
+
+@dataclass
+class KeypadInput(Cluster):
+ id: typing.ClassVar[int] = 0x0509
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
+
+ class Enums:
+ class CecKeyCode(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
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
+ class KeypadInputStatusEnum(IntEnum):
+ kSuccess = 0x00
+ kUnsupportedKey = 0x01
+ kInvalidKeyInCurrentState = 0x02
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.Optional[str]' = None
+ class Commands:
@dataclass
- class VendorID(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x050D
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
+ class SendKey(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0509
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="keyCode", Tag=0, Type=KeypadInput.Enums.CecKeyCode),
+ ])
- value: 'typing.Optional[uint]' = None
+ keyCode: 'KeypadInput.Enums.CecKeyCode' = 0
@dataclass
- class ApplicationName(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x050D
+ class SendKeyResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x0509
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000002
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=KeypadInput.Enums.KeypadInputStatusEnum),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+ status: 'KeypadInput.Enums.KeypadInputStatusEnum' = 0
- value: 'str' = ""
+ class Attributes:
@dataclass
- class ProductID(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050D
+ return 0x0509
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000003
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Application(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050D
+ return 0x0509
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=ApplicationBasic.Structs.ApplicationBasicApplication)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'ApplicationBasic.Structs.ApplicationBasicApplication' = field(default_factory=lambda: ApplicationBasic.Structs.ApplicationBasicApplication())
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Status(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050D
+ return 0x0509
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000005
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=ApplicationBasic.Enums.ApplicationStatusEnum)
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'ApplicationBasic.Enums.ApplicationStatusEnum' = 0
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ApplicationVersion(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050D
+ return 0x0509
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000006
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'str' = ""
+ value: 'uint' = 0
@dataclass
- class AllowedVendorList(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050D
+ return 0x0509
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000007
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
-
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ return ClusterObjectFieldDescriptor(Type=uint)
- @dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x050D
+ value: 'uint' = 0
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF8
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+@dataclass
+class ContentLauncher(Cluster):
+ id: typing.ClassVar[int] = 0x050A
- @dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x050D
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="acceptHeader", Tag=0x00000000, Type=typing.Optional[typing.List[str]]),
+ ClusterObjectFieldDescriptor(Label="supportedStreamingProtocols", Tag=0x00000001, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFF9
+ acceptHeader: 'typing.Optional[typing.List[str]]' = None
+ supportedStreamingProtocols: 'typing.Optional[uint]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ class Enums:
+ class ContentLaunchStatusEnum(IntEnum):
+ kSuccess = 0x00
+ kUrlNotAvailable = 0x01
+ kAuthFailed = 0x02
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ class MetricTypeEnum(IntEnum):
+ kPixels = 0x00
+ kPercentage = 0x01
- @dataclass
- class AttributeList(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x050D
+ class ParameterEnum(IntEnum):
+ kActor = 0x00
+ kChannel = 0x01
+ kCharacter = 0x02
+ kDirector = 0x03
+ kEvent = 0x04
+ kFranchise = 0x05
+ kGenre = 0x06
+ kLeague = 0x07
+ kPopularity = 0x08
+ kProvider = 0x09
+ kSport = 0x0A
+ kSportsTeam = 0x0B
+ kType = 0x0C
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFB
+ class Structs:
+ @dataclass
+ class Dimension(ClusterObject):
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="width", Tag=0, Type=float),
+ ClusterObjectFieldDescriptor(Label="height", Tag=1, Type=float),
+ ClusterObjectFieldDescriptor(Label="metric", Tag=2, Type=ContentLauncher.Enums.MetricTypeEnum),
+ ])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ width: 'float' = 0.0
+ height: 'float' = 0.0
+ metric: 'ContentLauncher.Enums.MetricTypeEnum' = 0
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class AdditionalInfo(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x050D
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="name", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFC
+ name: 'str' = ""
+ value: 'str' = ""
+ @dataclass
+ class Parameter(ClusterObject):
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="type", Tag=0, Type=ContentLauncher.Enums.ParameterEnum),
+ ClusterObjectFieldDescriptor(Label="value", Tag=1, Type=str),
+ ClusterObjectFieldDescriptor(Label="externalIDList", Tag=2, Type=typing.Optional[typing.List[ContentLauncher.Structs.AdditionalInfo]]),
+ ])
- value: 'uint' = 0
+ type: 'ContentLauncher.Enums.ParameterEnum' = 0
+ value: 'str' = ""
+ externalIDList: 'typing.Optional[typing.List[ContentLauncher.Structs.AdditionalInfo]]' = None
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class ContentSearch(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x050D
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="parameterList", Tag=0, Type=typing.List[ContentLauncher.Structs.Parameter]),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000FFFD
+ parameterList: 'typing.List[ContentLauncher.Structs.Parameter]' = field(default_factory=lambda: [])
+ @dataclass
+ class StyleInformation(ClusterObject):
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="imageUrl", Tag=0, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="color", Tag=1, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="size", Tag=2, Type=typing.Optional[ContentLauncher.Structs.Dimension]),
+ ])
-@dataclass
-class AccountLogin(Cluster):
- id: typing.ClassVar[int] = 0x050E
+ imageUrl: 'typing.Optional[str]' = None
+ color: 'typing.Optional[str]' = None
+ size: 'typing.Optional[ContentLauncher.Structs.Dimension]' = None
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
+ @dataclass
+ class BrandingInformation(ClusterObject):
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="providerName", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="background", Tag=1, Type=typing.Optional[ContentLauncher.Structs.StyleInformation]),
+ ClusterObjectFieldDescriptor(Label="logo", Tag=2, Type=typing.Optional[ContentLauncher.Structs.StyleInformation]),
+ ClusterObjectFieldDescriptor(Label="progressBar", Tag=3, Type=typing.Optional[ContentLauncher.Structs.StyleInformation]),
+ ClusterObjectFieldDescriptor(Label="splash", Tag=4, Type=typing.Optional[ContentLauncher.Structs.StyleInformation]),
+ ClusterObjectFieldDescriptor(Label="waterMark", Tag=5, Type=typing.Optional[ContentLauncher.Structs.StyleInformation]),
+ ])
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
+ providerName: 'str' = ""
+ background: 'typing.Optional[ContentLauncher.Structs.StyleInformation]' = None
+ logo: 'typing.Optional[ContentLauncher.Structs.StyleInformation]' = None
+ progressBar: 'typing.Optional[ContentLauncher.Structs.StyleInformation]' = None
+ splash: 'typing.Optional[ContentLauncher.Structs.StyleInformation]' = None
+ waterMark: 'typing.Optional[ContentLauncher.Structs.StyleInformation]' = None
class Commands:
@dataclass
- class GetSetupPIN(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050E
+ class LaunchContent(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050A
command_id: typing.ClassVar[int] = 0x0000
is_client: typing.ClassVar[bool] = True
@@ -32645,75 +22751,90 @@ class GetSetupPIN(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="search", Tag=0, Type=ContentLauncher.Structs.ContentSearch),
+ ClusterObjectFieldDescriptor(Label="autoPlay", Tag=1, Type=bool),
+ ClusterObjectFieldDescriptor(Label="data", Tag=2, Type=typing.Optional[str]),
])
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
-
- tempAccountIdentifier: 'str' = ""
+ search: 'ContentLauncher.Structs.ContentSearch' = field(default_factory=lambda: ContentLauncher.Structs.ContentSearch())
+ autoPlay: 'bool' = False
+ data: 'typing.Optional[str]' = None
@dataclass
- class GetSetupPINResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050E
+ class LaunchURL(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050A
command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="setupPIN", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="contentURL", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="displayString", Tag=1, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="brandingInformation", Tag=2, Type=typing.Optional[ContentLauncher.Structs.BrandingInformation]),
])
- setupPIN: 'str' = ""
+ contentURL: 'str' = ""
+ displayString: 'typing.Optional[str]' = None
+ brandingInformation: 'typing.Optional[ContentLauncher.Structs.BrandingInformation]' = None
@dataclass
- class Login(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050E
+ class LaunchResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050A
command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = True
+ is_client: typing.ClassVar[bool] = False
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str),
- ClusterObjectFieldDescriptor(Label="setupPIN", Tag=1, Type=str),
+ ClusterObjectFieldDescriptor(Label="status", Tag=0, Type=ContentLauncher.Enums.ContentLaunchStatusEnum),
+ ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[str]),
])
- @ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
+ status: 'ContentLauncher.Enums.ContentLaunchStatusEnum' = 0
+ data: 'typing.Optional[str]' = None
- tempAccountIdentifier: 'str' = ""
- setupPIN: 'str' = ""
+ class Attributes:
@dataclass
- class Logout(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x050E
- command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = True
+ class AcceptHeader(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x050A
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
+ def attribute_id(cls) -> int:
+ return 0x00000000
@ChipUtility.classproperty
- def must_use_timed_invoke(cls) -> bool:
- return True
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[str]])
+
+ value: 'typing.Optional[typing.List[str]]' = None
+
+ @dataclass
+ class SupportedStreamingProtocols(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0x050A
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0x00000001
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ value: 'typing.Optional[uint]' = None
- class Attributes:
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050E
+ return 0x050A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32729,7 +22850,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050E
+ return 0x050A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32745,7 +22866,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050E
+ return 0x050A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32761,7 +22882,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050E
+ return 0x050A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32777,7 +22898,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x050E
+ return 0x050A
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -32792,25 +22913,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class ApplianceIdentification(Cluster):
- id: typing.ClassVar[int] = 0x0B00
+class AudioOutput(Cluster):
+ id: typing.ClassVar[int] = 0x050B
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="basicIdentification", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="companyName", Tag=0x00000010, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="companyId", Tag=0x00000011, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="brandName", Tag=0x00000012, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="brandId", Tag=0x00000013, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="model", Tag=0x00000014, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="partNumber", Tag=0x00000015, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="productRevision", Tag=0x00000016, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="softwareRevision", Tag=0x00000017, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="productTypeName", Tag=0x00000018, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="productTypeId", Tag=0x00000019, Type=typing.Optional[uint]),
- ClusterObjectFieldDescriptor(Label="cecedSpecificationVersion", Tag=0x0000001A, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="outputList", Tag=0x00000000, Type=typing.List[AudioOutput.Structs.OutputInfo]),
+ ClusterObjectFieldDescriptor(Label="currentOutput", Tag=0x00000001, Type=typing.Optional[uint]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -32818,213 +22929,102 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- basicIdentification: 'uint' = None
- companyName: 'typing.Optional[str]' = None
- companyId: 'typing.Optional[uint]' = None
- brandName: 'typing.Optional[str]' = None
- brandId: 'typing.Optional[uint]' = None
- model: 'typing.Optional[bytes]' = None
- partNumber: 'typing.Optional[bytes]' = None
- productRevision: 'typing.Optional[bytes]' = None
- softwareRevision: 'typing.Optional[bytes]' = None
- productTypeName: 'typing.Optional[bytes]' = None
- productTypeId: 'typing.Optional[uint]' = None
- cecedSpecificationVersion: 'typing.Optional[uint]' = None
+ outputList: 'typing.List[AudioOutput.Structs.OutputInfo]' = None
+ currentOutput: 'typing.Optional[uint]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class OutputTypeEnum(IntEnum):
+ kHdmi = 0x00
+ kBt = 0x01
+ kOptical = 0x02
+ kHeadphone = 0x03
+ kInternal = 0x04
+ kOther = 0x05
-
- class Attributes:
- @dataclass
- class BasicIdentification(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B00
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class CompanyName(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B00
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000010
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class CompanyId(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B00
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000011
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class BrandName(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B00
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000012
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
-
- value: 'typing.Optional[str]' = None
-
- @dataclass
- class BrandId(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B00
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000013
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
-
- value: 'typing.Optional[uint]' = None
-
- @dataclass
- class Model(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B00
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000014
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes])
-
- value: 'typing.Optional[bytes]' = None
-
- @dataclass
- class PartNumber(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B00
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000015
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes])
-
- value: 'typing.Optional[bytes]' = None
-
+ class Structs:
@dataclass
- class ProductRevision(ClusterAttributeDescriptor):
+ class OutputInfo(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B00
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="outputType", Tag=1, Type=AudioOutput.Enums.OutputTypeEnum),
+ ClusterObjectFieldDescriptor(Label="name", Tag=2, Type=str),
+ ])
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000016
+ index: 'uint' = 0
+ outputType: 'AudioOutput.Enums.OutputTypeEnum' = 0
+ name: 'str' = ""
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes])
- value: 'typing.Optional[bytes]' = None
+ class Commands:
@dataclass
- class SoftwareRevision(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B00
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000017
+ class SelectOutput(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050B
+ command_id: typing.ClassVar[int] = 0x0000
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes])
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint),
+ ])
- value: 'typing.Optional[bytes]' = None
+ index: 'uint' = 0
@dataclass
- class ProductTypeName(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B00
+ class RenameOutput(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050B
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000018
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="index", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="name", Tag=1, Type=str),
+ ])
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes])
+ index: 'uint' = 0
+ name: 'str' = ""
- value: 'typing.Optional[bytes]' = None
+ class Attributes:
@dataclass
- class ProductTypeId(ClusterAttributeDescriptor):
+ class OutputList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B00
+ return 0x050B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000019
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.List[AudioOutput.Structs.OutputInfo])
- value: 'typing.Optional[uint]' = None
+ value: 'typing.List[AudioOutput.Structs.OutputInfo]' = field(default_factory=lambda: [])
@dataclass
- class CecedSpecificationVersion(ClusterAttributeDescriptor):
+ class CurrentOutput(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B00
+ return 0x050B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000001A
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@@ -33036,7 +23036,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B00
+ return 0x050B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33052,7 +23052,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B00
+ return 0x050B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33068,7 +23068,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B00
+ return 0x050B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33084,7 +23084,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B00
+ return 0x050B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33100,7 +23100,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B00
+ return 0x050B
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33115,25 +23115,15 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class MeterIdentification(Cluster):
- id: typing.ClassVar[int] = 0x0B01
+class ApplicationLauncher(Cluster):
+ id: typing.ClassVar[int] = 0x050C
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="companyName", Tag=0x00000000, Type=str),
- ClusterObjectFieldDescriptor(Label="meterTypeId", Tag=0x00000001, Type=uint),
- ClusterObjectFieldDescriptor(Label="dataQualityId", Tag=0x00000004, Type=uint),
- ClusterObjectFieldDescriptor(Label="customerName", Tag=0x00000005, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="model", Tag=0x00000006, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="partNumber", Tag=0x00000007, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="productRevision", Tag=0x00000008, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="softwareRevision", Tag=0x0000000A, Type=typing.Optional[bytes]),
- ClusterObjectFieldDescriptor(Label="utilityName", Tag=0x0000000B, Type=typing.Optional[str]),
- ClusterObjectFieldDescriptor(Label="pod", Tag=0x0000000C, Type=str),
- ClusterObjectFieldDescriptor(Label="availablePower", Tag=0x0000000D, Type=int),
- ClusterObjectFieldDescriptor(Label="powerThreshold", Tag=0x0000000E, Type=int),
+ ClusterObjectFieldDescriptor(Label="catalogList", Tag=0x00000000, Type=typing.Optional[typing.List[uint]]),
+ ClusterObjectFieldDescriptor(Label="currentApp", Tag=0x00000001, Type=typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEP]),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -33141,405 +23131,427 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- companyName: 'str' = None
- meterTypeId: 'uint' = None
- dataQualityId: 'uint' = None
- customerName: 'typing.Optional[str]' = None
- model: 'typing.Optional[bytes]' = None
- partNumber: 'typing.Optional[bytes]' = None
- productRevision: 'typing.Optional[bytes]' = None
- softwareRevision: 'typing.Optional[bytes]' = None
- utilityName: 'typing.Optional[str]' = None
- pod: 'str' = None
- availablePower: 'int' = None
- powerThreshold: 'int' = None
+ catalogList: 'typing.Optional[typing.List[uint]]' = None
+ currentApp: 'typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEP]' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ class Enums:
+ class ApplicationLauncherStatusEnum(IntEnum):
+ kSuccess = 0x00
+ kAppNotAvailable = 0x01
+ kSystemBusy = 0x02
+
+ class Structs:
+ @dataclass
+ class Application(ClusterObject):
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="catalogVendorId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="applicationId", Tag=1, Type=str),
+ ])
+ catalogVendorId: 'uint' = 0
+ applicationId: 'str' = ""
- class Attributes:
@dataclass
- class CompanyName(ClusterAttributeDescriptor):
+ class ApplicationEP(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B01
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.Application),
+ ClusterObjectFieldDescriptor(Label="endpoint", Tag=1, Type=typing.Optional[uint]),
+ ])
+
+ application: 'ApplicationLauncher.Structs.Application' = field(default_factory=lambda: ApplicationLauncher.Structs.Application())
+ endpoint: 'typing.Optional[uint]' = 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 attribute_id(cls) -> int:
- return 0x00000000
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.Application),
+ ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=typing.Optional[bytes]),
+ ])
+
+ application: 'ApplicationLauncher.Structs.Application' = field(default_factory=lambda: ApplicationLauncher.Structs.Application())
+ data: 'typing.Optional[bytes]' = None
+
+ @dataclass
+ class StopApp(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050C
+ command_id: typing.ClassVar[int] = 0x0001
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.Application),
+ ])
+
+ application: 'ApplicationLauncher.Structs.Application' = field(default_factory=lambda: ApplicationLauncher.Structs.Application())
+
+ @dataclass
+ class HideApp(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050C
+ command_id: typing.ClassVar[int] = 0x0002
+ is_client: typing.ClassVar[bool] = True
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="application", Tag=0, Type=ApplicationLauncher.Structs.Application),
+ ])
+
+ application: 'ApplicationLauncher.Structs.Application' = field(default_factory=lambda: ApplicationLauncher.Structs.Application())
+
+ @dataclass
+ class LauncherResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050C
+ 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=ApplicationLauncher.Enums.ApplicationLauncherStatusEnum),
+ ClusterObjectFieldDescriptor(Label="data", Tag=1, Type=bytes),
+ ])
+
+ status: 'ApplicationLauncher.Enums.ApplicationLauncherStatusEnum' = 0
+ data: 'bytes' = b""
- value: 'str' = ""
+ class Attributes:
@dataclass
- class MeterTypeId(ClusterAttributeDescriptor):
+ class CatalogList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000001
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[typing.List[uint]])
- value: 'uint' = 0
+ value: 'typing.Optional[typing.List[uint]]' = None
@dataclass
- class DataQualityId(ClusterAttributeDescriptor):
+ class CurrentApp(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000004
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEP])
- value: 'uint' = 0
+ value: 'typing.Union[None, Nullable, ApplicationLauncher.Structs.ApplicationEP]' = None
@dataclass
- class CustomerName(ClusterAttributeDescriptor):
+ class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000005
+ return 0x0000FFF8
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[str]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class Model(ClusterAttributeDescriptor):
+ class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000006
+ return 0x0000FFF9
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[bytes]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class PartNumber(ClusterAttributeDescriptor):
+ class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000007
+ return 0x0000FFFB
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes])
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
- value: 'typing.Optional[bytes]' = None
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
@dataclass
- class ProductRevision(ClusterAttributeDescriptor):
+ class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x00000008
+ return 0x0000FFFC
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes])
+ return ClusterObjectFieldDescriptor(Type=uint)
- value: 'typing.Optional[bytes]' = None
+ value: 'uint' = 0
@dataclass
- class SoftwareRevision(ClusterAttributeDescriptor):
+ class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050C
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000A
+ return 0x0000FFFD
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[bytes])
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
+
+
+@dataclass
+class ApplicationBasic(Cluster):
+ id: typing.ClassVar[int] = 0x050D
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="vendorName", Tag=0x00000000, Type=typing.Optional[str]),
+ ClusterObjectFieldDescriptor(Label="vendorID", Tag=0x00000001, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="applicationName", Tag=0x00000002, Type=str),
+ ClusterObjectFieldDescriptor(Label="productID", Tag=0x00000003, Type=typing.Optional[uint]),
+ ClusterObjectFieldDescriptor(Label="application", Tag=0x00000004, Type=ApplicationBasic.Structs.ApplicationBasicApplication),
+ ClusterObjectFieldDescriptor(Label="status", Tag=0x00000005, Type=ApplicationBasic.Enums.ApplicationStatusEnum),
+ ClusterObjectFieldDescriptor(Label="applicationVersion", Tag=0x00000006, Type=str),
+ ClusterObjectFieldDescriptor(Label="allowedVendorList", Tag=0x00000007, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
+ ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ])
+
+ vendorName: 'typing.Optional[str]' = None
+ vendorID: 'typing.Optional[uint]' = None
+ applicationName: 'str' = None
+ productID: 'typing.Optional[uint]' = None
+ application: 'ApplicationBasic.Structs.ApplicationBasicApplication' = None
+ status: 'ApplicationBasic.Enums.ApplicationStatusEnum' = None
+ applicationVersion: 'str' = None
+ allowedVendorList: 'typing.List[uint]' = None
+ generatedCommandList: 'typing.List[uint]' = None
+ acceptedCommandList: 'typing.List[uint]' = None
+ attributeList: 'typing.List[uint]' = None
+ featureMap: 'uint' = None
+ clusterRevision: 'uint' = None
- value: 'typing.Optional[bytes]' = None
+ class Enums:
+ class ApplicationStatusEnum(IntEnum):
+ kStopped = 0x00
+ kActiveVisibleFocus = 0x01
+ kActiveHidden = 0x02
+ kActiveVisibleNotFocus = 0x03
+
+ class Structs:
@dataclass
- class UtilityName(ClusterAttributeDescriptor):
+ class ApplicationBasicApplication(ClusterObject):
@ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B01
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields = [
+ ClusterObjectFieldDescriptor(Label="catalogVendorId", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="applicationId", Tag=1, Type=str),
+ ])
+
+ catalogVendorId: 'uint' = 0
+ applicationId: 'str' = ""
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x0000000B
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'typing.Optional[str]' = None
+ class Attributes:
@dataclass
- class Pod(ClusterAttributeDescriptor):
+ class VendorName(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000C
+ return 0x00000000
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=str)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[str])
- value: 'str' = ""
+ value: 'typing.Optional[str]' = None
@dataclass
- class AvailablePower(ClusterAttributeDescriptor):
+ class VendorID(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000D
+ return 0x00000001
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=int)
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'int' = 0
+ value: 'typing.Optional[uint]' = None
@dataclass
- class PowerThreshold(ClusterAttributeDescriptor):
+ class ApplicationName(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000000E
+ return 0x00000002
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=int)
+ return ClusterObjectFieldDescriptor(Type=str)
- value: 'int' = 0
+ value: 'str' = ""
@dataclass
- class GeneratedCommandList(ClusterAttributeDescriptor):
+ class ProductID(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF8
+ return 0x00000003
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=typing.Optional[uint])
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'typing.Optional[uint]' = None
@dataclass
- class AcceptedCommandList(ClusterAttributeDescriptor):
+ class Application(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFF9
+ return 0x00000004
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=ApplicationBasic.Structs.ApplicationBasicApplication)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'ApplicationBasic.Structs.ApplicationBasicApplication' = field(default_factory=lambda: ApplicationBasic.Structs.ApplicationBasicApplication())
@dataclass
- class AttributeList(ClusterAttributeDescriptor):
+ class Status(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFB
+ return 0x00000005
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ return ClusterObjectFieldDescriptor(Type=ApplicationBasic.Enums.ApplicationStatusEnum)
- value: 'typing.List[uint]' = field(default_factory=lambda: [])
+ value: 'ApplicationBasic.Enums.ApplicationStatusEnum' = 0
@dataclass
- class FeatureMap(ClusterAttributeDescriptor):
+ class ApplicationVersion(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFC
+ return 0x00000006
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
+ return ClusterObjectFieldDescriptor(Type=str)
- value: 'uint' = 0
+ value: 'str' = ""
@dataclass
- class ClusterRevision(ClusterAttributeDescriptor):
+ class AllowedVendorList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B01
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
- return 0x0000FFFD
+ return 0x00000007
@ChipUtility.classproperty
def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
-
-
-@dataclass
-class ApplianceEventsAndAlert(Cluster):
- id: typing.ClassVar[int] = 0x0B02
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
- ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
- ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
- ])
-
- generatedCommandList: 'typing.List[uint]' = None
- acceptedCommandList: 'typing.List[uint]' = None
- attributeList: 'typing.List[uint]' = None
- featureMap: 'uint' = None
- clusterRevision: 'uint' = None
-
- class Enums:
- class EventIdentification(IntEnum):
- kEndOfCycle = 0x01
- kTemperatureReached = 0x04
- kEndOfCooking = 0x05
- kSwitchingOff = 0x06
- kWrongData = 0x07
-
-
-
- class Commands:
- @dataclass
- class GetAlerts(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0B02
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ])
-
-
- @dataclass
- class GetAlertsResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0B02
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="alertsCount", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="alertStructures", Tag=1, Type=typing.List[uint]),
- ])
-
- alertsCount: 'uint' = 0
- alertStructures: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class AlertsNotification(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0B02
- command_id: typing.ClassVar[int] = 0x0001
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="alertsCount", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="alertStructures", Tag=1, Type=typing.List[uint]),
- ])
-
- alertsCount: 'uint' = 0
- alertStructures: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class EventsNotification(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0B02
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = False
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="eventHeader", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="eventId", Tag=1, Type=ApplianceEventsAndAlert.Enums.EventIdentification),
- ])
-
- eventHeader: 'uint' = 0
- eventId: 'ApplianceEventsAndAlert.Enums.EventIdentification' = 0
+ return ClusterObjectFieldDescriptor(Type=typing.List[uint])
+ value: 'typing.List[uint]' = field(default_factory=lambda: [])
- class Attributes:
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B02
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33555,7 +23567,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B02
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33571,7 +23583,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B02
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33587,7 +23599,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B02
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33603,7 +23615,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B02
+ return 0x050D
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33618,15 +23630,13 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
@dataclass
-class ApplianceStatistics(Cluster):
- id: typing.ClassVar[int] = 0x0B03
+class AccountLogin(Cluster):
+ id: typing.ClassVar[int] = 0x050E
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="logMaxSize", Tag=0x00000000, Type=uint),
- ClusterObjectFieldDescriptor(Label="logQueueMaxSize", Tag=0x00000001, Type=uint),
ClusterObjectFieldDescriptor(Label="generatedCommandList", Tag=0x0000FFF8, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="acceptedCommandList", Tag=0x0000FFF9, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
@@ -33634,8 +23644,6 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
])
- logMaxSize: 'uint' = None
- logQueueMaxSize: 'uint' = None
generatedCommandList: 'typing.List[uint]' = None
acceptedCommandList: 'typing.List[uint]' = None
attributeList: 'typing.List[uint]' = None
@@ -33646,44 +23654,27 @@ def descriptor(cls) -> ClusterObjectDescriptor:
class Commands:
@dataclass
- class LogNotification(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0B03
+ class GetSetupPIN(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050E
command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = False
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="timeStamp", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="logId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="logLength", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="logPayload", Tag=3, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str),
])
- timeStamp: 'uint' = 0
- logId: 'uint' = 0
- logLength: 'uint' = 0
- logPayload: 'typing.List[uint]' = field(default_factory=lambda: [])
-
- @dataclass
- class LogRequest(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0B03
- command_id: typing.ClassVar[int] = 0x0000
- is_client: typing.ClassVar[bool] = True
-
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="logId", Tag=0, Type=uint),
- ])
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- logId: 'uint' = 0
+ tempAccountIdentifier: 'str' = ""
@dataclass
- class LogResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0B03
+ class GetSetupPINResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050E
command_id: typing.ClassVar[int] = 0x0001
is_client: typing.ClassVar[bool] = False
@@ -33691,103 +23682,56 @@ class LogResponse(ClusterCommand):
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="timeStamp", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="logId", Tag=1, Type=uint),
- ClusterObjectFieldDescriptor(Label="logLength", Tag=2, Type=uint),
- ClusterObjectFieldDescriptor(Label="logPayload", Tag=3, Type=typing.List[uint]),
+ ClusterObjectFieldDescriptor(Label="setupPIN", Tag=0, Type=str),
])
- timeStamp: 'uint' = 0
- logId: 'uint' = 0
- logLength: 'uint' = 0
- logPayload: 'typing.List[uint]' = field(default_factory=lambda: [])
+ setupPIN: 'str' = ""
@dataclass
- class LogQueueRequest(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0B03
- command_id: typing.ClassVar[int] = 0x0001
+ class Login(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050E
+ command_id: typing.ClassVar[int] = 0x0002
is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
+ ClusterObjectFieldDescriptor(Label="tempAccountIdentifier", Tag=0, Type=str),
+ ClusterObjectFieldDescriptor(Label="setupPIN", Tag=1, Type=str),
])
-
- @dataclass
- class LogQueueResponse(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0B03
- command_id: typing.ClassVar[int] = 0x0002
- is_client: typing.ClassVar[bool] = False
-
@ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields = [
- ClusterObjectFieldDescriptor(Label="logQueueSize", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="logIds", Tag=1, Type=typing.List[uint]),
- ])
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- logQueueSize: 'uint' = 0
- logIds: 'typing.List[uint]' = field(default_factory=lambda: [])
+ tempAccountIdentifier: 'str' = ""
+ setupPIN: 'str' = ""
@dataclass
- class StatisticsAvailable(ClusterCommand):
- cluster_id: typing.ClassVar[int] = 0x0B03
+ class Logout(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0x050E
command_id: typing.ClassVar[int] = 0x0003
- is_client: typing.ClassVar[bool] = False
+ is_client: typing.ClassVar[bool] = True
@ChipUtility.classproperty
def descriptor(cls) -> ClusterObjectDescriptor:
return ClusterObjectDescriptor(
Fields = [
- ClusterObjectFieldDescriptor(Label="logQueueSize", Tag=0, Type=uint),
- ClusterObjectFieldDescriptor(Label="logIds", Tag=1, Type=typing.List[uint]),
])
- logQueueSize: 'uint' = 0
- logIds: 'typing.List[uint]' = field(default_factory=lambda: [])
-
-
- class Attributes:
- @dataclass
- class LogMaxSize(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B03
-
- @ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
-
- value: 'uint' = 0
-
- @dataclass
- class LogQueueMaxSize(ClusterAttributeDescriptor):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x0B03
-
@ChipUtility.classproperty
- def attribute_id(cls) -> int:
- return 0x00000001
+ def must_use_timed_invoke(cls) -> bool:
+ return True
- @ChipUtility.classproperty
- def attribute_type(cls) -> ClusterObjectFieldDescriptor:
- return ClusterObjectFieldDescriptor(Type=uint)
- value: 'uint' = 0
+ class Attributes:
@dataclass
class GeneratedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B03
+ return 0x050E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33803,7 +23747,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AcceptedCommandList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B03
+ return 0x050E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33819,7 +23763,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class AttributeList(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B03
+ return 0x050E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33835,7 +23779,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class FeatureMap(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B03
+ return 0x050E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
@@ -33851,7 +23795,7 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
class ClusterRevision(ClusterAttributeDescriptor):
@ChipUtility.classproperty
def cluster_id(cls) -> int:
- return 0x0B03
+ return 0x050E
@ChipUtility.classproperty
def attribute_id(cls) -> int:
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
index 467e4eb284e3d0..1579237c1d53ba 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
@@ -22072,51 +22072,6 @@ typedef NS_OPTIONS(uint32_t, MTRLevelControlFeature) {
MTRLevelControlFeatureFrequency = 0x4,
};
-typedef NS_ENUM(uint8_t, MTRApplianceControlApplianceStatus) {
- MTRApplianceControlApplianceStatusOff = 0x01,
- MTRApplianceControlApplianceStatusStandBy = 0x02,
- MTRApplianceControlApplianceStatusProgrammed = 0x03,
- MTRApplianceControlApplianceStatusProgrammedWaitingToStart = 0x04,
- MTRApplianceControlApplianceStatusRunning = 0x05,
- MTRApplianceControlApplianceStatusPause = 0x06,
- MTRApplianceControlApplianceStatusEndProgrammed = 0x07,
- MTRApplianceControlApplianceStatusFailure = 0x08,
- MTRApplianceControlApplianceStatusProgrammeInterrupted = 0x09,
- MTRApplianceControlApplianceStatusIdle = 0x0A,
- MTRApplianceControlApplianceStatusRinseHold = 0x0B,
- MTRApplianceControlApplianceStatusService = 0x0C,
- MTRApplianceControlApplianceStatusSuperfreezing = 0x0D,
- MTRApplianceControlApplianceStatusSupercooling = 0x0E,
- MTRApplianceControlApplianceStatusSuperheating = 0x0F,
-};
-
-typedef NS_ENUM(uint8_t, MTRApplianceControlCommandIdentification) {
- MTRApplianceControlCommandIdentificationStart = 0x01,
- MTRApplianceControlCommandIdentificationStop = 0x02,
- MTRApplianceControlCommandIdentificationPause = 0x03,
- MTRApplianceControlCommandIdentificationStartSuperfreezing = 0x04,
- MTRApplianceControlCommandIdentificationStopSuperfreezing = 0x05,
- MTRApplianceControlCommandIdentificationStartSupercooling = 0x06,
- MTRApplianceControlCommandIdentificationStopSupercooling = 0x07,
- MTRApplianceControlCommandIdentificationDisableGas = 0x08,
- MTRApplianceControlCommandIdentificationEnableGas = 0x09,
- MTRApplianceControlCommandIdentificationEnableEnergyControl = 0x0A,
- MTRApplianceControlCommandIdentificationDisableEnergyControl = 0x0B,
-};
-
-typedef NS_ENUM(uint8_t, MTRApplianceControlWarningEvent) {
- MTRApplianceControlWarningEventWarning1OverallPowerAboveAvailablePowerLevel = 0x00,
- MTRApplianceControlWarningEventWarning2OverallPowerAbovePowerThresholdLevel = 0x01,
- MTRApplianceControlWarningEventWarning3OverallPowerBackBelowTheAvailablePowerLevel = 0x02,
- MTRApplianceControlWarningEventWarning4OverallPowerBackBelowThePowerThresholdLevel = 0x03,
- MTRApplianceControlWarningEventWarning5OverallPowerWillBePotentiallyAboveAvailablePowerLevelIfTheApplianceStarts = 0x04,
-};
-
-typedef NS_OPTIONS(uint8_t, MTRApplianceControlRemoteEnableFlagsAndDeviceStatus2) {
- MTRApplianceControlRemoteEnableFlagsAndDeviceStatus2RemoteEnableFlags = 0xF,
- MTRApplianceControlRemoteEnableFlagsAndDeviceStatus2DeviceStatus2Structure = 0xF0,
-};
-
typedef NS_ENUM(uint8_t, MTRAccessControlAuthMode) {
MTRAccessControlAuthModePASE = 0x01,
MTRAccessControlAuthModeCASE = 0x02,
@@ -23395,25 +23350,6 @@ typedef NS_ENUM(uint8_t, MTRApplicationBasicApplicationStatus) {
MTRApplicationBasicApplicationStatusActiveVisibleNotFocus = 0x03,
};
-typedef NS_ENUM(uint8_t, MTRApplianceEventsAndAlertEventIdentification) {
- MTRApplianceEventsAndAlertEventIdentificationEndOfCycle = 0x01,
- MTRApplianceEventsAndAlertEventIdentificationTemperatureReached = 0x04,
- MTRApplianceEventsAndAlertEventIdentificationEndOfCooking = 0x05,
- MTRApplianceEventsAndAlertEventIdentificationSwitchingOff = 0x06,
- MTRApplianceEventsAndAlertEventIdentificationWrongData = 0x07,
-};
-
-typedef NS_OPTIONS(uint8_t, MTRApplianceEventsAndAlertAlertCount) {
- MTRApplianceEventsAndAlertAlertCountNumberOfAlerts = 0xF,
- MTRApplianceEventsAndAlertAlertCountTypeOfAlert = 0xF0,
-};
-
-typedef NS_OPTIONS(uint32_t, MTRApplianceEventsAndAlertAlertStructure) {
- MTRApplianceEventsAndAlertAlertStructureAlertId = 0xFF,
- MTRApplianceEventsAndAlertAlertStructureCategory = 0xF00,
- MTRApplianceEventsAndAlertAlertStructurePresenceRecovery = 0x3000,
-};
-
typedef NS_ENUM(uint8_t, MTRTestClusterSimple) {
MTRTestClusterSimpleUnspecified = 0x00,
MTRTestClusterSimpleValueA = 0x01,
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm
index 1e7229a75fad35..f2e3515f92f5cd 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge.mm
@@ -13837,164 +13837,6 @@
}
}
-void MTRApplianceControlClusterApplianceStatusAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::app::Clusters::ApplianceControl::ApplianceStatus value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedChar:chip::to_underlying(value)];
- DispatchSuccess(context, objCValue);
-};
-
-void MTRApplianceControlClusterApplianceStatusAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void MTRNullableApplianceControlClusterApplianceStatusAttributeCallbackBridge::OnSuccessFn(
- void * context, const chip::app::DataModel::Nullable & value)
-{
- NSNumber * _Nullable objCValue;
- if (value.IsNull()) {
- objCValue = nil;
- } else {
- objCValue = [NSNumber numberWithUnsignedChar:chip::to_underlying(value.Value())];
- }
- DispatchSuccess(context, objCValue);
-};
-
-void MTRNullableApplianceControlClusterApplianceStatusAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void MTRApplianceControlClusterCommandIdentificationAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::app::Clusters::ApplianceControl::CommandIdentification value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedChar:chip::to_underlying(value)];
- DispatchSuccess(context, objCValue);
-};
-
-void MTRApplianceControlClusterCommandIdentificationAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void MTRNullableApplianceControlClusterCommandIdentificationAttributeCallbackBridge::OnSuccessFn(
- void * context, const chip::app::DataModel::Nullable & value)
-{
- NSNumber * _Nullable objCValue;
- if (value.IsNull()) {
- objCValue = nil;
- } else {
- objCValue = [NSNumber numberWithUnsignedChar:chip::to_underlying(value.Value())];
- }
- DispatchSuccess(context, objCValue);
-};
-
-void MTRNullableApplianceControlClusterCommandIdentificationAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(
- void * context)
-{
- auto * self
- = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void MTRApplianceControlClusterWarningEventAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::app::Clusters::ApplianceControl::WarningEvent value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedChar:chip::to_underlying(value)];
- DispatchSuccess(context, objCValue);
-};
-
-void MTRApplianceControlClusterWarningEventAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void MTRNullableApplianceControlClusterWarningEventAttributeCallbackBridge::OnSuccessFn(
- void * context, const chip::app::DataModel::Nullable & value)
-{
- NSNumber * _Nullable objCValue;
- if (value.IsNull()) {
- objCValue = nil;
- } else {
- objCValue = [NSNumber numberWithUnsignedChar:chip::to_underlying(value.Value())];
- }
- DispatchSuccess(context, objCValue);
-};
-
-void MTRNullableApplianceControlClusterWarningEventAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
void MTRAccessControlClusterAuthModeAttributeCallbackBridge::OnSuccessFn(
void * context, chip::app::Clusters::AccessControl::AuthMode value)
{
@@ -19342,61 +19184,6 @@
}
}
-void MTRApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackBridge::OnSuccessFn(
- void * context, chip::app::Clusters::ApplianceEventsAndAlert::EventIdentification value)
-{
- NSNumber * _Nonnull objCValue;
- objCValue = [NSNumber numberWithUnsignedChar:chip::to_underlying(value)];
- DispatchSuccess(context, objCValue);
-};
-
-void MTRApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(
- void * context)
-{
- auto * self = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
-void MTRNullableApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackBridge::OnSuccessFn(
- void * context, const chip::app::DataModel::Nullable & value)
-{
- NSNumber * _Nullable objCValue;
- if (value.IsNull()) {
- objCValue = nil;
- } else {
- objCValue = [NSNumber numberWithUnsignedChar:chip::to_underlying(value.Value())];
- }
- DispatchSuccess(context, objCValue);
-};
-
-void MTRNullableApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished(
- void * context)
-{
- auto * self
- = static_cast(context);
- if (!self->mQueue) {
- return;
- }
-
- if (self->mEstablishedHandler != nil) {
- dispatch_async(self->mQueue, self->mEstablishedHandler);
- // On failure, mEstablishedHandler will be cleaned up by our destructor,
- // but we can clean it up earlier on successful subscription
- // establishment.
- self->mEstablishedHandler = nil;
- }
-}
-
void MTRTestClusterClusterSimpleEnumAttributeCallbackBridge::OnSuccessFn(
void * context, chip::app::Clusters::TestCluster::SimpleEnum value)
{
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge_internal.h b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge_internal.h
index 3e2b87500de6cb..c1eab243554fbd 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge_internal.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRCallbackBridge_internal.h
@@ -170,17 +170,6 @@ typedef void (*NullableLevelControlClusterMoveModeAttributeCallback)(
typedef void (*LevelControlClusterStepModeAttributeCallback)(void *, chip::app::Clusters::LevelControl::StepMode);
typedef void (*NullableLevelControlClusterStepModeAttributeCallback)(
void *, const chip::app::DataModel::Nullable &);
-typedef void (*ApplianceControlClusterApplianceStatusAttributeCallback)(void *,
- chip::app::Clusters::ApplianceControl::ApplianceStatus);
-typedef void (*NullableApplianceControlClusterApplianceStatusAttributeCallback)(
- void *, const chip::app::DataModel::Nullable &);
-typedef void (*ApplianceControlClusterCommandIdentificationAttributeCallback)(
- void *, chip::app::Clusters::ApplianceControl::CommandIdentification);
-typedef void (*NullableApplianceControlClusterCommandIdentificationAttributeCallback)(
- void *, const chip::app::DataModel::Nullable &);
-typedef void (*ApplianceControlClusterWarningEventAttributeCallback)(void *, chip::app::Clusters::ApplianceControl::WarningEvent);
-typedef void (*NullableApplianceControlClusterWarningEventAttributeCallback)(
- void *, const chip::app::DataModel::Nullable &);
typedef void (*AccessControlClusterAuthModeAttributeCallback)(void *, chip::app::Clusters::AccessControl::AuthMode);
typedef void (*NullableAccessControlClusterAuthModeAttributeCallback)(
void *, const chip::app::DataModel::Nullable &);
@@ -533,10 +522,6 @@ typedef void (*ApplicationBasicClusterApplicationStatusEnumAttributeCallback)(
void *, chip::app::Clusters::ApplicationBasic::ApplicationStatusEnum);
typedef void (*NullableApplicationBasicClusterApplicationStatusEnumAttributeCallback)(
void *, const chip::app::DataModel::Nullable &);
-typedef void (*ApplianceEventsAndAlertClusterEventIdentificationAttributeCallback)(
- void *, chip::app::Clusters::ApplianceEventsAndAlert::EventIdentification);
-typedef void (*NullableApplianceEventsAndAlertClusterEventIdentificationAttributeCallback)(
- void *, const chip::app::DataModel::Nullable &);
typedef void (*TestClusterClusterSimpleEnumAttributeCallback)(void *, chip::app::Clusters::TestCluster::SimpleEnum);
typedef void (*NullableTestClusterClusterSimpleEnumAttributeCallback)(
void *, const chip::app::DataModel::Nullable &);
@@ -10564,178 +10549,6 @@ class MTRNullableLevelControlClusterStepModeAttributeCallbackSubscriptionBridge
SubscriptionEstablishedHandler mEstablishedHandler;
};
-class MTRApplianceControlClusterApplianceStatusAttributeCallbackBridge
- : public MTRCallbackBridge
-{
-public:
- MTRApplianceControlClusterApplianceStatusAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- MTRActionBlock action, bool keepAlive = false) :
- MTRCallbackBridge(queue, handler, action, OnSuccessFn,
- keepAlive){};
-
- static void OnSuccessFn(void * context, chip::app::Clusters::ApplianceControl::ApplianceStatus value);
-};
-
-class MTRApplianceControlClusterApplianceStatusAttributeCallbackSubscriptionBridge
- : public MTRApplianceControlClusterApplianceStatusAttributeCallbackBridge
-{
-public:
- MTRApplianceControlClusterApplianceStatusAttributeCallbackSubscriptionBridge(
- dispatch_queue_t queue, ResponseHandler handler, MTRActionBlock action, SubscriptionEstablishedHandler establishedHandler) :
- MTRApplianceControlClusterApplianceStatusAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class MTRNullableApplianceControlClusterApplianceStatusAttributeCallbackBridge
- : public MTRCallbackBridge
-{
-public:
- MTRNullableApplianceControlClusterApplianceStatusAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- MTRActionBlock action, bool keepAlive = false) :
- MTRCallbackBridge(queue, handler, action, OnSuccessFn,
- keepAlive){};
-
- static void OnSuccessFn(void * context,
- const chip::app::DataModel::Nullable & value);
-};
-
-class MTRNullableApplianceControlClusterApplianceStatusAttributeCallbackSubscriptionBridge
- : public MTRNullableApplianceControlClusterApplianceStatusAttributeCallbackBridge
-{
-public:
- MTRNullableApplianceControlClusterApplianceStatusAttributeCallbackSubscriptionBridge(
- dispatch_queue_t queue, ResponseHandler handler, MTRActionBlock action, SubscriptionEstablishedHandler establishedHandler) :
- MTRNullableApplianceControlClusterApplianceStatusAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class MTRApplianceControlClusterCommandIdentificationAttributeCallbackBridge
- : public MTRCallbackBridge
-{
-public:
- MTRApplianceControlClusterCommandIdentificationAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- MTRActionBlock action, bool keepAlive = false) :
- MTRCallbackBridge(queue, handler, action, OnSuccessFn,
- keepAlive){};
-
- static void OnSuccessFn(void * context, chip::app::Clusters::ApplianceControl::CommandIdentification value);
-};
-
-class MTRApplianceControlClusterCommandIdentificationAttributeCallbackSubscriptionBridge
- : public MTRApplianceControlClusterCommandIdentificationAttributeCallbackBridge
-{
-public:
- MTRApplianceControlClusterCommandIdentificationAttributeCallbackSubscriptionBridge(
- dispatch_queue_t queue, ResponseHandler handler, MTRActionBlock action, SubscriptionEstablishedHandler establishedHandler) :
- MTRApplianceControlClusterCommandIdentificationAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class MTRNullableApplianceControlClusterCommandIdentificationAttributeCallbackBridge
- : public MTRCallbackBridge
-{
-public:
- MTRNullableApplianceControlClusterCommandIdentificationAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- MTRActionBlock action, bool keepAlive = false) :
- MTRCallbackBridge(queue, handler, action,
- OnSuccessFn, keepAlive){};
-
- static void
- OnSuccessFn(void * context,
- const chip::app::DataModel::Nullable & value);
-};
-
-class MTRNullableApplianceControlClusterCommandIdentificationAttributeCallbackSubscriptionBridge
- : public MTRNullableApplianceControlClusterCommandIdentificationAttributeCallbackBridge
-{
-public:
- MTRNullableApplianceControlClusterCommandIdentificationAttributeCallbackSubscriptionBridge(
- dispatch_queue_t queue, ResponseHandler handler, MTRActionBlock action, SubscriptionEstablishedHandler establishedHandler) :
- MTRNullableApplianceControlClusterCommandIdentificationAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class MTRApplianceControlClusterWarningEventAttributeCallbackBridge
- : public MTRCallbackBridge
-{
-public:
- MTRApplianceControlClusterWarningEventAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- MTRActionBlock action, bool keepAlive = false) :
- MTRCallbackBridge(queue, handler, action, OnSuccessFn, keepAlive){};
-
- static void OnSuccessFn(void * context, chip::app::Clusters::ApplianceControl::WarningEvent value);
-};
-
-class MTRApplianceControlClusterWarningEventAttributeCallbackSubscriptionBridge
- : public MTRApplianceControlClusterWarningEventAttributeCallbackBridge
-{
-public:
- MTRApplianceControlClusterWarningEventAttributeCallbackSubscriptionBridge(dispatch_queue_t queue, ResponseHandler handler,
- MTRActionBlock action,
- SubscriptionEstablishedHandler establishedHandler) :
- MTRApplianceControlClusterWarningEventAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class MTRNullableApplianceControlClusterWarningEventAttributeCallbackBridge
- : public MTRCallbackBridge
-{
-public:
- MTRNullableApplianceControlClusterWarningEventAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- MTRActionBlock action, bool keepAlive = false) :
- MTRCallbackBridge(queue, handler, action, OnSuccessFn,
- keepAlive){};
-
- static void OnSuccessFn(void * context,
- const chip::app::DataModel::Nullable & value);
-};
-
-class MTRNullableApplianceControlClusterWarningEventAttributeCallbackSubscriptionBridge
- : public MTRNullableApplianceControlClusterWarningEventAttributeCallbackBridge
-{
-public:
- MTRNullableApplianceControlClusterWarningEventAttributeCallbackSubscriptionBridge(
- dispatch_queue_t queue, ResponseHandler handler, MTRActionBlock action, SubscriptionEstablishedHandler establishedHandler) :
- MTRNullableApplianceControlClusterWarningEventAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
class MTRAccessControlClusterAuthModeAttributeCallbackBridge
: public MTRCallbackBridge
{
@@ -16552,66 +16365,6 @@ class MTRNullableApplicationBasicClusterApplicationStatusEnumAttributeCallbackSu
SubscriptionEstablishedHandler mEstablishedHandler;
};
-class MTRApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackBridge
- : public MTRCallbackBridge
-{
-public:
- MTRApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackBridge(dispatch_queue_t queue, ResponseHandler handler,
- MTRActionBlock action, bool keepAlive = false) :
- MTRCallbackBridge(queue, handler, action, OnSuccessFn,
- keepAlive){};
-
- static void OnSuccessFn(void * context, chip::app::Clusters::ApplianceEventsAndAlert::EventIdentification value);
-};
-
-class MTRApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackSubscriptionBridge
- : public MTRApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackBridge
-{
-public:
- MTRApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackSubscriptionBridge(
- dispatch_queue_t queue, ResponseHandler handler, MTRActionBlock action, SubscriptionEstablishedHandler establishedHandler) :
- MTRApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
-class MTRNullableApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackBridge
- : public MTRCallbackBridge
-{
-public:
- MTRNullableApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackBridge(dispatch_queue_t queue,
- ResponseHandler handler,
- MTRActionBlock action,
- bool keepAlive = false) :
- MTRCallbackBridge(queue, handler, action,
- OnSuccessFn, keepAlive){};
-
- static void
- OnSuccessFn(void * context,
- const chip::app::DataModel::Nullable & value);
-};
-
-class MTRNullableApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackSubscriptionBridge
- : public MTRNullableApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackBridge
-{
-public:
- MTRNullableApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackSubscriptionBridge(
- dispatch_queue_t queue, ResponseHandler handler, MTRActionBlock action, SubscriptionEstablishedHandler establishedHandler) :
- MTRNullableApplianceEventsAndAlertClusterEventIdentificationAttributeCallbackBridge(queue, handler, action, true),
- mEstablishedHandler(establishedHandler)
- {}
-
- static void OnSubscriptionEstablished(void * context);
-
-private:
- SubscriptionEstablishedHandler mEstablishedHandler;
-};
-
class MTRTestClusterClusterSimpleEnumAttributeCallbackBridge
: public MTRCallbackBridge
{
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h b/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h
index 880545c1cc509e..b42608dd19ed7c 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRClusterConstants.h
@@ -23,24 +23,17 @@
#pragma mark - Clusters IDs
typedef NS_ENUM(uint32_t, MTRClusterIDType) {
- MTRClusterPowerConfigurationID = 0x00000001,
- MTRClusterDeviceTemperatureConfigurationID = 0x00000002,
MTRClusterIdentifyID = 0x00000003,
MTRClusterGroupsID = 0x00000004,
MTRClusterScenesID = 0x00000005,
MTRClusterOnOffID = 0x00000006,
MTRClusterOnOffSwitchConfigurationID = 0x00000007,
MTRClusterLevelControlID = 0x00000008,
- MTRClusterAlarmsID = 0x00000009,
- MTRClusterTimeID = 0x0000000A,
MTRClusterBinaryInputBasicID = 0x0000000F,
- MTRClusterPowerProfileID = 0x0000001A,
- MTRClusterApplianceControlID = 0x0000001B,
MTRClusterPulseWidthModulationID = 0x0000001C,
MTRClusterDescriptorID = 0x0000001D,
MTRClusterBindingID = 0x0000001E,
MTRClusterAccessControlID = 0x0000001F,
- MTRClusterPollControlID = 0x00000020,
MTRClusterBridgedActionsID = 0x00000025,
MTRClusterBasicID = 0x00000028,
MTRClusterOtaSoftwareUpdateProviderID = 0x00000029,
@@ -71,14 +64,12 @@ typedef NS_ENUM(uint32_t, MTRClusterIDType) {
MTRClusterProxyValidID = 0x00000044,
MTRClusterBooleanStateID = 0x00000045,
MTRClusterModeSelectID = 0x00000050,
- MTRClusterShadeConfigurationID = 0x00000100,
MTRClusterDoorLockID = 0x00000101,
MTRClusterWindowCoveringID = 0x00000102,
MTRClusterBarrierControlID = 0x00000103,
MTRClusterPumpConfigurationAndControlID = 0x00000200,
MTRClusterThermostatID = 0x00000201,
MTRClusterFanControlID = 0x00000202,
- MTRClusterDehumidificationControlID = 0x00000203,
MTRClusterThermostatUserInterfaceConfigurationID = 0x00000204,
MTRClusterColorControlID = 0x00000300,
MTRClusterBallastConfigurationID = 0x00000301,
@@ -88,36 +79,6 @@ typedef NS_ENUM(uint32_t, MTRClusterIDType) {
MTRClusterFlowMeasurementID = 0x00000404,
MTRClusterRelativeHumidityMeasurementID = 0x00000405,
MTRClusterOccupancySensingID = 0x00000406,
- MTRClusterCarbonMonoxideConcentrationMeasurementID = 0x0000040C,
- MTRClusterCarbonDioxideConcentrationMeasurementID = 0x0000040D,
- MTRClusterEthyleneConcentrationMeasurementID = 0x0000040E,
- MTRClusterEthyleneOxideConcentrationMeasurementID = 0x0000040F,
- MTRClusterHydrogenConcentrationMeasurementID = 0x00000410,
- MTRClusterHydrogenSulphideConcentrationMeasurementID = 0x00000411,
- MTRClusterNitricOxideConcentrationMeasurementID = 0x00000412,
- MTRClusterNitrogenDioxideConcentrationMeasurementID = 0x00000413,
- MTRClusterOxygenConcentrationMeasurementID = 0x00000414,
- MTRClusterOzoneConcentrationMeasurementID = 0x00000415,
- MTRClusterSulfurDioxideConcentrationMeasurementID = 0x00000416,
- MTRClusterDissolvedOxygenConcentrationMeasurementID = 0x00000417,
- MTRClusterBromateConcentrationMeasurementID = 0x00000418,
- MTRClusterChloraminesConcentrationMeasurementID = 0x00000419,
- MTRClusterChlorineConcentrationMeasurementID = 0x0000041A,
- MTRClusterFecalColiformAndEColiConcentrationMeasurementID = 0x0000041B,
- MTRClusterFluorideConcentrationMeasurementID = 0x0000041C,
- MTRClusterHaloaceticAcidsConcentrationMeasurementID = 0x0000041D,
- MTRClusterTotalTrihalomethanesConcentrationMeasurementID = 0x0000041E,
- MTRClusterTotalColiformBacteriaConcentrationMeasurementID = 0x0000041F,
- MTRClusterTurbidityConcentrationMeasurementID = 0x00000420,
- MTRClusterCopperConcentrationMeasurementID = 0x00000421,
- MTRClusterLeadConcentrationMeasurementID = 0x00000422,
- MTRClusterManganeseConcentrationMeasurementID = 0x00000423,
- MTRClusterSulfateConcentrationMeasurementID = 0x00000424,
- MTRClusterBromodichloromethaneConcentrationMeasurementID = 0x00000425,
- MTRClusterBromoformConcentrationMeasurementID = 0x00000426,
- MTRClusterChlorodibromomethaneConcentrationMeasurementID = 0x00000427,
- MTRClusterChloroformConcentrationMeasurementID = 0x00000428,
- MTRClusterSodiumConcentrationMeasurementID = 0x00000429,
MTRClusterWakeOnLanID = 0x00000503,
MTRClusterChannelID = 0x00000504,
MTRClusterTargetNavigatorID = 0x00000505,
@@ -130,10 +91,6 @@ typedef NS_ENUM(uint32_t, MTRClusterIDType) {
MTRClusterApplicationLauncherID = 0x0000050C,
MTRClusterApplicationBasicID = 0x0000050D,
MTRClusterAccountLoginID = 0x0000050E,
- MTRClusterApplianceIdentificationID = 0x00000B00,
- MTRClusterMeterIdentificationID = 0x00000B01,
- MTRClusterApplianceEventsAndAlertID = 0x00000B02,
- MTRClusterApplianceStatisticsID = 0x00000B03,
MTRClusterElectricalMeasurementID = 0x00000B04,
MTRClusterTestClusterID = 0xFFF1FC05,
};
@@ -148,86 +105,6 @@ typedef NS_ENUM(uint32_t, MTRClusterAttributeIDType) {
MTRClusterGlobalAttributeFeatureMapID = 0x0000FFFC,
MTRClusterGlobalAttributeClusterRevisionID = 0x0000FFFD,
- // Cluster PowerConfiguration attributes
- MTRClusterPowerConfigurationAttributeMainsVoltageID = 0x00000000,
- MTRClusterPowerConfigurationAttributeMainsFrequencyID = 0x00000001,
- MTRClusterPowerConfigurationAttributeMainsAlarmMaskID = 0x00000010,
- MTRClusterPowerConfigurationAttributeMainsVoltageMinThresholdID = 0x00000011,
- MTRClusterPowerConfigurationAttributeMainsVoltageMaxThresholdID = 0x00000012,
- MTRClusterPowerConfigurationAttributeMainsVoltageDwellTripID = 0x00000013,
- MTRClusterPowerConfigurationAttributeBatteryVoltageID = 0x00000020,
- MTRClusterPowerConfigurationAttributeBatteryPercentageRemainingID = 0x00000021,
- MTRClusterPowerConfigurationAttributeBatteryManufacturerID = 0x00000030,
- MTRClusterPowerConfigurationAttributeBatterySizeID = 0x00000031,
- MTRClusterPowerConfigurationAttributeBatteryAhrRatingID = 0x00000032,
- MTRClusterPowerConfigurationAttributeBatteryQuantityID = 0x00000033,
- MTRClusterPowerConfigurationAttributeBatteryRatedVoltageID = 0x00000034,
- MTRClusterPowerConfigurationAttributeBatteryAlarmMaskID = 0x00000035,
- MTRClusterPowerConfigurationAttributeBatteryVoltageMinThresholdID = 0x00000036,
- MTRClusterPowerConfigurationAttributeBatteryVoltageThreshold1ID = 0x00000037,
- MTRClusterPowerConfigurationAttributeBatteryVoltageThreshold2ID = 0x00000038,
- MTRClusterPowerConfigurationAttributeBatteryVoltageThreshold3ID = 0x00000039,
- MTRClusterPowerConfigurationAttributeBatteryPercentageMinThresholdID = 0x0000003A,
- MTRClusterPowerConfigurationAttributeBatteryPercentageThreshold1ID = 0x0000003B,
- MTRClusterPowerConfigurationAttributeBatteryPercentageThreshold2ID = 0x0000003C,
- MTRClusterPowerConfigurationAttributeBatteryPercentageThreshold3ID = 0x0000003D,
- MTRClusterPowerConfigurationAttributeBatteryAlarmStateID = 0x0000003E,
- MTRClusterPowerConfigurationAttributeBattery2VoltageID = 0x00000040,
- MTRClusterPowerConfigurationAttributeBattery2PercentageRemainingID = 0x00000041,
- MTRClusterPowerConfigurationAttributeBattery2ManufacturerID = 0x00000050,
- MTRClusterPowerConfigurationAttributeBattery2SizeID = 0x00000051,
- MTRClusterPowerConfigurationAttributeBattery2AhrRatingID = 0x00000052,
- MTRClusterPowerConfigurationAttributeBattery2QuantityID = 0x00000053,
- MTRClusterPowerConfigurationAttributeBattery2RatedVoltageID = 0x00000054,
- MTRClusterPowerConfigurationAttributeBattery2AlarmMaskID = 0x00000055,
- MTRClusterPowerConfigurationAttributeBattery2VoltageMinThresholdID = 0x00000056,
- MTRClusterPowerConfigurationAttributeBattery2VoltageThreshold1ID = 0x00000057,
- MTRClusterPowerConfigurationAttributeBattery2VoltageThreshold2ID = 0x00000058,
- MTRClusterPowerConfigurationAttributeBattery2VoltageThreshold3ID = 0x00000059,
- MTRClusterPowerConfigurationAttributeBattery2PercentageMinThresholdID = 0x0000005A,
- MTRClusterPowerConfigurationAttributeBattery2PercentageThreshold1ID = 0x0000005B,
- MTRClusterPowerConfigurationAttributeBattery2PercentageThreshold2ID = 0x0000005C,
- MTRClusterPowerConfigurationAttributeBattery2PercentageThreshold3ID = 0x0000005D,
- MTRClusterPowerConfigurationAttributeBattery2AlarmStateID = 0x0000005E,
- MTRClusterPowerConfigurationAttributeBattery3VoltageID = 0x00000060,
- MTRClusterPowerConfigurationAttributeBattery3PercentageRemainingID = 0x00000061,
- MTRClusterPowerConfigurationAttributeBattery3ManufacturerID = 0x00000070,
- MTRClusterPowerConfigurationAttributeBattery3SizeID = 0x00000071,
- MTRClusterPowerConfigurationAttributeBattery3AhrRatingID = 0x00000072,
- MTRClusterPowerConfigurationAttributeBattery3QuantityID = 0x00000073,
- MTRClusterPowerConfigurationAttributeBattery3RatedVoltageID = 0x00000074,
- MTRClusterPowerConfigurationAttributeBattery3AlarmMaskID = 0x00000075,
- MTRClusterPowerConfigurationAttributeBattery3VoltageMinThresholdID = 0x00000076,
- MTRClusterPowerConfigurationAttributeBattery3VoltageThreshold1ID = 0x00000077,
- MTRClusterPowerConfigurationAttributeBattery3VoltageThreshold2ID = 0x00000078,
- MTRClusterPowerConfigurationAttributeBattery3VoltageThreshold3ID = 0x00000079,
- MTRClusterPowerConfigurationAttributeBattery3PercentageMinThresholdID = 0x0000007A,
- MTRClusterPowerConfigurationAttributeBattery3PercentageThreshold1ID = 0x0000007B,
- MTRClusterPowerConfigurationAttributeBattery3PercentageThreshold2ID = 0x0000007C,
- MTRClusterPowerConfigurationAttributeBattery3PercentageThreshold3ID = 0x0000007D,
- MTRClusterPowerConfigurationAttributeBattery3AlarmStateID = 0x0000007E,
- MTRClusterPowerConfigurationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterPowerConfigurationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterPowerConfigurationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterPowerConfigurationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterPowerConfigurationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster DeviceTemperatureConfiguration attributes
- MTRClusterDeviceTemperatureConfigurationAttributeCurrentTemperatureID = 0x00000000,
- MTRClusterDeviceTemperatureConfigurationAttributeMinTempExperiencedID = 0x00000001,
- MTRClusterDeviceTemperatureConfigurationAttributeMaxTempExperiencedID = 0x00000002,
- MTRClusterDeviceTemperatureConfigurationAttributeOverTempTotalDwellID = 0x00000003,
- MTRClusterDeviceTemperatureConfigurationAttributeDeviceTempAlarmMaskID = 0x00000010,
- MTRClusterDeviceTemperatureConfigurationAttributeLowTempThresholdID = 0x00000011,
- MTRClusterDeviceTemperatureConfigurationAttributeHighTempThresholdID = 0x00000012,
- MTRClusterDeviceTemperatureConfigurationAttributeLowTempDwellTripPointID = 0x00000013,
- MTRClusterDeviceTemperatureConfigurationAttributeHighTempDwellTripPointID = 0x00000014,
- MTRClusterDeviceTemperatureConfigurationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterDeviceTemperatureConfigurationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterDeviceTemperatureConfigurationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterDeviceTemperatureConfigurationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterDeviceTemperatureConfigurationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
// Cluster Identify attributes
MTRClusterIdentifyAttributeIdentifyTimeID = 0x00000000,
MTRClusterIdentifyAttributeIdentifyTypeID = 0x00000001,
@@ -300,31 +177,6 @@ typedef NS_ENUM(uint32_t, MTRClusterAttributeIDType) {
MTRClusterLevelControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
MTRClusterLevelControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
- // Cluster Alarms attributes
- MTRClusterAlarmsAttributeAlarmCountID = 0x00000000,
- MTRClusterAlarmsAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterAlarmsAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterAlarmsAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterAlarmsAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterAlarmsAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster Time attributes
- MTRClusterTimeAttributeTimeID = 0x00000000,
- MTRClusterTimeAttributeTimeStatusID = 0x00000001,
- MTRClusterTimeAttributeTimeZoneID = 0x00000002,
- MTRClusterTimeAttributeDstStartID = 0x00000003,
- MTRClusterTimeAttributeDstEndID = 0x00000004,
- MTRClusterTimeAttributeDstShiftID = 0x00000005,
- MTRClusterTimeAttributeStandardTimeID = 0x00000006,
- MTRClusterTimeAttributeLocalTimeID = 0x00000007,
- MTRClusterTimeAttributeLastSetTimeID = 0x00000008,
- MTRClusterTimeAttributeValidUntilTimeID = 0x00000009,
- MTRClusterTimeAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterTimeAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterTimeAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterTimeAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterTimeAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
// Cluster BinaryInputBasic attributes
MTRClusterBinaryInputBasicAttributeActiveTextID = 0x00000004,
MTRClusterBinaryInputBasicAttributeDescriptionID = 0x0000001C,
@@ -341,28 +193,6 @@ typedef NS_ENUM(uint32_t, MTRClusterAttributeIDType) {
MTRClusterBinaryInputBasicAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
MTRClusterBinaryInputBasicAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
- // Cluster PowerProfile attributes
- MTRClusterPowerProfileAttributeTotalProfileNumID = 0x00000000,
- MTRClusterPowerProfileAttributeMultipleSchedulingID = 0x00000001,
- MTRClusterPowerProfileAttributeEnergyFormattingID = 0x00000002,
- MTRClusterPowerProfileAttributeEnergyRemoteID = 0x00000003,
- MTRClusterPowerProfileAttributeScheduleModeID = 0x00000004,
- MTRClusterPowerProfileAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterPowerProfileAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterPowerProfileAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterPowerProfileAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterPowerProfileAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster ApplianceControl attributes
- MTRClusterApplianceControlAttributeStartTimeID = 0x00000000,
- MTRClusterApplianceControlAttributeFinishTimeID = 0x00000001,
- MTRClusterApplianceControlAttributeRemainingTimeID = 0x00000002,
- MTRClusterApplianceControlAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterApplianceControlAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterApplianceControlAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterApplianceControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterApplianceControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
// Cluster PulseWidthModulation attributes
MTRClusterPulseWidthModulationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
MTRClusterPulseWidthModulationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
@@ -401,20 +231,6 @@ typedef NS_ENUM(uint32_t, MTRClusterAttributeIDType) {
MTRClusterAccessControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
MTRClusterAccessControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
- // Cluster PollControl attributes
- MTRClusterPollControlAttributeCheckInIntervalID = 0x00000000,
- MTRClusterPollControlAttributeLongPollIntervalID = 0x00000001,
- MTRClusterPollControlAttributeShortPollIntervalID = 0x00000002,
- MTRClusterPollControlAttributeFastPollTimeoutID = 0x00000003,
- MTRClusterPollControlAttributeCheckInIntervalMinID = 0x00000004,
- MTRClusterPollControlAttributeLongPollIntervalMinID = 0x00000005,
- MTRClusterPollControlAttributeFastPollTimeoutMaxID = 0x00000006,
- MTRClusterPollControlAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterPollControlAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterPollControlAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterPollControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterPollControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
// Cluster BridgedActions attributes
MTRClusterBridgedActionsAttributeActionListID = 0x00000000,
MTRClusterBridgedActionsAttributeEndpointListID = 0x00000001,
@@ -841,18 +657,6 @@ typedef NS_ENUM(uint32_t, MTRClusterAttributeIDType) {
MTRClusterModeSelectAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
MTRClusterModeSelectAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
- // Cluster ShadeConfiguration attributes
- MTRClusterShadeConfigurationAttributePhysicalClosedLimitID = 0x00000000,
- MTRClusterShadeConfigurationAttributeMotorStepSizeID = 0x00000001,
- MTRClusterShadeConfigurationAttributeStatusID = 0x00000002,
- MTRClusterShadeConfigurationAttributeClosedLimitID = 0x00000010,
- MTRClusterShadeConfigurationAttributeModeID = 0x00000011,
- MTRClusterShadeConfigurationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterShadeConfigurationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterShadeConfigurationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterShadeConfigurationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterShadeConfigurationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
// Cluster DoorLock attributes
MTRClusterDoorLockAttributeLockStateID = 0x00000000,
MTRClusterDoorLockAttributeLockTypeID = 0x00000001,
@@ -1046,21 +850,6 @@ typedef NS_ENUM(uint32_t, MTRClusterAttributeIDType) {
MTRClusterFanControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
MTRClusterFanControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
- // Cluster DehumidificationControl attributes
- MTRClusterDehumidificationControlAttributeRelativeHumidityID = 0x00000000,
- MTRClusterDehumidificationControlAttributeDehumidificationCoolingID = 0x00000001,
- MTRClusterDehumidificationControlAttributeRhDehumidificationSetpointID = 0x00000010,
- MTRClusterDehumidificationControlAttributeRelativeHumidityModeID = 0x00000011,
- MTRClusterDehumidificationControlAttributeDehumidificationLockoutID = 0x00000012,
- MTRClusterDehumidificationControlAttributeDehumidificationHysteresisID = 0x00000013,
- MTRClusterDehumidificationControlAttributeDehumidificationMaxCoolID = 0x00000014,
- MTRClusterDehumidificationControlAttributeRelativeHumidityDisplayID = 0x00000015,
- MTRClusterDehumidificationControlAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterDehumidificationControlAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterDehumidificationControlAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterDehumidificationControlAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterDehumidificationControlAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
// Cluster ThermostatUserInterfaceConfiguration attributes
MTRClusterThermostatUserInterfaceConfigurationAttributeTemperatureDisplayModeID = 0x00000000,
MTRClusterThermostatUserInterfaceConfigurationAttributeKeypadLockoutID = 0x00000001,
@@ -1231,358 +1020,6 @@ typedef NS_ENUM(uint32_t, MTRClusterAttributeIDType) {
MTRClusterOccupancySensingAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
MTRClusterOccupancySensingAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
- // Cluster CarbonMonoxideConcentrationMeasurement attributes
- MTRClusterCarbonMonoxideConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterCarbonMonoxideConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterCarbonMonoxideConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterCarbonMonoxideConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterCarbonMonoxideConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterCarbonMonoxideConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterCarbonMonoxideConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterCarbonMonoxideConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterCarbonMonoxideConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster CarbonDioxideConcentrationMeasurement attributes
- MTRClusterCarbonDioxideConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterCarbonDioxideConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterCarbonDioxideConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterCarbonDioxideConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterCarbonDioxideConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterCarbonDioxideConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterCarbonDioxideConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterCarbonDioxideConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterCarbonDioxideConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster EthyleneConcentrationMeasurement attributes
- MTRClusterEthyleneConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterEthyleneConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterEthyleneConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterEthyleneConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterEthyleneConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterEthyleneConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterEthyleneConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterEthyleneConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterEthyleneConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster EthyleneOxideConcentrationMeasurement attributes
- MTRClusterEthyleneOxideConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterEthyleneOxideConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterEthyleneOxideConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterEthyleneOxideConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterEthyleneOxideConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterEthyleneOxideConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterEthyleneOxideConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterEthyleneOxideConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterEthyleneOxideConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster HydrogenConcentrationMeasurement attributes
- MTRClusterHydrogenConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterHydrogenConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterHydrogenConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterHydrogenConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterHydrogenConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterHydrogenConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterHydrogenConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterHydrogenConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterHydrogenConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster HydrogenSulphideConcentrationMeasurement attributes
- MTRClusterHydrogenSulphideConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterHydrogenSulphideConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterHydrogenSulphideConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterHydrogenSulphideConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterHydrogenSulphideConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterHydrogenSulphideConcentrationMeasurementAttributeAcceptedCommandListID
- = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterHydrogenSulphideConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterHydrogenSulphideConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterHydrogenSulphideConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster NitricOxideConcentrationMeasurement attributes
- MTRClusterNitricOxideConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterNitricOxideConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterNitricOxideConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterNitricOxideConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterNitricOxideConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterNitricOxideConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterNitricOxideConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterNitricOxideConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterNitricOxideConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster NitrogenDioxideConcentrationMeasurement attributes
- MTRClusterNitrogenDioxideConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterNitrogenDioxideConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterNitrogenDioxideConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterNitrogenDioxideConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterNitrogenDioxideConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterNitrogenDioxideConcentrationMeasurementAttributeAcceptedCommandListID
- = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterNitrogenDioxideConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterNitrogenDioxideConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterNitrogenDioxideConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster OxygenConcentrationMeasurement attributes
- MTRClusterOxygenConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterOxygenConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterOxygenConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterOxygenConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterOxygenConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterOxygenConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterOxygenConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterOxygenConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterOxygenConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster OzoneConcentrationMeasurement attributes
- MTRClusterOzoneConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterOzoneConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterOzoneConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterOzoneConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterOzoneConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterOzoneConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterOzoneConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterOzoneConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterOzoneConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster SulfurDioxideConcentrationMeasurement attributes
- MTRClusterSulfurDioxideConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterSulfurDioxideConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterSulfurDioxideConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterSulfurDioxideConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterSulfurDioxideConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterSulfurDioxideConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterSulfurDioxideConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterSulfurDioxideConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterSulfurDioxideConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster DissolvedOxygenConcentrationMeasurement attributes
- MTRClusterDissolvedOxygenConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterDissolvedOxygenConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterDissolvedOxygenConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterDissolvedOxygenConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterDissolvedOxygenConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterDissolvedOxygenConcentrationMeasurementAttributeAcceptedCommandListID
- = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterDissolvedOxygenConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterDissolvedOxygenConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterDissolvedOxygenConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster BromateConcentrationMeasurement attributes
- MTRClusterBromateConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterBromateConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterBromateConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterBromateConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterBromateConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterBromateConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterBromateConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterBromateConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterBromateConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster ChloraminesConcentrationMeasurement attributes
- MTRClusterChloraminesConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterChloraminesConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterChloraminesConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterChloraminesConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterChloraminesConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterChloraminesConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterChloraminesConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterChloraminesConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterChloraminesConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster ChlorineConcentrationMeasurement attributes
- MTRClusterChlorineConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterChlorineConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterChlorineConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterChlorineConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterChlorineConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterChlorineConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterChlorineConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterChlorineConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterChlorineConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster FecalColiformAndEColiConcentrationMeasurement attributes
- MTRClusterFecalColiformAndEColiConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterFecalColiformAndEColiConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterFecalColiformAndEColiConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterFecalColiformAndEColiConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterFecalColiformAndEColiConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterFecalColiformAndEColiConcentrationMeasurementAttributeAcceptedCommandListID
- = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterFecalColiformAndEColiConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterFecalColiformAndEColiConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterFecalColiformAndEColiConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster FluorideConcentrationMeasurement attributes
- MTRClusterFluorideConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterFluorideConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterFluorideConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterFluorideConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterFluorideConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterFluorideConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterFluorideConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterFluorideConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterFluorideConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster HaloaceticAcidsConcentrationMeasurement attributes
- MTRClusterHaloaceticAcidsConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterHaloaceticAcidsConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterHaloaceticAcidsConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterHaloaceticAcidsConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterHaloaceticAcidsConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterHaloaceticAcidsConcentrationMeasurementAttributeAcceptedCommandListID
- = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterHaloaceticAcidsConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterHaloaceticAcidsConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterHaloaceticAcidsConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster TotalTrihalomethanesConcentrationMeasurement attributes
- MTRClusterTotalTrihalomethanesConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterTotalTrihalomethanesConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterTotalTrihalomethanesConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterTotalTrihalomethanesConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterTotalTrihalomethanesConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterTotalTrihalomethanesConcentrationMeasurementAttributeAcceptedCommandListID
- = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterTotalTrihalomethanesConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterTotalTrihalomethanesConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterTotalTrihalomethanesConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster TotalColiformBacteriaConcentrationMeasurement attributes
- MTRClusterTotalColiformBacteriaConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterTotalColiformBacteriaConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterTotalColiformBacteriaConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterTotalColiformBacteriaConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterTotalColiformBacteriaConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterTotalColiformBacteriaConcentrationMeasurementAttributeAcceptedCommandListID
- = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterTotalColiformBacteriaConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterTotalColiformBacteriaConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterTotalColiformBacteriaConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster TurbidityConcentrationMeasurement attributes
- MTRClusterTurbidityConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterTurbidityConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterTurbidityConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterTurbidityConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterTurbidityConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterTurbidityConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterTurbidityConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterTurbidityConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterTurbidityConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster CopperConcentrationMeasurement attributes
- MTRClusterCopperConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterCopperConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterCopperConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterCopperConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterCopperConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterCopperConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterCopperConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterCopperConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterCopperConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster LeadConcentrationMeasurement attributes
- MTRClusterLeadConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterLeadConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterLeadConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterLeadConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterLeadConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterLeadConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterLeadConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterLeadConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterLeadConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster ManganeseConcentrationMeasurement attributes
- MTRClusterManganeseConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterManganeseConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterManganeseConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterManganeseConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterManganeseConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterManganeseConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterManganeseConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterManganeseConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterManganeseConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster SulfateConcentrationMeasurement attributes
- MTRClusterSulfateConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterSulfateConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterSulfateConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterSulfateConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterSulfateConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterSulfateConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterSulfateConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterSulfateConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterSulfateConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster BromodichloromethaneConcentrationMeasurement attributes
- MTRClusterBromodichloromethaneConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterBromodichloromethaneConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterBromodichloromethaneConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterBromodichloromethaneConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterBromodichloromethaneConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterBromodichloromethaneConcentrationMeasurementAttributeAcceptedCommandListID
- = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterBromodichloromethaneConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterBromodichloromethaneConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterBromodichloromethaneConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster BromoformConcentrationMeasurement attributes
- MTRClusterBromoformConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterBromoformConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterBromoformConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterBromoformConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterBromoformConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterBromoformConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterBromoformConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterBromoformConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterBromoformConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster ChlorodibromomethaneConcentrationMeasurement attributes
- MTRClusterChlorodibromomethaneConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterChlorodibromomethaneConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterChlorodibromomethaneConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterChlorodibromomethaneConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterChlorodibromomethaneConcentrationMeasurementAttributeGeneratedCommandListID
- = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterChlorodibromomethaneConcentrationMeasurementAttributeAcceptedCommandListID
- = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterChlorodibromomethaneConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterChlorodibromomethaneConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterChlorodibromomethaneConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster ChloroformConcentrationMeasurement attributes
- MTRClusterChloroformConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterChloroformConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterChloroformConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterChloroformConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterChloroformConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterChloroformConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterChloroformConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterChloroformConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterChloroformConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster SodiumConcentrationMeasurement attributes
- MTRClusterSodiumConcentrationMeasurementAttributeMeasuredValueID = 0x00000000,
- MTRClusterSodiumConcentrationMeasurementAttributeMinMeasuredValueID = 0x00000001,
- MTRClusterSodiumConcentrationMeasurementAttributeMaxMeasuredValueID = 0x00000002,
- MTRClusterSodiumConcentrationMeasurementAttributeToleranceID = 0x00000003,
- MTRClusterSodiumConcentrationMeasurementAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterSodiumConcentrationMeasurementAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterSodiumConcentrationMeasurementAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterSodiumConcentrationMeasurementAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterSodiumConcentrationMeasurementAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
// Cluster WakeOnLan attributes
MTRClusterWakeOnLanAttributeMACAddressID = 0x00000000,
MTRClusterWakeOnLanAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
@@ -1696,60 +1133,6 @@ typedef NS_ENUM(uint32_t, MTRClusterAttributeIDType) {
MTRClusterAccountLoginAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
MTRClusterAccountLoginAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
- // Cluster ApplianceIdentification attributes
- MTRClusterApplianceIdentificationAttributeBasicIdentificationID = 0x00000000,
- MTRClusterApplianceIdentificationAttributeCompanyNameID = 0x00000010,
- MTRClusterApplianceIdentificationAttributeCompanyIdID = 0x00000011,
- MTRClusterApplianceIdentificationAttributeBrandNameID = 0x00000012,
- MTRClusterApplianceIdentificationAttributeBrandIdID = 0x00000013,
- MTRClusterApplianceIdentificationAttributeModelID = 0x00000014,
- MTRClusterApplianceIdentificationAttributePartNumberID = 0x00000015,
- MTRClusterApplianceIdentificationAttributeProductRevisionID = 0x00000016,
- MTRClusterApplianceIdentificationAttributeSoftwareRevisionID = 0x00000017,
- MTRClusterApplianceIdentificationAttributeProductTypeNameID = 0x00000018,
- MTRClusterApplianceIdentificationAttributeProductTypeIdID = 0x00000019,
- MTRClusterApplianceIdentificationAttributeCecedSpecificationVersionID = 0x0000001A,
- MTRClusterApplianceIdentificationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterApplianceIdentificationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterApplianceIdentificationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterApplianceIdentificationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterApplianceIdentificationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster MeterIdentification attributes
- MTRClusterMeterIdentificationAttributeCompanyNameID = 0x00000000,
- MTRClusterMeterIdentificationAttributeMeterTypeIdID = 0x00000001,
- MTRClusterMeterIdentificationAttributeDataQualityIdID = 0x00000004,
- MTRClusterMeterIdentificationAttributeCustomerNameID = 0x00000005,
- MTRClusterMeterIdentificationAttributeModelID = 0x00000006,
- MTRClusterMeterIdentificationAttributePartNumberID = 0x00000007,
- MTRClusterMeterIdentificationAttributeProductRevisionID = 0x00000008,
- MTRClusterMeterIdentificationAttributeSoftwareRevisionID = 0x0000000A,
- MTRClusterMeterIdentificationAttributeUtilityNameID = 0x0000000B,
- MTRClusterMeterIdentificationAttributePodID = 0x0000000C,
- MTRClusterMeterIdentificationAttributeAvailablePowerID = 0x0000000D,
- MTRClusterMeterIdentificationAttributePowerThresholdID = 0x0000000E,
- MTRClusterMeterIdentificationAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterMeterIdentificationAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterMeterIdentificationAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterMeterIdentificationAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterMeterIdentificationAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster ApplianceEventsAndAlert attributes
- MTRClusterApplianceEventsAndAlertAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterApplianceEventsAndAlertAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterApplianceEventsAndAlertAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterApplianceEventsAndAlertAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterApplianceEventsAndAlertAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
- // Cluster ApplianceStatistics attributes
- MTRClusterApplianceStatisticsAttributeLogMaxSizeID = 0x00000000,
- MTRClusterApplianceStatisticsAttributeLogQueueMaxSizeID = 0x00000001,
- MTRClusterApplianceStatisticsAttributeGeneratedCommandListID = MTRClusterGlobalAttributeGeneratedCommandListID,
- MTRClusterApplianceStatisticsAttributeAcceptedCommandListID = MTRClusterGlobalAttributeAcceptedCommandListID,
- MTRClusterApplianceStatisticsAttributeAttributeListID = MTRClusterGlobalAttributeAttributeListID,
- MTRClusterApplianceStatisticsAttributeFeatureMapID = MTRClusterGlobalAttributeFeatureMapID,
- MTRClusterApplianceStatisticsAttributeClusterRevisionID = MTRClusterGlobalAttributeClusterRevisionID,
-
// Cluster ElectricalMeasurement attributes
MTRClusterElectricalMeasurementAttributeMeasurementTypeID = 0x00000000,
MTRClusterElectricalMeasurementAttributeDcVoltageID = 0x00000100,
@@ -2034,54 +1417,6 @@ typedef NS_ENUM(uint32_t, MTRClusterCommandIDType) {
MTRClusterLevelControlCommandStopWithOnOffID = 0x00000007,
MTRClusterLevelControlCommandMoveToClosestFrequencyID = 0x00000008,
- // Cluster Alarms commands
- MTRClusterAlarmsCommandResetAlarmID = 0x00000000,
- MTRClusterAlarmsCommandAlarmID = 0x00000000,
- MTRClusterAlarmsCommandResetAllAlarmsID = 0x00000001,
- MTRClusterAlarmsCommandGetAlarmResponseID = 0x00000001,
- MTRClusterAlarmsCommandGetAlarmID = 0x00000002,
- MTRClusterAlarmsCommandResetAlarmLogID = 0x00000003,
-
- // Cluster PowerProfile commands
- MTRClusterPowerProfileCommandPowerProfileRequestID = 0x00000000,
- MTRClusterPowerProfileCommandPowerProfileNotificationID = 0x00000000,
- MTRClusterPowerProfileCommandPowerProfileStateRequestID = 0x00000001,
- MTRClusterPowerProfileCommandPowerProfileResponseID = 0x00000001,
- MTRClusterPowerProfileCommandGetPowerProfilePriceResponseID = 0x00000002,
- MTRClusterPowerProfileCommandPowerProfileStateResponseID = 0x00000002,
- MTRClusterPowerProfileCommandGetOverallSchedulePriceResponseID = 0x00000003,
- MTRClusterPowerProfileCommandGetPowerProfilePriceID = 0x00000003,
- MTRClusterPowerProfileCommandEnergyPhasesScheduleNotificationID = 0x00000004,
- MTRClusterPowerProfileCommandPowerProfilesStateNotificationID = 0x00000004,
- MTRClusterPowerProfileCommandEnergyPhasesScheduleResponseID = 0x00000005,
- MTRClusterPowerProfileCommandGetOverallSchedulePriceID = 0x00000005,
- MTRClusterPowerProfileCommandPowerProfileScheduleConstraintsRequestID = 0x00000006,
- MTRClusterPowerProfileCommandEnergyPhasesScheduleRequestID = 0x00000006,
- MTRClusterPowerProfileCommandEnergyPhasesScheduleStateRequestID = 0x00000007,
- MTRClusterPowerProfileCommandEnergyPhasesScheduleStateResponseID = 0x00000007,
- MTRClusterPowerProfileCommandGetPowerProfilePriceExtendedResponseID = 0x00000008,
- MTRClusterPowerProfileCommandEnergyPhasesScheduleStateNotificationID = 0x00000008,
- MTRClusterPowerProfileCommandPowerProfileScheduleConstraintsNotificationID = 0x00000009,
- MTRClusterPowerProfileCommandPowerProfileScheduleConstraintsResponseID = 0x0000000A,
- MTRClusterPowerProfileCommandGetPowerProfilePriceExtendedID = 0x0000000B,
-
- // Cluster ApplianceControl commands
- MTRClusterApplianceControlCommandExecutionOfACommandID = 0x00000000,
- MTRClusterApplianceControlCommandSignalStateResponseID = 0x00000000,
- MTRClusterApplianceControlCommandSignalStateID = 0x00000001,
- MTRClusterApplianceControlCommandSignalStateNotificationID = 0x00000001,
- MTRClusterApplianceControlCommandWriteFunctionsID = 0x00000002,
- MTRClusterApplianceControlCommandOverloadPauseResumeID = 0x00000003,
- MTRClusterApplianceControlCommandOverloadPauseID = 0x00000004,
- MTRClusterApplianceControlCommandOverloadWarningID = 0x00000005,
-
- // Cluster PollControl commands
- MTRClusterPollControlCommandCheckInID = 0x00000000,
- MTRClusterPollControlCommandCheckInResponseID = 0x00000000,
- MTRClusterPollControlCommandFastPollStopID = 0x00000001,
- MTRClusterPollControlCommandSetLongPollIntervalID = 0x00000002,
- MTRClusterPollControlCommandSetShortPollIntervalID = 0x00000003,
-
// Cluster BridgedActions commands
MTRClusterBridgedActionsCommandInstantActionID = 0x00000000,
MTRClusterBridgedActionsCommandInstantActionWithTransitionID = 0x00000001,
@@ -2302,20 +1637,6 @@ typedef NS_ENUM(uint32_t, MTRClusterCommandIDType) {
MTRClusterAccountLoginCommandLoginID = 0x00000002,
MTRClusterAccountLoginCommandLogoutID = 0x00000003,
- // Cluster ApplianceEventsAndAlert commands
- MTRClusterApplianceEventsAndAlertCommandGetAlertsID = 0x00000000,
- MTRClusterApplianceEventsAndAlertCommandGetAlertsResponseID = 0x00000000,
- MTRClusterApplianceEventsAndAlertCommandAlertsNotificationID = 0x00000001,
- MTRClusterApplianceEventsAndAlertCommandEventsNotificationID = 0x00000002,
-
- // Cluster ApplianceStatistics commands
- MTRClusterApplianceStatisticsCommandLogNotificationID = 0x00000000,
- MTRClusterApplianceStatisticsCommandLogRequestID = 0x00000000,
- MTRClusterApplianceStatisticsCommandLogResponseID = 0x00000001,
- MTRClusterApplianceStatisticsCommandLogQueueRequestID = 0x00000001,
- MTRClusterApplianceStatisticsCommandLogQueueResponseID = 0x00000002,
- MTRClusterApplianceStatisticsCommandStatisticsAvailableID = 0x00000003,
-
// Cluster ElectricalMeasurement commands
MTRClusterElectricalMeasurementCommandGetProfileInfoResponseCommandID = 0x00000000,
MTRClusterElectricalMeasurementCommandGetProfileInfoCommandID = 0x00000000,
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h
index 7458c40cd83b99..a006465905e527 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.h
@@ -1157,950 +1157,6 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)init;
-@end
-@interface MTRAlarmsClusterResetAlarmParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull alarmCode;
-
-@property (strong, nonatomic) NSNumber * _Nonnull clusterId;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRAlarmsClusterAlarmParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull alarmCode;
-
-@property (strong, nonatomic) NSNumber * _Nonnull clusterId;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRAlarmsClusterResetAllAlarmsParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRAlarmsClusterGetAlarmResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull status;
-
-@property (strong, nonatomic) NSNumber * _Nonnull alarmCode;
-
-@property (strong, nonatomic) NSNumber * _Nonnull clusterId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull timeStamp;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRAlarmsClusterGetAlarmParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRAlarmsClusterResetAlarmLogParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterPowerProfileRequestParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterPowerProfileNotificationParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull totalProfileNum;
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull numOfTransferredPhases;
-
-@property (strong, nonatomic) NSArray * _Nonnull transferredPhases;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterPowerProfileStateRequestParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterPowerProfileResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull totalProfileNum;
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull numOfTransferredPhases;
-
-@property (strong, nonatomic) NSArray * _Nonnull transferredPhases;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterGetPowerProfilePriceResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull currency;
-
-@property (strong, nonatomic) NSNumber * _Nonnull price;
-
-@property (strong, nonatomic) NSNumber * _Nonnull priceTrailingDigit;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterPowerProfileStateResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileCount;
-
-@property (strong, nonatomic) NSArray * _Nonnull powerProfileRecords;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterGetOverallSchedulePriceResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull currency;
-
-@property (strong, nonatomic) NSNumber * _Nonnull price;
-
-@property (strong, nonatomic) NSNumber * _Nonnull priceTrailingDigit;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterGetPowerProfilePriceParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterEnergyPhasesScheduleNotificationParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull numOfScheduledPhases;
-
-@property (strong, nonatomic) NSArray * _Nonnull scheduledPhases;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterPowerProfilesStateNotificationParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileCount;
-
-@property (strong, nonatomic) NSArray * _Nonnull powerProfileRecords;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterEnergyPhasesScheduleResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull numOfScheduledPhases;
-
-@property (strong, nonatomic) NSArray * _Nonnull scheduledPhases;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterGetOverallSchedulePriceParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterPowerProfileScheduleConstraintsRequestParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterEnergyPhasesScheduleRequestParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterEnergyPhasesScheduleStateRequestParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterEnergyPhasesScheduleStateResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull numOfScheduledPhases;
-
-@property (strong, nonatomic) NSArray * _Nonnull scheduledPhases;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterGetPowerProfilePriceExtendedResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull currency;
-
-@property (strong, nonatomic) NSNumber * _Nonnull price;
-
-@property (strong, nonatomic) NSNumber * _Nonnull priceTrailingDigit;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterEnergyPhasesScheduleStateNotificationParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull numOfScheduledPhases;
-
-@property (strong, nonatomic) NSArray * _Nonnull scheduledPhases;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterPowerProfileScheduleConstraintsNotificationParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull startAfter;
-
-@property (strong, nonatomic) NSNumber * _Nonnull stopBefore;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterPowerProfileScheduleConstraintsResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull startAfter;
-
-@property (strong, nonatomic) NSNumber * _Nonnull stopBefore;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPowerProfileClusterGetPowerProfilePriceExtendedParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull options;
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileStartTime;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceControlClusterExecutionOfACommandParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull commandId;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceControlClusterSignalStateResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull applianceStatus;
-
-@property (strong, nonatomic) NSNumber * _Nonnull remoteEnableFlagsAndDeviceStatus2;
-
-@property (strong, nonatomic) NSNumber * _Nonnull applianceStatus2;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceControlClusterSignalStateParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceControlClusterSignalStateNotificationParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull applianceStatus;
-
-@property (strong, nonatomic) NSNumber * _Nonnull remoteEnableFlagsAndDeviceStatus2;
-
-@property (strong, nonatomic) NSNumber * _Nonnull applianceStatus2;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceControlClusterWriteFunctionsParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull functionId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull functionDataType;
-
-@property (strong, nonatomic) NSArray * _Nonnull functionData;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceControlClusterOverloadPauseResumeParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceControlClusterOverloadPauseParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceControlClusterOverloadWarningParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull warningEvent;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPollControlClusterCheckInParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPollControlClusterCheckInResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull startFastPolling;
-
-@property (strong, nonatomic) NSNumber * _Nonnull fastPollTimeout;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPollControlClusterFastPollStopParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPollControlClusterSetLongPollIntervalParams : NSObject
-
-@property (strong, nonatomic, getter=getNewLongPollInterval) NSNumber * _Nonnull newLongPollInterval;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRPollControlClusterSetShortPollIntervalParams : NSObject
-
-@property (strong, nonatomic, getter=getNewShortPollInterval) NSNumber * _Nonnull newShortPollInterval;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
@end
@interface MTRBridgedActionsClusterInstantActionParams : NSObject
@@ -5993,244 +5049,6 @@ NS_ASSUME_NONNULL_BEGIN
- (instancetype)init;
-@end
-@interface MTRApplianceEventsAndAlertClusterGetAlertsParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceEventsAndAlertClusterGetAlertsResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull alertsCount;
-
-@property (strong, nonatomic) NSArray * _Nonnull alertStructures;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceEventsAndAlertClusterAlertsNotificationParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull alertsCount;
-
-@property (strong, nonatomic) NSArray * _Nonnull alertStructures;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceEventsAndAlertClusterEventsNotificationParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull eventHeader;
-
-@property (strong, nonatomic) NSNumber * _Nonnull eventId;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceStatisticsClusterLogNotificationParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull timeStamp;
-
-@property (strong, nonatomic) NSNumber * _Nonnull logId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull logLength;
-
-@property (strong, nonatomic) NSArray * _Nonnull logPayload;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceStatisticsClusterLogRequestParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull logId;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceStatisticsClusterLogResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull timeStamp;
-
-@property (strong, nonatomic) NSNumber * _Nonnull logId;
-
-@property (strong, nonatomic) NSNumber * _Nonnull logLength;
-
-@property (strong, nonatomic) NSArray * _Nonnull logPayload;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceStatisticsClusterLogQueueRequestParams : NSObject
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceStatisticsClusterLogQueueResponseParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull logQueueSize;
-
-@property (strong, nonatomic) NSArray * _Nonnull logIds;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
-@end
-@interface MTRApplianceStatisticsClusterStatisticsAvailableParams : NSObject
-
-@property (strong, nonatomic) NSNumber * _Nonnull logQueueSize;
-
-@property (strong, nonatomic) NSArray * _Nonnull logIds;
-/**
- * Controls whether the command is a timed command (using Timed Invoke).
- *
- * If nil (the default value), a regular invoke is done for commands that do
- * not require a timed invoke and a timed invoke with some default timed request
- * timeout is done for commands that require a timed invoke.
- *
- * If not nil, a timed invoke is done, with the provided value used as the timed
- * request timeout. The value should be chosen small enough to provide the
- * desired security properties but large enough that it will allow a round-trip
- * from the sever to the client (for the status response and actual invoke
- * request) within the timeout window.
- *
- */
-@property (strong, nonatomic, nullable) NSNumber * timedInvokeTimeoutMs;
-
-- (instancetype)init;
-
@end
@interface MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams : NSObject
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm
index 5a83c466d976f6..cdd9a5d7cb8325 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRCommandPayloadsObjc.mm
@@ -1013,829 +1013,6 @@ - (NSString *)description
return descriptionString;
}
-@end
-@implementation MTRAlarmsClusterResetAlarmParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _alarmCode = @(0);
-
- _clusterId = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: alarmCode:%@; clusterId:%@; >", NSStringFromClass([self class]), _alarmCode, _clusterId];
- return descriptionString;
-}
-
-@end
-@implementation MTRAlarmsClusterAlarmParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _alarmCode = @(0);
-
- _clusterId = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: alarmCode:%@; clusterId:%@; >", NSStringFromClass([self class]), _alarmCode, _clusterId];
- return descriptionString;
-}
-
-@end
-@implementation MTRAlarmsClusterResetAllAlarmsParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRAlarmsClusterGetAlarmResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _status = @(0);
-
- _alarmCode = @(0);
-
- _clusterId = @(0);
-
- _timeStamp = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: status:%@; alarmCode:%@; clusterId:%@; timeStamp:%@; >",
- NSStringFromClass([self class]), _status, _alarmCode, _clusterId, _timeStamp];
- return descriptionString;
-}
-
-@end
-@implementation MTRAlarmsClusterGetAlarmParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRAlarmsClusterResetAlarmLogParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterPowerProfileRequestParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: powerProfileId:%@; >", NSStringFromClass([self class]), _powerProfileId];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterPowerProfileNotificationParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _totalProfileNum = @(0);
-
- _powerProfileId = @(0);
-
- _numOfTransferredPhases = @(0);
-
- _transferredPhases = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString
- stringWithFormat:@"<%@: totalProfileNum:%@; powerProfileId:%@; numOfTransferredPhases:%@; transferredPhases:%@; >",
- NSStringFromClass([self class]), _totalProfileNum, _powerProfileId, _numOfTransferredPhases, _transferredPhases];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterPowerProfileStateRequestParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterPowerProfileResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _totalProfileNum = @(0);
-
- _powerProfileId = @(0);
-
- _numOfTransferredPhases = @(0);
-
- _transferredPhases = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString
- stringWithFormat:@"<%@: totalProfileNum:%@; powerProfileId:%@; numOfTransferredPhases:%@; transferredPhases:%@; >",
- NSStringFromClass([self class]), _totalProfileNum, _powerProfileId, _numOfTransferredPhases, _transferredPhases];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterGetPowerProfilePriceResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
-
- _currency = @(0);
-
- _price = @(0);
-
- _priceTrailingDigit = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: powerProfileId:%@; currency:%@; price:%@; priceTrailingDigit:%@; >",
- NSStringFromClass([self class]), _powerProfileId, _currency, _price, _priceTrailingDigit];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterPowerProfileStateResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileCount = @(0);
-
- _powerProfileRecords = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: powerProfileCount:%@; powerProfileRecords:%@; >",
- NSStringFromClass([self class]), _powerProfileCount, _powerProfileRecords];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterGetOverallSchedulePriceResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _currency = @(0);
-
- _price = @(0);
-
- _priceTrailingDigit = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: currency:%@; price:%@; priceTrailingDigit:%@; >",
- NSStringFromClass([self class]), _currency, _price, _priceTrailingDigit];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterGetPowerProfilePriceParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: powerProfileId:%@; >", NSStringFromClass([self class]), _powerProfileId];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterEnergyPhasesScheduleNotificationParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
-
- _numOfScheduledPhases = @(0);
-
- _scheduledPhases = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: powerProfileId:%@; numOfScheduledPhases:%@; scheduledPhases:%@; >",
- NSStringFromClass([self class]), _powerProfileId, _numOfScheduledPhases, _scheduledPhases];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterPowerProfilesStateNotificationParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileCount = @(0);
-
- _powerProfileRecords = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: powerProfileCount:%@; powerProfileRecords:%@; >",
- NSStringFromClass([self class]), _powerProfileCount, _powerProfileRecords];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterEnergyPhasesScheduleResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
-
- _numOfScheduledPhases = @(0);
-
- _scheduledPhases = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: powerProfileId:%@; numOfScheduledPhases:%@; scheduledPhases:%@; >",
- NSStringFromClass([self class]), _powerProfileId, _numOfScheduledPhases, _scheduledPhases];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterGetOverallSchedulePriceParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterPowerProfileScheduleConstraintsRequestParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: powerProfileId:%@; >", NSStringFromClass([self class]), _powerProfileId];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterEnergyPhasesScheduleRequestParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: powerProfileId:%@; >", NSStringFromClass([self class]), _powerProfileId];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterEnergyPhasesScheduleStateRequestParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: powerProfileId:%@; >", NSStringFromClass([self class]), _powerProfileId];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterEnergyPhasesScheduleStateResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
-
- _numOfScheduledPhases = @(0);
-
- _scheduledPhases = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: powerProfileId:%@; numOfScheduledPhases:%@; scheduledPhases:%@; >",
- NSStringFromClass([self class]), _powerProfileId, _numOfScheduledPhases, _scheduledPhases];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterGetPowerProfilePriceExtendedResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
-
- _currency = @(0);
-
- _price = @(0);
-
- _priceTrailingDigit = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: powerProfileId:%@; currency:%@; price:%@; priceTrailingDigit:%@; >",
- NSStringFromClass([self class]), _powerProfileId, _currency, _price, _priceTrailingDigit];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterEnergyPhasesScheduleStateNotificationParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
-
- _numOfScheduledPhases = @(0);
-
- _scheduledPhases = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: powerProfileId:%@; numOfScheduledPhases:%@; scheduledPhases:%@; >",
- NSStringFromClass([self class]), _powerProfileId, _numOfScheduledPhases, _scheduledPhases];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterPowerProfileScheduleConstraintsNotificationParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
-
- _startAfter = @(0);
-
- _stopBefore = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: powerProfileId:%@; startAfter:%@; stopBefore:%@; >",
- NSStringFromClass([self class]), _powerProfileId, _startAfter, _stopBefore];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterPowerProfileScheduleConstraintsResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
-
- _startAfter = @(0);
-
- _stopBefore = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: powerProfileId:%@; startAfter:%@; stopBefore:%@; >",
- NSStringFromClass([self class]), _powerProfileId, _startAfter, _stopBefore];
- return descriptionString;
-}
-
-@end
-@implementation MTRPowerProfileClusterGetPowerProfilePriceExtendedParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _options = @(0);
-
- _powerProfileId = @(0);
-
- _powerProfileStartTime = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: options:%@; powerProfileId:%@; powerProfileStartTime:%@; >",
- NSStringFromClass([self class]), _options, _powerProfileId, _powerProfileStartTime];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceControlClusterExecutionOfACommandParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _commandId = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: commandId:%@; >", NSStringFromClass([self class]), _commandId];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceControlClusterSignalStateResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _applianceStatus = @(0);
-
- _remoteEnableFlagsAndDeviceStatus2 = @(0);
-
- _applianceStatus2 = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: applianceStatus:%@; remoteEnableFlagsAndDeviceStatus2:%@; applianceStatus2:%@; >",
- NSStringFromClass([self class]), _applianceStatus, _remoteEnableFlagsAndDeviceStatus2, _applianceStatus2];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceControlClusterSignalStateParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceControlClusterSignalStateNotificationParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _applianceStatus = @(0);
-
- _remoteEnableFlagsAndDeviceStatus2 = @(0);
-
- _applianceStatus2 = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: applianceStatus:%@; remoteEnableFlagsAndDeviceStatus2:%@; applianceStatus2:%@; >",
- NSStringFromClass([self class]), _applianceStatus, _remoteEnableFlagsAndDeviceStatus2, _applianceStatus2];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceControlClusterWriteFunctionsParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _functionId = @(0);
-
- _functionDataType = @(0);
-
- _functionData = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: functionId:%@; functionDataType:%@; functionData:%@; >",
- NSStringFromClass([self class]), _functionId, _functionDataType, _functionData];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceControlClusterOverloadPauseResumeParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceControlClusterOverloadPauseParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceControlClusterOverloadWarningParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _warningEvent = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: warningEvent:%@; >", NSStringFromClass([self class]), _warningEvent];
- return descriptionString;
-}
-
-@end
-@implementation MTRPollControlClusterCheckInParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRPollControlClusterCheckInResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _startFastPolling = @(0);
-
- _fastPollTimeout = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: startFastPolling:%@; fastPollTimeout:%@; >",
- NSStringFromClass([self class]), _startFastPolling, _fastPollTimeout];
- return descriptionString;
-}
-
-@end
-@implementation MTRPollControlClusterFastPollStopParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRPollControlClusterSetLongPollIntervalParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _newLongPollInterval = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: newLongPollInterval:%@; >", NSStringFromClass([self class]), _newLongPollInterval];
- return descriptionString;
-}
-
-@end
-@implementation MTRPollControlClusterSetShortPollIntervalParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _newShortPollInterval = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: newShortPollInterval:%@; >", NSStringFromClass([self class]), _newShortPollInterval];
- return descriptionString;
-}
-
@end
@implementation MTRBridgedActionsClusterInstantActionParams
- (instancetype)init
@@ -5285,211 +4462,6 @@ - (NSString *)description
return descriptionString;
}
-@end
-@implementation MTRApplianceEventsAndAlertClusterGetAlertsParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceEventsAndAlertClusterGetAlertsResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _alertsCount = @(0);
-
- _alertStructures = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: alertsCount:%@; alertStructures:%@; >",
- NSStringFromClass([self class]), _alertsCount, _alertStructures];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceEventsAndAlertClusterAlertsNotificationParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _alertsCount = @(0);
-
- _alertStructures = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: alertsCount:%@; alertStructures:%@; >",
- NSStringFromClass([self class]), _alertsCount, _alertStructures];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceEventsAndAlertClusterEventsNotificationParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _eventHeader = @(0);
-
- _eventId = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: eventHeader:%@; eventId:%@; >", NSStringFromClass([self class]), _eventHeader, _eventId];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceStatisticsClusterLogNotificationParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _timeStamp = @(0);
-
- _logId = @(0);
-
- _logLength = @(0);
-
- _logPayload = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: timeStamp:%@; logId:%@; logLength:%@; logPayload:%@; >",
- NSStringFromClass([self class]), _timeStamp, _logId, _logLength, _logPayload];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceStatisticsClusterLogRequestParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _logId = @(0);
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: logId:%@; >", NSStringFromClass([self class]), _logId];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceStatisticsClusterLogResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _timeStamp = @(0);
-
- _logId = @(0);
-
- _logLength = @(0);
-
- _logPayload = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: timeStamp:%@; logId:%@; logLength:%@; logPayload:%@; >",
- NSStringFromClass([self class]), _timeStamp, _logId, _logLength, _logPayload];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceStatisticsClusterLogQueueRequestParams
-- (instancetype)init
-{
- if (self = [super init]) {
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: >", NSStringFromClass([self class])];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceStatisticsClusterLogQueueResponseParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _logQueueSize = @(0);
-
- _logIds = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: logQueueSize:%@; logIds:%@; >", NSStringFromClass([self class]), _logQueueSize, _logIds];
- return descriptionString;
-}
-
-@end
-@implementation MTRApplianceStatisticsClusterStatisticsAvailableParams
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _logQueueSize = @(0);
-
- _logIds = [NSArray array];
- _timedInvokeTimeoutMs = nil;
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString =
- [NSString stringWithFormat:@"<%@: logQueueSize:%@; logIds:%@; >", NSStringFromClass([self class]), _logQueueSize, _logIds];
- return descriptionString;
-}
-
@end
@implementation MTRElectricalMeasurementClusterGetProfileInfoResponseCommandParams
- (instancetype)init
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h
index 8c1782544b28f0..a5d12d54ddb15b 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.h
@@ -35,33 +35,6 @@ NS_ASSUME_NONNULL_BEGIN
@end
-@interface MTRPowerProfileClusterPowerProfileRecord : NSObject
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileId;
-@property (strong, nonatomic) NSNumber * _Nonnull energyPhaseId;
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileRemoteControl;
-@property (strong, nonatomic) NSNumber * _Nonnull powerProfileState;
-- (instancetype)init;
-
-@end
-
-@interface MTRPowerProfileClusterScheduledPhase : NSObject
-@property (strong, nonatomic) NSNumber * _Nonnull energyPhaseId;
-@property (strong, nonatomic) NSNumber * _Nonnull scheduledTime;
-- (instancetype)init;
-
-@end
-
-@interface MTRPowerProfileClusterTransferredPhase : NSObject
-@property (strong, nonatomic) NSNumber * _Nonnull energyPhaseId;
-@property (strong, nonatomic) NSNumber * _Nonnull macroPhaseId;
-@property (strong, nonatomic) NSNumber * _Nonnull expectedDuration;
-@property (strong, nonatomic) NSNumber * _Nonnull peakPower;
-@property (strong, nonatomic) NSNumber * _Nonnull energy;
-@property (strong, nonatomic) NSNumber * _Nonnull maxActivationDelay;
-- (instancetype)init;
-
-@end
-
@interface MTRDescriptorClusterDeviceType : NSObject
@property (strong, nonatomic) NSNumber * _Nonnull type;
@property (strong, nonatomic) NSNumber * _Nonnull revision;
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm
index e5cf8c5d7d701a..ca7bfb733f967a 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRStructsObjc.mm
@@ -63,85 +63,6 @@ - (NSString *)description
@end
-@implementation MTRPowerProfileClusterPowerProfileRecord
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _powerProfileId = @(0);
-
- _energyPhaseId = @(0);
-
- _powerProfileRemoteControl = @(0);
-
- _powerProfileState = @(0);
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString
- stringWithFormat:@"<%@: powerProfileId:%@; energyPhaseId:%@; powerProfileRemoteControl:%@; powerProfileState:%@; >",
- NSStringFromClass([self class]), _powerProfileId, _energyPhaseId, _powerProfileRemoteControl, _powerProfileState];
- return descriptionString;
-}
-
-@end
-
-@implementation MTRPowerProfileClusterScheduledPhase
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _energyPhaseId = @(0);
-
- _scheduledTime = @(0);
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString stringWithFormat:@"<%@: energyPhaseId:%@; scheduledTime:%@; >",
- NSStringFromClass([self class]), _energyPhaseId, _scheduledTime];
- return descriptionString;
-}
-
-@end
-
-@implementation MTRPowerProfileClusterTransferredPhase
-- (instancetype)init
-{
- if (self = [super init]) {
-
- _energyPhaseId = @(0);
-
- _macroPhaseId = @(0);
-
- _expectedDuration = @(0);
-
- _peakPower = @(0);
-
- _energy = @(0);
-
- _maxActivationDelay = @(0);
- }
- return self;
-}
-
-- (NSString *)description
-{
- NSString * descriptionString = [NSString
- stringWithFormat:
- @"<%@: energyPhaseId:%@; macroPhaseId:%@; expectedDuration:%@; peakPower:%@; energy:%@; maxActivationDelay:%@; >",
- NSStringFromClass([self class]), _energyPhaseId, _macroPhaseId, _expectedDuration, _peakPower, _energy,
- _maxActivationDelay];
- return descriptionString;
-}
-
-@end
-
@implementation MTRDescriptorClusterDeviceType
- (instancetype)init
{
diff --git a/zzz_generated/app-common/app-common/zap-generated/af-structs.h b/zzz_generated/app-common/app-common/zap-generated/af-structs.h
index a054042c9d2fcc..cfa3a10c40693a 100644
--- a/zzz_generated/app-common/app-common/zap-generated/af-structs.h
+++ b/zzz_generated/app-common/app-common/zap-generated/af-structs.h
@@ -446,15 +446,6 @@ typedef struct _PlaybackPosition
uint64_t position;
} PlaybackPosition;
-// Struct for PowerProfileRecord
-typedef struct _PowerProfileRecord
-{
- uint8_t powerProfileId;
- uint8_t energyPhaseId;
- bool powerProfileRemoteControl;
- uint8_t powerProfileState;
-} PowerProfileRecord;
-
// Struct for ProviderLocation
typedef struct _ProviderLocation
{
@@ -495,13 +486,6 @@ typedef struct _RouteTable
bool LinkEstablished;
} RouteTable;
-// Struct for ScheduledPhase
-typedef struct _ScheduledPhase
-{
- uint8_t energyPhaseId;
- uint16_t scheduledTime;
-} ScheduledPhase;
-
// Struct for SecurityPolicy
typedef struct _SecurityPolicy
{
@@ -564,17 +548,6 @@ typedef struct _ThreadMetrics
uint32_t StackSize;
} ThreadMetrics;
-// Struct for TransferredPhase
-typedef struct _TransferredPhase
-{
- uint8_t energyPhaseId;
- uint8_t macroPhaseId;
- uint16_t expectedDuration;
- uint16_t peakPower;
- uint16_t energy;
- uint16_t maxActivationDelay;
-} TransferredPhase;
-
// Struct for WiFiInterfaceScanResult
typedef struct _WiFiInterfaceScanResult
{
diff --git a/zzz_generated/app-common/app-common/zap-generated/attribute-id.h b/zzz_generated/app-common/app-common/zap-generated/attribute-id.h
index 02c83fbab5bcd1..c72b8987ea0748 100644
--- a/zzz_generated/app-common/app-common/zap-generated/attribute-id.h
+++ b/zzz_generated/app-common/app-common/zap-generated/attribute-id.h
@@ -29,84 +29,6 @@
#define ZCL_CLUSTER_REVISION_CLIENT_ATTRIBUTE_ID (0xFFFD)
#define ZCL_CLUSTER_REVISION_SERVER_ATTRIBUTE_ID (0xFFFD)
-// Attribute ids for cluster: Power Configuration
-
-// Client attributes
-
-// Server attributes
-#define ZCL_MAINS_VOLTAGE_ATTRIBUTE_ID (0x0000)
-#define ZCL_MAINS_FREQUENCY_ATTRIBUTE_ID (0x0001)
-#define ZCL_MAINS_ALARM_MASK_ATTRIBUTE_ID (0x0010)
-#define ZCL_MAINS_VOLTAGE_MIN_THRESHOLD_ATTRIBUTE_ID (0x0011)
-#define ZCL_MAINS_VOLTAGE_MAX_THRESHOLD_ATTRIBUTE_ID (0x0012)
-#define ZCL_MAINS_VOLTAGE_DWELL_TRIP_POINT_ATTRIBUTE_ID (0x0013)
-#define ZCL_BATTERY_VOLTAGE_ATTRIBUTE_ID (0x0020)
-#define ZCL_BATTERY_PERCENTAGE_REMAINING_ATTRIBUTE_ID (0x0021)
-#define ZCL_BATTERY_MANUFACTURER_ATTRIBUTE_ID (0x0030)
-#define ZCL_BATTERY_SIZE_ATTRIBUTE_ID (0x0031)
-#define ZCL_BATTERY_AHR_RATING_ATTRIBUTE_ID (0x0032)
-#define ZCL_BATTERY_QUANTITY_ATTRIBUTE_ID (0x0033)
-#define ZCL_BATTERY_RATED_VOLTAGE_ATTRIBUTE_ID (0x0034)
-#define ZCL_BATTERY_ALARM_MASK_ATTRIBUTE_ID (0x0035)
-#define ZCL_BATTERY_VOLTAGE_MIN_THRESHOLD_ATTRIBUTE_ID (0x0036)
-#define ZCL_BATTERY_VOLTAGE_THRESHOLD_1_ATTRIBUTE_ID (0x0037)
-#define ZCL_BATTERY_VOLTAGE_THRESHOLD_2_ATTRIBUTE_ID (0x0038)
-#define ZCL_BATTERY_VOLTAGE_THRESHOLD_3_ATTRIBUTE_ID (0x0039)
-#define ZCL_BATTERY_PERCENTAGE_MIN_THRESHOLD_ATTRIBUTE_ID (0x003A)
-#define ZCL_BATTERY_PERCENTAGE_THRESHOLD_1_ATTRIBUTE_ID (0x003B)
-#define ZCL_BATTERY_PERCENTAGE_THRESHOLD_2_ATTRIBUTE_ID (0x003C)
-#define ZCL_BATTERY_PERCENTAGE_THRESHOLD_3_ATTRIBUTE_ID (0x003D)
-#define ZCL_BATTERY_ALARM_STATE_ATTRIBUTE_ID (0x003E)
-#define ZCL_BATTERY_2_VOLTAGE_ATTRIBUTE_ID (0x0040)
-#define ZCL_BATTERY_2_PERCENTAGE_REMAINING_ATTRIBUTE_ID (0x0041)
-#define ZCL_BATTERY_2_MANUFACTURER_ATTRIBUTE_ID (0x0050)
-#define ZCL_BATTERY_2_SIZE_ATTRIBUTE_ID (0x0051)
-#define ZCL_BATTERY_2_AHR_RATING_ATTRIBUTE_ID (0x0052)
-#define ZCL_BATTERY_2_QUANTITY_ATTRIBUTE_ID (0x0053)
-#define ZCL_BATTERY_2_RATED_VOLTAGE_ATTRIBUTE_ID (0x0054)
-#define ZCL_BATTERY_2_ALARM_MASK_ATTRIBUTE_ID (0x0055)
-#define ZCL_BATTERY_2_VOLTAGE_MIN_THRESHOLD_ATTRIBUTE_ID (0x0056)
-#define ZCL_BATTERY_2_VOLTAGE_THRESHOLD_1_ATTRIBUTE_ID (0x0057)
-#define ZCL_BATTERY_2_VOLTAGE_THRESHOLD_2_ATTRIBUTE_ID (0x0058)
-#define ZCL_BATTERY_2_VOLTAGE_THRESHOLD_3_ATTRIBUTE_ID (0x0059)
-#define ZCL_BATTERY_2_PERCENTAGE_MIN_THRESHOLD_ATTRIBUTE_ID (0x005A)
-#define ZCL_BATTERY_2_PERCENTAGE_THRESHOLD_1_ATTRIBUTE_ID (0x005B)
-#define ZCL_BATTERY_2_PERCENTAGE_THRESHOLD_2_ATTRIBUTE_ID (0x005C)
-#define ZCL_BATTERY_2_PERCENTAGE_THRESHOLD_3_ATTRIBUTE_ID (0x005D)
-#define ZCL_BATTERY_2_ALARM_STATE_ATTRIBUTE_ID (0x005E)
-#define ZCL_BATTERY_3_VOLTAGE_ATTRIBUTE_ID (0x0060)
-#define ZCL_BATTERY_3_PERCENTAGE_REMAINING_ATTRIBUTE_ID (0x0061)
-#define ZCL_BATTERY_3_MANUFACTURER_ATTRIBUTE_ID (0x0070)
-#define ZCL_BATTERY_3_SIZE_ATTRIBUTE_ID (0x0071)
-#define ZCL_BATTERY_3_AHR_RATING_ATTRIBUTE_ID (0x0072)
-#define ZCL_BATTERY_3_QUANTITY_ATTRIBUTE_ID (0x0073)
-#define ZCL_BATTERY_3_RATED_VOLTAGE_ATTRIBUTE_ID (0x0074)
-#define ZCL_BATTERY_3_ALARM_MASK_ATTRIBUTE_ID (0x0075)
-#define ZCL_BATTERY_3_VOLTAGE_MIN_THRESHOLD_ATTRIBUTE_ID (0x0076)
-#define ZCL_BATTERY_3_VOLTAGE_THRESHOLD_1_ATTRIBUTE_ID (0x0077)
-#define ZCL_BATTERY_3_VOLTAGE_THRESHOLD_2_ATTRIBUTE_ID (0x0078)
-#define ZCL_BATTERY_3_VOLTAGE_THRESHOLD_3_ATTRIBUTE_ID (0x0079)
-#define ZCL_BATTERY_3_PERCENTAGE_MIN_THRESHOLD_ATTRIBUTE_ID (0x007A)
-#define ZCL_BATTERY_3_PERCENTAGE_THRESHOLD_1_ATTRIBUTE_ID (0x007B)
-#define ZCL_BATTERY_3_PERCENTAGE_THRESHOLD_2_ATTRIBUTE_ID (0x007C)
-#define ZCL_BATTERY_3_PERCENTAGE_THRESHOLD_3_ATTRIBUTE_ID (0x007D)
-#define ZCL_BATTERY_3_ALARM_STATE_ATTRIBUTE_ID (0x007E)
-
-// Attribute ids for cluster: Device Temperature Configuration
-
-// Client attributes
-
-// Server attributes
-#define ZCL_CURRENT_TEMPERATURE_ATTRIBUTE_ID (0x0000)
-#define ZCL_MIN_TEMP_EXPERIENCED_ATTRIBUTE_ID (0x0001)
-#define ZCL_MAX_TEMP_EXPERIENCED_ATTRIBUTE_ID (0x0002)
-#define ZCL_OVER_TEMP_TOTAL_DWELL_ATTRIBUTE_ID (0x0003)
-#define ZCL_DEVICE_TEMP_ALARM_MASK_ATTRIBUTE_ID (0x0010)
-#define ZCL_LOW_TEMP_THRESHOLD_ATTRIBUTE_ID (0x0011)
-#define ZCL_HIGH_TEMP_THRESHOLD_ATTRIBUTE_ID (0x0012)
-#define ZCL_LOW_TEMP_DWELL_TRIP_POINT_ATTRIBUTE_ID (0x0013)
-#define ZCL_HIGH_TEMP_DWELL_TRIP_POINT_ATTRIBUTE_ID (0x0014)
-
// Attribute ids for cluster: Identify
// Client attributes
@@ -173,29 +95,6 @@
#define ZCL_DEFAULT_MOVE_RATE_ATTRIBUTE_ID (0x0014)
#define ZCL_START_UP_CURRENT_LEVEL_ATTRIBUTE_ID (0x4000)
-// Attribute ids for cluster: Alarms
-
-// Client attributes
-
-// Server attributes
-#define ZCL_ALARM_COUNT_ATTRIBUTE_ID (0x0000)
-
-// Attribute ids for cluster: Time
-
-// Client attributes
-
-// Server attributes
-#define ZCL_TIME_ATTRIBUTE_ID (0x0000)
-#define ZCL_TIME_STATUS_ATTRIBUTE_ID (0x0001)
-#define ZCL_TIME_ZONE_ATTRIBUTE_ID (0x0002)
-#define ZCL_DST_START_ATTRIBUTE_ID (0x0003)
-#define ZCL_DST_END_ATTRIBUTE_ID (0x0004)
-#define ZCL_DST_SHIFT_ATTRIBUTE_ID (0x0005)
-#define ZCL_STANDARD_TIME_ATTRIBUTE_ID (0x0006)
-#define ZCL_LOCAL_TIME_ATTRIBUTE_ID (0x0007)
-#define ZCL_LAST_SET_TIME_ATTRIBUTE_ID (0x0008)
-#define ZCL_VALID_UNTIL_TIME_ATTRIBUTE_ID (0x0009)
-
// Attribute ids for cluster: Binary Input (Basic)
// Client attributes
@@ -211,26 +110,6 @@
#define ZCL_STATUS_FLAGS_ATTRIBUTE_ID (0x006F)
#define ZCL_APPLICATION_TYPE_ATTRIBUTE_ID (0x0100)
-// Attribute ids for cluster: Power Profile
-
-// Client attributes
-
-// Server attributes
-#define ZCL_TOTAL_PROFILE_NUM_ATTRIBUTE_ID (0x0000)
-#define ZCL_MULTIPLE_SCHEDULING_ATTRIBUTE_ID (0x0001)
-#define ZCL_ENERGY_FORMATTING_ATTRIBUTE_ID (0x0002)
-#define ZCL_ENERGY_REMOTE_ATTRIBUTE_ID (0x0003)
-#define ZCL_SCHEDULE_MODE_ATTRIBUTE_ID (0x0004)
-
-// Attribute ids for cluster: Appliance Control
-
-// Client attributes
-
-// Server attributes
-#define ZCL_START_TIME_ATTRIBUTE_ID (0x0000)
-#define ZCL_FINISH_TIME_ATTRIBUTE_ID (0x0001)
-#define ZCL_REMAINING_TIME_ATTRIBUTE_ID (0x0002)
-
// Attribute ids for cluster: Pulse Width Modulation
// Client attributes
@@ -265,19 +144,6 @@
#define ZCL_TARGETS_PER_ACCESS_CONTROL_ENTRY_ATTRIBUTE_ID (0x0003)
#define ZCL_ACCESS_CONTROL_ENTRIES_PER_FABRIC_ATTRIBUTE_ID (0x0004)
-// Attribute ids for cluster: Poll Control
-
-// Client attributes
-
-// Server attributes
-#define ZCL_CHECK_IN_INTERVAL_ATTRIBUTE_ID (0x0000)
-#define ZCL_LONG_POLL_INTERVAL_ATTRIBUTE_ID (0x0001)
-#define ZCL_SHORT_POLL_INTERVAL_ATTRIBUTE_ID (0x0002)
-#define ZCL_FAST_POLL_TIMEOUT_ATTRIBUTE_ID (0x0003)
-#define ZCL_CHECK_IN_INTERVAL_MIN_ATTRIBUTE_ID (0x0004)
-#define ZCL_LONG_POLL_INTERVAL_MIN_ATTRIBUTE_ID (0x0005)
-#define ZCL_FAST_POLL_TIMEOUT_MAX_ATTRIBUTE_ID (0x0006)
-
// Attribute ids for cluster: Bridged Actions
// Client attributes
@@ -674,17 +540,6 @@
#define ZCL_START_UP_MODE_ATTRIBUTE_ID (0x0004)
#define ZCL_ON_MODE_ATTRIBUTE_ID (0x0005)
-// Attribute ids for cluster: Shade Configuration
-
-// Client attributes
-
-// Server attributes
-#define ZCL_SHADE_CONFIG_PHYSICAL_CLOSED_LIMIT_ATTRIBUTE_ID (0x0000)
-#define ZCL_SHADE_CONFIG_MOTOR_STEP_SIZE_ATTRIBUTE_ID (0x0001)
-#define ZCL_SHADE_CONFIG_STATUS_ATTRIBUTE_ID (0x0002)
-#define ZCL_SHADE_CONFIG_CLOSED_LIMIT_ATTRIBUTE_ID (0x0010)
-#define ZCL_SHADE_CONFIG_MODE_ATTRIBUTE_ID (0x0011)
-
// Attribute ids for cluster: Door Lock
// Client attributes
@@ -872,20 +727,6 @@
#define ZCL_WIND_SUPPORT_ATTRIBUTE_ID (0x0009)
#define ZCL_WIND_SETTING_ATTRIBUTE_ID (0x000A)
-// Attribute ids for cluster: Dehumidification Control
-
-// Client attributes
-
-// Server attributes
-#define ZCL_RELATIVE_HUMIDITY_ATTRIBUTE_ID (0x0000)
-#define ZCL_DEHUMIDIFICATION_COOLING_ATTRIBUTE_ID (0x0001)
-#define ZCL_RH_DEHUMIDIFICATION_SETPOINT_ATTRIBUTE_ID (0x0010)
-#define ZCL_RELATIVE_HUMIDITY_MODE_ATTRIBUTE_ID (0x0011)
-#define ZCL_DEHUMIDIFICATION_LOCKOUT_ATTRIBUTE_ID (0x0012)
-#define ZCL_DEHUMIDIFICATION_HYSTERESIS_ATTRIBUTE_ID (0x0013)
-#define ZCL_DEHUMIDIFICATION_MAX_COOL_ATTRIBUTE_ID (0x0014)
-#define ZCL_RELATIVE_HUMIDITY_DISPLAY_ATTRIBUTE_ID (0x0015)
-
// Attribute ids for cluster: Thermostat User Interface Configuration
// Client attributes
@@ -1047,306 +888,6 @@
#define ZCL_PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_DELAY_ATTRIBUTE_ID (0x0031)
#define ZCL_PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_THRESHOLD_ATTRIBUTE_ID (0x0032)
-// Attribute ids for cluster: Carbon Monoxide Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_CARBON_MONOXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Carbon Dioxide Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_CARBON_DIOXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Ethylene Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_ETHYLENE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_ETHYLENE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_ETHYLENE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_ETHYLENE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Ethylene Oxide Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_ETHYLENE_OXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_ETHYLENE_OXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_ETHYLENE_OXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_ETHYLENE_OXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Hydrogen Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_HYDROGEN_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_HYDROGEN_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_HYDROGEN_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_HYDROGEN_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Hydrogen Sulphide Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_HYDROGEN_SULPHIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_HYDROGEN_SULPHIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_HYDROGEN_SULPHIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_HYDROGEN_SULPHIDE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Nitric Oxide Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_NITRIC_OXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_NITRIC_OXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_NITRIC_OXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_NITRIC_OXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Nitrogen Dioxide Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_NITROGEN_DIOXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Oxygen Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_OXYGEN_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_OXYGEN_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_OXYGEN_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_OXYGEN_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Ozone Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_OZONE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_OZONE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_OZONE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_OZONE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Sulfur Dioxide Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_SULFUR_DIOXIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_SULFUR_DIOXIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_SULFUR_DIOXIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_SULFUR_DIOXIDE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Dissolved Oxygen Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_DISSOLVED_OXYGEN_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_DISSOLVED_OXYGEN_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_DISSOLVED_OXYGEN_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_DISSOLVED_OXYGEN_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Bromate Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_BROMATE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_BROMATE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_BROMATE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_BROMATE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Chloramines Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_CHLORAMINES_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_CHLORAMINES_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_CHLORAMINES_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_CHLORAMINES_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Chlorine Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_CHLORINE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_CHLORINE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_CHLORINE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_CHLORINE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Fecal coliform and E. Coli Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_FECAL_COLIFORM_AND_E_COLI_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_FECAL_COLIFORM_AND_E_COLI_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_FECAL_COLIFORM_AND_E_COLI_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_FECAL_COLIFORM_AND_E_COLI_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Fluoride Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_FLUORIDE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_FLUORIDE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_FLUORIDE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_FLUORIDE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Haloacetic Acids Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_HALOACETIC_ACIDS_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_HALOACETIC_ACIDS_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_HALOACETIC_ACIDS_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_HALOACETIC_ACIDS_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Total Trihalomethanes Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_TOTAL_TRIHALOMETHANES_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_TOTAL_TRIHALOMETHANES_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_TOTAL_TRIHALOMETHANES_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_TOTAL_TRIHALOMETHANES_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Total Coliform Bacteria Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_TOTAL_COLIFORM_BACTERIA_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_TOTAL_COLIFORM_BACTERIA_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_TOTAL_COLIFORM_BACTERIA_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_TOTAL_COLIFORM_BACTERIA_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Turbidity Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_TURBIDITY_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_TURBIDITY_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_TURBIDITY_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_TURBIDITY_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Copper Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_COPPER_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_COPPER_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_COPPER_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_COPPER_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Lead Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_LEAD_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_LEAD_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_LEAD_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_LEAD_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Manganese Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_MANGANESE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_MANGANESE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_MANGANESE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_MANGANESE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Sulfate Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_SULFATE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_SULFATE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_SULFATE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_SULFATE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Bromodichloromethane Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_BROMODICHLOROMETHANE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_BROMODICHLOROMETHANE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_BROMODICHLOROMETHANE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_BROMODICHLOROMETHANE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Bromoform Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_BROMOFORM_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_BROMOFORM_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_BROMOFORM_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_BROMOFORM_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Chlorodibromomethane Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_CHLORODIBROMOMETHANE_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_CHLORODIBROMOMETHANE_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_CHLORODIBROMOMETHANE_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_CHLORODIBROMOMETHANE_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Chloroform Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_CHLOROFORM_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_CHLOROFORM_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_CHLOROFORM_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_CHLOROFORM_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
-// Attribute ids for cluster: Sodium Concentration Measurement
-
-// Client attributes
-
-// Server attributes
-#define ZCL_SODIUM_CONCENTRATION_MEASUREMENT_MEASURED_VALUE_ATTRIBUTE_ID (0x0000)
-#define ZCL_SODIUM_CONCENTRATION_MEASUREMENT_MIN_MEASURED_VALUE_ATTRIBUTE_ID (0x0001)
-#define ZCL_SODIUM_CONCENTRATION_MEASUREMENT_MAX_MEASURED_VALUE_ATTRIBUTE_ID (0x0002)
-#define ZCL_SODIUM_CONCENTRATION_MEASUREMENT_TOLERANCE_ATTRIBUTE_ID (0x0003)
-
// Attribute ids for cluster: Wake on LAN
// Client attributes
@@ -1448,56 +989,6 @@
// Server attributes
-// Attribute ids for cluster: Appliance Identification
-
-// Client attributes
-
-// Server attributes
-#define ZCL_BASIC_IDENTIFICATION_ATTRIBUTE_ID (0x0000)
-#define ZCL_APPLIANCE_COMPANY_NAME_ATTRIBUTE_ID (0x0010)
-#define ZCL_COMPANY_ID_ATTRIBUTE_ID (0x0011)
-#define ZCL_BRAND_NAME_ATTRIBUTE_ID (0x0012)
-#define ZCL_BRAND_ID_ATTRIBUTE_ID (0x0013)
-#define ZCL_APPLIANCE_MODEL_ATTRIBUTE_ID (0x0014)
-#define ZCL_APPLIANCE_PART_NUMBER_ATTRIBUTE_ID (0x0015)
-#define ZCL_APPLIANCE_PRODUCT_REVISION_ATTRIBUTE_ID (0x0016)
-#define ZCL_APPLIANCE_SOFTWARE_REVISION_ATTRIBUTE_ID (0x0017)
-#define ZCL_PRODUCT_TYPE_NAME_ATTRIBUTE_ID (0x0018)
-#define ZCL_PRODUCT_TYPE_ID_ATTRIBUTE_ID (0x0019)
-#define ZCL_CECED_SPECIFICATION_VERSION_ATTRIBUTE_ID (0x001A)
-
-// Attribute ids for cluster: Meter Identification
-
-// Client attributes
-
-// Server attributes
-#define ZCL_METER_COMPANY_NAME_ATTRIBUTE_ID (0x0000)
-#define ZCL_METER_TYPE_ID_ATTRIBUTE_ID (0x0001)
-#define ZCL_DATA_QUALITY_ID_ATTRIBUTE_ID (0x0004)
-#define ZCL_CUSTOMER_NAME_ATTRIBUTE_ID (0x0005)
-#define ZCL_METER_MODEL_ATTRIBUTE_ID (0x0006)
-#define ZCL_METER_PART_NUMBER_ATTRIBUTE_ID (0x0007)
-#define ZCL_METER_PRODUCT_REVISION_ATTRIBUTE_ID (0x0008)
-#define ZCL_METER_SOFTWARE_REVISION_ATTRIBUTE_ID (0x000A)
-#define ZCL_UTILITY_NAME_ATTRIBUTE_ID (0x000B)
-#define ZCL_POD_ATTRIBUTE_ID (0x000C)
-#define ZCL_AVAILABLE_POWER_ATTRIBUTE_ID (0x000D)
-#define ZCL_POWER_THRESHOLD_ATTRIBUTE_ID (0x000E)
-
-// Attribute ids for cluster: Appliance Events and Alert
-
-// Client attributes
-
-// Server attributes
-
-// Attribute ids for cluster: Appliance Statistics
-
-// Client attributes
-
-// Server attributes
-#define ZCL_LOG_MAX_SIZE_ATTRIBUTE_ID (0x0000)
-#define ZCL_LOG_QUEUE_MAX_SIZE_ATTRIBUTE_ID (0x0001)
-
// Attribute ids for cluster: Electrical Measurement
// Client attributes
diff --git a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp
index 1d1e86768a01b9..ef79df312b8fc1 100644
--- a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp
+++ b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp
@@ -35,17 +35,17 @@ namespace chip {
namespace app {
namespace Clusters {
-namespace PowerConfiguration {
+namespace Identify {
namespace Attributes {
-namespace MainsVoltage {
+namespace IdentifyTime {
EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Identify::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -64,19 +64,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Identify::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace MainsVoltage
+} // namespace IdentifyTime
-namespace MainsFrequency {
+namespace IdentifyType {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Identify::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -95,19 +95,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Identify::Id, Id, writable, ZCL_ENUM8_ATTRIBUTE_TYPE);
}
-} // namespace MainsFrequency
+} // namespace IdentifyType
-namespace MainsAlarmMask {
+namespace FeatureMap {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Identify::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -116,9 +116,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -126,19 +126,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_BITMAP8_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Identify::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
}
-} // namespace MainsAlarmMask
+} // namespace FeatureMap
-namespace MainsVoltageMinThreshold {
+namespace ClusterRevision {
EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Identify::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -157,19 +157,25 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Identify::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace MainsVoltageMinThreshold
+} // namespace ClusterRevision
-namespace MainsVoltageMaxThreshold {
+} // namespace Attributes
+} // namespace Identify
-EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
+namespace Groups {
+namespace Attributes {
+
+namespace NameSupport {
+
+EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Groups::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -178,9 +184,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -188,19 +194,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Groups::Id, Id, writable, ZCL_BITMAP8_ATTRIBUTE_TYPE);
}
-} // namespace MainsVoltageMaxThreshold
+} // namespace NameSupport
-namespace MainsVoltageDwellTrip {
+namespace FeatureMap {
-EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Groups::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -209,9 +215,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -219,19 +225,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Groups::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
}
-} // namespace MainsVoltageDwellTrip
+} // namespace FeatureMap
-namespace BatteryVoltage {
+namespace ClusterRevision {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Groups::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -240,9 +246,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -250,19 +256,25 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Groups::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace BatteryVoltage
+} // namespace ClusterRevision
+
+} // namespace Attributes
+} // namespace Groups
+
+namespace Scenes {
+namespace Attributes {
-namespace BatteryPercentageRemaining {
+namespace SceneCount {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Scenes::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -281,49 +293,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
-}
-
-} // namespace BatteryPercentageRemaining
-
-namespace BatteryManufacturer {
-
-EmberAfStatus Get(chip::EndpointId endpoint, chip::MutableCharSpan value)
-{
- uint8_t zclString[16 + 1];
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, zclString, sizeof(zclString));
- VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- size_t length = emberAfStringLength(zclString);
- if (length == NumericAttributeTraits::kNullValue)
- {
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
- }
-
- VerifyOrReturnError(value.size() == 16, EMBER_ZCL_STATUS_INVALID_DATA_TYPE);
- memcpy(value.data(), &zclString[1], 16);
- value.reduce_size(length);
- return status;
-}
-EmberAfStatus Set(chip::EndpointId endpoint, chip::CharSpan value)
-{
- static_assert(16 < NumericAttributeTraits::kNullValue, "value.size() might be too big");
- VerifyOrReturnError(value.size() <= 16, EMBER_ZCL_STATUS_CONSTRAINT_ERROR);
- uint8_t zclString[16 + 1];
- emberAfCopyInt8u(zclString, 0, static_cast(value.size()));
- memcpy(&zclString[1], value.data(), value.size());
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, zclString, ZCL_CHAR_STRING_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Scenes::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
-} // namespace BatteryManufacturer
+} // namespace SceneCount
-namespace BatterySize {
+namespace CurrentScene {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Scenes::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -342,19 +324,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_ENUM8_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Scenes::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
-} // namespace BatterySize
+} // namespace CurrentScene
-namespace BatteryAhrRating {
+namespace CurrentGroup {
-EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, chip::GroupId * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Scenes::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -363,9 +345,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, chip::GroupId value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -373,19 +355,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Scenes::Id, Id, writable, ZCL_GROUP_ID_ATTRIBUTE_TYPE);
}
-} // namespace BatteryAhrRating
+} // namespace CurrentGroup
-namespace BatteryQuantity {
+namespace SceneValid {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, bool * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Scenes::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -394,9 +376,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, bool value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -404,19 +386,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Scenes::Id, Id, writable, ZCL_BOOLEAN_ATTRIBUTE_TYPE);
}
-} // namespace BatteryQuantity
+} // namespace SceneValid
-namespace BatteryRatedVoltage {
+namespace NameSupport {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Scenes::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -435,50 +417,72 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Scenes::Id, Id, writable, ZCL_BITMAP8_ATTRIBUTE_TYPE);
}
-} // namespace BatteryRatedVoltage
+} // namespace NameSupport
-namespace BatteryAlarmMask {
+namespace LastConfiguredBy {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Scenes::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
+ if (Traits::IsNullValue(temp))
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ value.SetNull();
+ }
+ else
+ {
+ value.SetNonNull() = Traits::StorageToWorking(temp);
}
- *value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, chip::NodeId value)
{
- using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ using Traits = NumericAttributeTraits;
+ if (!Traits::CanRepresentValue(/* isNullable = */ true, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
}
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_BITMAP8_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Scenes::Id, Id, writable, ZCL_NODE_ID_ATTRIBUTE_TYPE);
+}
+
+EmberAfStatus SetNull(chip::EndpointId endpoint)
+{
+ using Traits = NumericAttributeTraits;
+ Traits::StorageType value;
+ Traits::SetNull(value);
+ uint8_t * writable = Traits::ToAttributeStoreRepresentation(value);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Scenes::Id, Id, writable, ZCL_NODE_ID_ATTRIBUTE_TYPE);
}
-} // namespace BatteryAlarmMask
+EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value)
+{
+ if (value.IsNull())
+ {
+ return SetNull(endpoint);
+ }
-namespace BatteryVoltageMinThreshold {
+ return Set(endpoint, value.Value());
+}
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+} // namespace LastConfiguredBy
+
+namespace FeatureMap {
+
+EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Scenes::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -487,9 +491,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -497,19 +501,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Scenes::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
}
-} // namespace BatteryVoltageMinThreshold
+} // namespace FeatureMap
-namespace BatteryVoltageThreshold1 {
+namespace ClusterRevision {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Scenes::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -518,9 +522,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -528,19 +532,25 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Scenes::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace BatteryVoltageThreshold1
+} // namespace ClusterRevision
-namespace BatteryVoltageThreshold2 {
+} // namespace Attributes
+} // namespace Scenes
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+namespace OnOff {
+namespace Attributes {
+
+namespace OnOff {
+
+EmberAfStatus Get(chip::EndpointId endpoint, bool * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OnOff::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -549,9 +559,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, bool value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -559,19 +569,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOff::Id, Id, writable, ZCL_BOOLEAN_ATTRIBUTE_TYPE);
}
-} // namespace BatteryVoltageThreshold2
+} // namespace OnOff
-namespace BatteryVoltageThreshold3 {
+namespace GlobalSceneControl {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, bool * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OnOff::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -580,9 +590,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, bool value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -590,19 +600,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOff::Id, Id, writable, ZCL_BOOLEAN_ATTRIBUTE_TYPE);
}
-} // namespace BatteryVoltageThreshold3
+} // namespace GlobalSceneControl
-namespace BatteryPercentageMinThreshold {
+namespace OnTime {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OnOff::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -611,9 +621,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -621,19 +631,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOff::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace BatteryPercentageMinThreshold
+} // namespace OnTime
-namespace BatteryPercentageThreshold1 {
+namespace OffWaitTime {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OnOff::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -642,9 +652,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -652,50 +662,73 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOff::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace BatteryPercentageThreshold1
+} // namespace OffWaitTime
-namespace BatteryPercentageThreshold2 {
+namespace StartUpOnOff {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OnOff::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
+ if (Traits::IsNullValue(temp))
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ value.SetNull();
+ }
+ else
+ {
+ value.SetNonNull() = Traits::StorageToWorking(temp);
}
- *value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, chip::app::Clusters::OnOff::OnOffStartUpOnOff value)
{
- using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ using Traits = NumericAttributeTraits;
+ if (!Traits::CanRepresentValue(/* isNullable = */ true, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
}
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOff::Id, Id, writable, ZCL_ENUM8_ATTRIBUTE_TYPE);
+}
+
+EmberAfStatus SetNull(chip::EndpointId endpoint)
+{
+ using Traits = NumericAttributeTraits;
+ Traits::StorageType value;
+ Traits::SetNull(value);
+ uint8_t * writable = Traits::ToAttributeStoreRepresentation(value);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOff::Id, Id, writable, ZCL_ENUM8_ATTRIBUTE_TYPE);
+}
+
+EmberAfStatus Set(chip::EndpointId endpoint,
+ const chip::app::DataModel::Nullable & value)
+{
+ if (value.IsNull())
+ {
+ return SetNull(endpoint);
+ }
+
+ return Set(endpoint, value.Value());
}
-} // namespace BatteryPercentageThreshold2
+} // namespace StartUpOnOff
-namespace BatteryPercentageThreshold3 {
+namespace FeatureMap {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OnOff::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -704,9 +737,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -714,19 +747,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOff::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
}
-} // namespace BatteryPercentageThreshold3
+} // namespace FeatureMap
-namespace BatteryAlarmState {
+namespace ClusterRevision {
-EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OnOff::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -735,9 +768,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -745,19 +778,25 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOff::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace BatteryAlarmState
+} // namespace ClusterRevision
+
+} // namespace Attributes
+} // namespace OnOff
+
+namespace OnOffSwitchConfiguration {
+namespace Attributes {
-namespace Battery2Voltage {
+namespace SwitchType {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OnOffSwitchConfiguration::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -776,19 +815,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOffSwitchConfiguration::Id, Id, writable, ZCL_ENUM8_ATTRIBUTE_TYPE);
}
-} // namespace Battery2Voltage
+} // namespace SwitchType
-namespace Battery2PercentageRemaining {
+namespace SwitchActions {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OnOffSwitchConfiguration::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -807,49 +846,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
-}
-
-} // namespace Battery2PercentageRemaining
-
-namespace Battery2Manufacturer {
-
-EmberAfStatus Get(chip::EndpointId endpoint, chip::MutableCharSpan value)
-{
- uint8_t zclString[16 + 1];
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, zclString, sizeof(zclString));
- VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- size_t length = emberAfStringLength(zclString);
- if (length == NumericAttributeTraits::kNullValue)
- {
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
- }
-
- VerifyOrReturnError(value.size() == 16, EMBER_ZCL_STATUS_INVALID_DATA_TYPE);
- memcpy(value.data(), &zclString[1], 16);
- value.reduce_size(length);
- return status;
-}
-EmberAfStatus Set(chip::EndpointId endpoint, chip::CharSpan value)
-{
- static_assert(16 < NumericAttributeTraits::kNullValue, "value.size() might be too big");
- VerifyOrReturnError(value.size() <= 16, EMBER_ZCL_STATUS_CONSTRAINT_ERROR);
- uint8_t zclString[16 + 1];
- emberAfCopyInt8u(zclString, 0, static_cast(value.size()));
- memcpy(&zclString[1], value.data(), value.size());
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, zclString, ZCL_CHAR_STRING_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOffSwitchConfiguration::Id, Id, writable, ZCL_ENUM8_ATTRIBUTE_TYPE);
}
-} // namespace Battery2Manufacturer
+} // namespace SwitchActions
-namespace Battery2Size {
+namespace FeatureMap {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OnOffSwitchConfiguration::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -858,9 +867,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -868,19 +877,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_ENUM8_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOffSwitchConfiguration::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
}
-} // namespace Battery2Size
+} // namespace FeatureMap
-namespace Battery2AhrRating {
+namespace ClusterRevision {
EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OnOffSwitchConfiguration::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -899,19 +908,25 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OnOffSwitchConfiguration::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace Battery2AhrRating
+} // namespace ClusterRevision
+
+} // namespace Attributes
+} // namespace OnOffSwitchConfiguration
+
+namespace LevelControl {
+namespace Attributes {
-namespace Battery2Quantity {
+namespace CurrentLevel {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -930,19 +945,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
-} // namespace Battery2Quantity
+} // namespace CurrentLevel
-namespace Battery2RatedVoltage {
+namespace RemainingTime {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -951,9 +966,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -961,19 +976,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace Battery2RatedVoltage
+} // namespace RemainingTime
-namespace Battery2AlarmMask {
+namespace MinLevel {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -992,19 +1007,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_BITMAP8_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
-} // namespace Battery2AlarmMask
+} // namespace MinLevel
-namespace Battery2VoltageMinThreshold {
+namespace MaxLevel {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1023,19 +1038,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
-} // namespace Battery2VoltageMinThreshold
+} // namespace MaxLevel
-namespace Battery2VoltageThreshold1 {
+namespace CurrentFrequency {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1044,9 +1059,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -1054,19 +1069,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace Battery2VoltageThreshold1
+} // namespace CurrentFrequency
-namespace Battery2VoltageThreshold2 {
+namespace MinFrequency {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1075,9 +1090,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -1085,19 +1100,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace Battery2VoltageThreshold2
+} // namespace MinFrequency
-namespace Battery2VoltageThreshold3 {
+namespace MaxFrequency {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1106,9 +1121,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -1116,19 +1131,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace Battery2VoltageThreshold3
+} // namespace MaxFrequency
-namespace Battery2PercentageMinThreshold {
+namespace Options {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1147,19 +1162,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_BITMAP8_ATTRIBUTE_TYPE);
}
-} // namespace Battery2PercentageMinThreshold
+} // namespace Options
-namespace Battery2PercentageThreshold1 {
+namespace OnOffTransitionTime {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1168,9 +1183,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -1178,328 +1193,284 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace Battery2PercentageThreshold1
+} // namespace OnOffTransitionTime
-namespace Battery2PercentageThreshold2 {
+namespace OnLevel {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
+ if (Traits::IsNullValue(temp))
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ value.SetNull();
+ }
+ else
+ {
+ value.SetNonNull() = Traits::StorageToWorking(temp);
}
- *value = Traits::StorageToWorking(temp);
return status;
}
EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
{
using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ if (!Traits::CanRepresentValue(/* isNullable = */ true, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
}
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
-} // namespace Battery2PercentageThreshold2
-
-namespace Battery2PercentageThreshold3 {
-
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus SetNull(chip::EndpointId endpoint)
{
using Traits = NumericAttributeTraits;
- Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
- VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
- {
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
- }
- *value = Traits::StorageToWorking(temp);
- return status;
+ Traits::StorageType value;
+ Traits::SetNull(value);
+ uint8_t * writable = Traits::ToAttributeStoreRepresentation(value);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+
+EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value)
{
- using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ if (value.IsNull())
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ return SetNull(endpoint);
}
- Traits::StorageType storageValue;
- Traits::WorkingToStorage(value, storageValue);
- uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+
+ return Set(endpoint, value.Value());
}
-} // namespace Battery2PercentageThreshold3
+} // namespace OnLevel
-namespace Battery2AlarmState {
+namespace OnTransitionTime {
-EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
+ if (Traits::IsNullValue(temp))
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ value.SetNull();
+ }
+ else
+ {
+ value.SetNonNull() = Traits::StorageToWorking(temp);
}
- *value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ using Traits = NumericAttributeTraits;
+ if (!Traits::CanRepresentValue(/* isNullable = */ true, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
}
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace Battery2AlarmState
-
-namespace Battery3Voltage {
-
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus SetNull(chip::EndpointId endpoint)
{
- using Traits = NumericAttributeTraits;
- Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
- VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
- {
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
- }
- *value = Traits::StorageToWorking(temp);
- return status;
+ using Traits = NumericAttributeTraits;
+ Traits::StorageType value;
+ Traits::SetNull(value);
+ uint8_t * writable = Traits::ToAttributeStoreRepresentation(value);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+
+EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value)
{
- using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ if (value.IsNull())
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ return SetNull(endpoint);
}
- Traits::StorageType storageValue;
- Traits::WorkingToStorage(value, storageValue);
- uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+
+ return Set(endpoint, value.Value());
}
-} // namespace Battery3Voltage
+} // namespace OnTransitionTime
-namespace Battery3PercentageRemaining {
+namespace OffTransitionTime {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
+ if (Traits::IsNullValue(temp))
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ value.SetNull();
+ }
+ else
+ {
+ value.SetNonNull() = Traits::StorageToWorking(temp);
}
- *value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ using Traits = NumericAttributeTraits;
+ if (!Traits::CanRepresentValue(/* isNullable = */ true, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
}
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace Battery3PercentageRemaining
-
-namespace Battery3Manufacturer {
+EmberAfStatus SetNull(chip::EndpointId endpoint)
+{
+ using Traits = NumericAttributeTraits;
+ Traits::StorageType value;
+ Traits::SetNull(value);
+ uint8_t * writable = Traits::ToAttributeStoreRepresentation(value);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
+}
-EmberAfStatus Get(chip::EndpointId endpoint, chip::MutableCharSpan value)
+EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value)
{
- uint8_t zclString[16 + 1];
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, zclString, sizeof(zclString));
- VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- size_t length = emberAfStringLength(zclString);
- if (length == NumericAttributeTraits::kNullValue)
+ if (value.IsNull())
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ return SetNull(endpoint);
}
- VerifyOrReturnError(value.size() == 16, EMBER_ZCL_STATUS_INVALID_DATA_TYPE);
- memcpy(value.data(), &zclString[1], 16);
- value.reduce_size(length);
- return status;
-}
-EmberAfStatus Set(chip::EndpointId endpoint, chip::CharSpan value)
-{
- static_assert(16 < NumericAttributeTraits::kNullValue, "value.size() might be too big");
- VerifyOrReturnError(value.size() <= 16, EMBER_ZCL_STATUS_CONSTRAINT_ERROR);
- uint8_t zclString[16 + 1];
- emberAfCopyInt8u(zclString, 0, static_cast(value.size()));
- memcpy(&zclString[1], value.data(), value.size());
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, zclString, ZCL_CHAR_STRING_ATTRIBUTE_TYPE);
+ return Set(endpoint, value.Value());
}
-} // namespace Battery3Manufacturer
+} // namespace OffTransitionTime
-namespace Battery3Size {
+namespace DefaultMoveRate {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
+ if (Traits::IsNullValue(temp))
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ value.SetNull();
+ }
+ else
+ {
+ value.SetNonNull() = Traits::StorageToWorking(temp);
}
- *value = Traits::StorageToWorking(temp);
return status;
}
EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
{
using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ if (!Traits::CanRepresentValue(/* isNullable = */ true, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
}
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_ENUM8_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
-} // namespace Battery3Size
-
-namespace Battery3AhrRating {
-
-EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
+EmberAfStatus SetNull(chip::EndpointId endpoint)
{
- using Traits = NumericAttributeTraits;
- Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
- VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
- {
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
- }
- *value = Traits::StorageToWorking(temp);
- return status;
+ using Traits = NumericAttributeTraits;
+ Traits::StorageType value;
+ Traits::SetNull(value);
+ uint8_t * writable = Traits::ToAttributeStoreRepresentation(value);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
+
+EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value)
{
- using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ if (value.IsNull())
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ return SetNull(endpoint);
}
- Traits::StorageType storageValue;
- Traits::WorkingToStorage(value, storageValue);
- uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
+
+ return Set(endpoint, value.Value());
}
-} // namespace Battery3AhrRating
+} // namespace DefaultMoveRate
-namespace Battery3Quantity {
+namespace StartUpCurrentLevel {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
+ if (Traits::IsNullValue(temp))
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ value.SetNull();
+ }
+ else
+ {
+ value.SetNonNull() = Traits::StorageToWorking(temp);
}
- *value = Traits::StorageToWorking(temp);
return status;
}
EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
{
using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ if (!Traits::CanRepresentValue(/* isNullable = */ true, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
}
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
-} // namespace Battery3Quantity
-
-namespace Battery3RatedVoltage {
-
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus SetNull(chip::EndpointId endpoint)
{
using Traits = NumericAttributeTraits;
- Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
- VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
- {
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
- }
- *value = Traits::StorageToWorking(temp);
- return status;
+ Traits::StorageType value;
+ Traits::SetNull(value);
+ uint8_t * writable = Traits::ToAttributeStoreRepresentation(value);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+
+EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value)
{
- using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ if (value.IsNull())
{
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
+ return SetNull(endpoint);
}
- Traits::StorageType storageValue;
- Traits::WorkingToStorage(value, storageValue);
- uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+
+ return Set(endpoint, value.Value());
}
-} // namespace Battery3RatedVoltage
+} // namespace StartUpCurrentLevel
-namespace Battery3AlarmMask {
+namespace FeatureMap {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1508,9 +1479,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -1518,19 +1489,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_BITMAP8_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
}
-} // namespace Battery3AlarmMask
+} // namespace FeatureMap
-namespace Battery3VoltageMinThreshold {
+namespace ClusterRevision {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::LevelControl::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1539,9 +1510,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -1549,81 +1520,115 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::LevelControl::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace Battery3VoltageMinThreshold
+} // namespace ClusterRevision
+
+} // namespace Attributes
+} // namespace LevelControl
+
+namespace BinaryInputBasic {
+namespace Attributes {
-namespace Battery3VoltageThreshold1 {
+namespace ActiveText {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, chip::MutableCharSpan value)
{
- using Traits = NumericAttributeTraits;
- Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ uint8_t zclString[16 + 1];
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, zclString, sizeof(zclString));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
+ size_t length = emberAfStringLength(zclString);
+ if (length == NumericAttributeTraits::kNullValue)
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
}
- *value = Traits::StorageToWorking(temp);
+
+ VerifyOrReturnError(value.size() == 16, EMBER_ZCL_STATUS_INVALID_DATA_TYPE);
+ memcpy(value.data(), &zclString[1], 16);
+ value.reduce_size(length);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, chip::CharSpan value)
{
- using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
- {
- return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
- }
- Traits::StorageType storageValue;
- Traits::WorkingToStorage(value, storageValue);
- uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ static_assert(16 < NumericAttributeTraits::kNullValue, "value.size() might be too big");
+ VerifyOrReturnError(value.size() <= 16, EMBER_ZCL_STATUS_CONSTRAINT_ERROR);
+ uint8_t zclString[16 + 1];
+ emberAfCopyInt8u(zclString, 0, static_cast(value.size()));
+ memcpy(&zclString[1], value.data(), value.size());
+ return emberAfWriteServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, zclString, ZCL_CHAR_STRING_ATTRIBUTE_TYPE);
}
-} // namespace Battery3VoltageThreshold1
+} // namespace ActiveText
-namespace Battery3VoltageThreshold2 {
+namespace Description {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, chip::MutableCharSpan value)
{
- using Traits = NumericAttributeTraits;
- Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ uint8_t zclString[16 + 1];
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, zclString, sizeof(zclString));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
- if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
+ size_t length = emberAfStringLength(zclString);
+ if (length == NumericAttributeTraits::kNullValue)
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
}
- *value = Traits::StorageToWorking(temp);
+
+ VerifyOrReturnError(value.size() == 16, EMBER_ZCL_STATUS_INVALID_DATA_TYPE);
+ memcpy(value.data(), &zclString[1], 16);
+ value.reduce_size(length);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, chip::CharSpan value)
{
- using Traits = NumericAttributeTraits;
- if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
+ static_assert(16 < NumericAttributeTraits::kNullValue, "value.size() might be too big");
+ VerifyOrReturnError(value.size() <= 16, EMBER_ZCL_STATUS_CONSTRAINT_ERROR);
+ uint8_t zclString[16 + 1];
+ emberAfCopyInt8u(zclString, 0, static_cast(value.size()));
+ memcpy(&zclString[1], value.data(), value.size());
+ return emberAfWriteServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, zclString, ZCL_CHAR_STRING_ATTRIBUTE_TYPE);
+}
+
+} // namespace Description
+
+namespace InactiveText {
+
+EmberAfStatus Get(chip::EndpointId endpoint, chip::MutableCharSpan value)
+{
+ uint8_t zclString[16 + 1];
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, zclString, sizeof(zclString));
+ VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
+ size_t length = emberAfStringLength(zclString);
+ if (length == NumericAttributeTraits::kNullValue)
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
}
- Traits::StorageType storageValue;
- Traits::WorkingToStorage(value, storageValue);
- uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+
+ VerifyOrReturnError(value.size() == 16, EMBER_ZCL_STATUS_INVALID_DATA_TYPE);
+ memcpy(value.data(), &zclString[1], 16);
+ value.reduce_size(length);
+ return status;
+}
+EmberAfStatus Set(chip::EndpointId endpoint, chip::CharSpan value)
+{
+ static_assert(16 < NumericAttributeTraits::kNullValue, "value.size() might be too big");
+ VerifyOrReturnError(value.size() <= 16, EMBER_ZCL_STATUS_CONSTRAINT_ERROR);
+ uint8_t zclString[16 + 1];
+ emberAfCopyInt8u(zclString, 0, static_cast(value.size()));
+ memcpy(&zclString[1], value.data(), value.size());
+ return emberAfWriteServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, zclString, ZCL_CHAR_STRING_ATTRIBUTE_TYPE);
}
-} // namespace Battery3VoltageThreshold2
+} // namespace InactiveText
-namespace Battery3VoltageThreshold3 {
+namespace OutOfService {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, bool * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1632,9 +1637,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, bool value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -1642,19 +1647,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, writable, ZCL_BOOLEAN_ATTRIBUTE_TYPE);
}
-} // namespace Battery3VoltageThreshold3
+} // namespace OutOfService
-namespace Battery3PercentageMinThreshold {
+namespace Polarity {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1673,19 +1678,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, writable, ZCL_ENUM8_ATTRIBUTE_TYPE);
}
-} // namespace Battery3PercentageMinThreshold
+} // namespace Polarity
-namespace Battery3PercentageThreshold1 {
+namespace PresentValue {
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, bool * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1694,9 +1699,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, bool value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -1704,19 +1709,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, writable, ZCL_BOOLEAN_ATTRIBUTE_TYPE);
}
-} // namespace Battery3PercentageThreshold1
+} // namespace PresentValue
-namespace Battery3PercentageThreshold2 {
+namespace Reliability {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1735,19 +1740,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, writable, ZCL_ENUM8_ATTRIBUTE_TYPE);
}
-} // namespace Battery3PercentageThreshold2
+} // namespace Reliability
-namespace Battery3PercentageThreshold3 {
+namespace StatusFlags {
EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1766,19 +1771,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, writable, ZCL_BITMAP8_ATTRIBUTE_TYPE);
}
-} // namespace Battery3PercentageThreshold3
+} // namespace StatusFlags
-namespace Battery3AlarmState {
+namespace ApplicationType {
EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1797,10 +1802,10 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, writable, ZCL_INT32U_ATTRIBUTE_TYPE);
}
-} // namespace Battery3AlarmState
+} // namespace ApplicationType
namespace FeatureMap {
@@ -1809,7 +1814,7 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1828,7 +1833,7 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
}
} // namespace FeatureMap
@@ -1840,7 +1845,7 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, readable, sizeof(temp));
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1859,26 +1864,25 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::PowerConfiguration::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::BinaryInputBasic::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
} // namespace ClusterRevision
} // namespace Attributes
-} // namespace PowerConfiguration
+} // namespace BinaryInputBasic
-namespace DeviceTemperatureConfiguration {
+namespace PulseWidthModulation {
namespace Attributes {
-namespace CurrentTemperature {
+namespace FeatureMap {
-EmberAfStatus Get(chip::EndpointId endpoint, int16_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status =
- emberAfReadServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, readable, sizeof(temp));
+ uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PulseWidthModulation::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1887,9 +1891,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, int16_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, int16_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -1897,21 +1901,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, int16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, writable,
- ZCL_INT16S_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::PulseWidthModulation::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
}
-} // namespace CurrentTemperature
+} // namespace FeatureMap
-namespace MinTempExperienced {
+namespace ClusterRevision {
-EmberAfStatus Get(chip::EndpointId endpoint, int16_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status =
- emberAfReadServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, readable, sizeof(temp));
+ uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::PulseWidthModulation::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1920,9 +1922,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, int16_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, int16_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -1930,21 +1932,25 @@ EmberAfStatus Set(chip::EndpointId endpoint, int16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, writable,
- ZCL_INT16S_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::PulseWidthModulation::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace MinTempExperienced
+} // namespace ClusterRevision
+
+} // namespace Attributes
+} // namespace PulseWidthModulation
+
+namespace Descriptor {
+namespace Attributes {
-namespace MaxTempExperienced {
+namespace FeatureMap {
-EmberAfStatus Get(chip::EndpointId endpoint, int16_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status =
- emberAfReadServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, readable, sizeof(temp));
+ uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Descriptor::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1953,9 +1959,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, int16_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, int16_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -1963,21 +1969,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, int16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, writable,
- ZCL_INT16S_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Descriptor::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
}
-} // namespace MaxTempExperienced
+} // namespace FeatureMap
-namespace OverTempTotalDwell {
+namespace ClusterRevision {
EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
using Traits = NumericAttributeTraits;
Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status =
- emberAfReadServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, readable, sizeof(temp));
+ uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Descriptor::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -1996,21 +2000,25 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, writable,
- ZCL_INT16U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Descriptor::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace OverTempTotalDwell
+} // namespace ClusterRevision
-namespace DeviceTempAlarmMask {
+} // namespace Attributes
+} // namespace Descriptor
-EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
+namespace Binding {
+namespace Attributes {
+
+namespace FeatureMap {
+
+EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status =
- emberAfReadServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, readable, sizeof(temp));
+ uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Binding::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -2019,9 +2027,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -2029,21 +2037,19 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, writable,
- ZCL_BITMAP8_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Binding::Id, Id, writable, ZCL_BITMAP32_ATTRIBUTE_TYPE);
}
-} // namespace DeviceTempAlarmMask
+} // namespace FeatureMap
-namespace LowTempThreshold {
+namespace ClusterRevision {
-EmberAfStatus Get(chip::EndpointId endpoint, int16_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
- uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
- EmberAfStatus status =
- emberAfReadServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, readable, sizeof(temp));
+ uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
+ EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::Binding::Id, Id, readable, sizeof(temp));
VerifyOrReturnError(EMBER_ZCL_STATUS_SUCCESS == status, status);
if (!Traits::CanRepresentValue(/* isNullable = */ false, temp))
{
@@ -2052,9 +2058,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, int16_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, int16_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -2062,21 +2068,25 @@ EmberAfStatus Set(chip::EndpointId endpoint, int16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::DeviceTemperatureConfiguration::Id, Id, writable,
- ZCL_INT16S_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Binding::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
}
-} // namespace LowTempThreshold
+} // namespace ClusterRevision
-namespace HighTempThreshold {
+} // namespace Attributes
+} // namespace Binding
-EmberAfStatus Get(chip::EndpointId endpoint, int16_t * value)
+namespace AccessControl {
+namespace Attributes {
+
+namespace SubjectsPerAccessControlEntry {
+
+EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits