Skip to content

Commit

Permalink
Fix a problem for the Legrand Wireless Scenes command (#7466)
Browse files Browse the repository at this point in the history
  • Loading branch information
Smanar authored Dec 18, 2023
1 parent 67a1497 commit 7c8dc2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devices/legrand/wireless_scenes_command.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"parse": {
"cl": "0x0005",
"cmd": "0x05",
"eval": "Item.val = (ZclFrame.at(0) + 18) * -1000 + 2"
"eval": "Item.val = ((ZclFrame.at(0) << 24 >> 24) + 18) * -1000 + 2"
}
},
{
Expand Down

0 comments on commit 7c8dc2e

Please sign in to comment.