diff --git a/src/zspec/zcl/definition/cluster.ts b/src/zspec/zcl/definition/cluster.ts index 49f8831a61..a97258afe4 100644 --- a/src/zspec/zcl/definition/cluster.ts +++ b/src/zspec/zcl/definition/cluster.ts @@ -2490,10 +2490,32 @@ export const Clusters: Readonly> pm25Measurement: { ID: 0x042a, attributes: { - measuredValue: {ID: 0x0000, type: DataType.UINT16}, - measuredMinValue: {ID: 0x0001, type: DataType.UINT16}, - measuredMaxValue: {ID: 0x0002, type: DataType.UINT16}, - measuredTolerance: {ID: 0x0003, type: DataType.UINT16}, + measuredValue: {ID: 0x0000, type: DataType.SINGLE_PREC}, + measuredMinValue: {ID: 0x0001, type: DataType.SINGLE_PREC}, + measuredMaxValue: {ID: 0x0002, type: DataType.SINGLE_PREC}, + measuredTolerance: {ID: 0x0003, type: DataType.SINGLE_PREC}, + }, + commands: {}, + commandsResponse: {}, + }, + pm1Measurement: { + ID: 0x042c, + attributes: { + measuredValue: {ID: 0x0000, type: DataType.SINGLE_PREC}, + measuredMinValue: {ID: 0x0001, type: DataType.SINGLE_PREC}, + measuredMaxValue: {ID: 0x0002, type: DataType.SINGLE_PREC}, + measuredTolerance: {ID: 0x0003, type: DataType.SINGLE_PREC}, + }, + commands: {}, + commandsResponse: {}, + }, + pm10Measurement: { + ID: 0x042d, + attributes: { + measuredValue: {ID: 0x0000, type: DataType.SINGLE_PREC}, + measuredMinValue: {ID: 0x0001, type: DataType.SINGLE_PREC}, + measuredMaxValue: {ID: 0x0002, type: DataType.SINGLE_PREC}, + measuredTolerance: {ID: 0x0003, type: DataType.SINGLE_PREC}, }, commands: {}, commandsResponse: {}, diff --git a/src/zspec/zcl/definition/tstype.ts b/src/zspec/zcl/definition/tstype.ts index f48c717395..0260f555c1 100644 --- a/src/zspec/zcl/definition/tstype.ts +++ b/src/zspec/zcl/definition/tstype.ts @@ -153,6 +153,8 @@ export type ClusterName = | 'msSoilMoisture' | 'pHMeasurement' | 'msCO2' + | 'pm1Measurement' + | 'pm10Measurement' | 'pm25Measurement' | 'ssIasZone' | 'ssIasAce'