Skip to content

Commit

Permalink
Fix develco_fw. Koenkk/zigbee2mqtt#12080
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Apr 5, 2022
1 parent e1747a3 commit a4a2ac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions converters/fromZigbee.js
Original file line number Diff line number Diff line change
Expand Up @@ -7565,11 +7565,11 @@ const converters = {
if (0x8000 in msg.data) {
const firmware = msg.data[0x8000].join('.');
result.current_firmware = firmware;
msg.device.zhDevice.softwareBuildID = firmware;
meta.device.softwareBuildID = firmware;
}

if (0x8020 in msg.data) {
msg.device.zhDevice.hardwareVersion = msg.data[0x8020].join('.');
meta.device.hardwareVersion = msg.data[0x8020].join('.');
}

return result;
Expand Down

0 comments on commit a4a2ac2

Please sign in to comment.