Skip to content

Commit

Permalink
fix(detect): Detect _TZE284_vvmbj46n as Tuya ZTH05Z Koenkk/zigbee2m…
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jan 30, 2025
1 parent 9164583 commit 560ae94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ const definitions: DefinitionWithExtend[] = [
},
},
{
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_vvmbj46n']),
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_vvmbj46n', '_TZE284_vvmbj46n']),
model: 'ZTH05Z',
vendor: 'Tuya',
description: 'Temperature and humidity sensor',
Expand Down Expand Up @@ -3562,7 +3562,6 @@ const definitions: DefinitionWithExtend[] = [
// Minute
case 1:
return `${a}:${v.toString().padStart(2, '0')}`;
break;
// Setpoint
case 2:
return `${a}/${v / 2}`;
Expand Down

0 comments on commit 560ae94

Please sign in to comment.