Skip to content

Commit

Permalink
fix: Remove IKEA specific pm25 measuredValue attribute (#890)
Browse files Browse the repository at this point in the history
When just dropping manufacturerCode there is a conflict. Docoding seems to work fine even if the DP does not match.
Configure reporting in zhc will need a bit of extra help.
  • Loading branch information
sjorge authored Jan 28, 2024
1 parent 9b6c04b commit e8387ff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/zcl/definition/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2672,9 +2672,6 @@ const Cluster: {
pm25Measurement: {
ID: 0x042a,
attributes: {
//IKEA Vindstyrka: measured value is reported as float
measuredValueIkea: {ID: 0x0000, type: DataType.singlePrec, manufacturerCode: ManufacturerCode.IKEA_OF_SWEDEN},
//default cluster spec: values reported as uint16
measuredValue: {ID: 0x0000, type: DataType.uint16},
measuredMinValue: {ID: 0x0001, type: DataType.uint16},
measuredMaxValue: {ID: 0x0002, type: DataType.uint16},
Expand Down

0 comments on commit e8387ff

Please sign in to comment.