Skip to content

Commit

Permalink
fix: Improve tuyaAction parsing (#1030)
Browse files Browse the repository at this point in the history
* Parsing of the genOnOff.tuyaAction.value parameter as a buffer

* Split payload to value and data
  • Loading branch information
kirovilya authored Apr 25, 2024
1 parent 8ddb6a0 commit 7867154
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zcl/definition/cluster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ const Clusters: Readonly<Record<ClusterName, Readonly<ClusterDefinition>>> = {
ID: 0xFD,
parameters: [
{name: 'value', type: DataType.uint8},
{name: 'data', type: BuffaloZclDataType.BUFFER},
],
},
tuyaAction2: {
Expand Down

0 comments on commit 7867154

Please sign in to comment.