Skip to content

Commit

Permalink
fix(detect): Detect _TZE204_cirvgep4 as TuYa ZTH08-E (#7387)
Browse files Browse the repository at this point in the history
* Add _TZE204_cirvgep4

* Add to fingerprint
  • Loading branch information
mrskycriper committed Apr 11, 2024
1 parent e02e867 commit bdb1092
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/devices/tuya.ts
Expand Up @@ -755,8 +755,11 @@ const definitions: Definition[] = [
},
},
{
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_yjjdcqsq', '_TZE200_9yapgbuv', '_TZE200_utkemkbs', '_TZE204_utkemkbs', '_TZE204_9yapgbuv',
'_TZE204_upagmta9', '_TZE200_cirvgep4', '_TZE200_upagmta9', '_TZE204_yjjdcqsq']),
fingerprint: tuya.fingerprint('TS0601', [
'_TZE200_yjjdcqsq', '_TZE200_9yapgbuv', '_TZE200_utkemkbs', '_TZE204_utkemkbs',
'_TZE204_9yapgbuv', '_TZE204_upagmta9', '_TZE200_cirvgep4', '_TZE200_upagmta9',
'_TZE204_yjjdcqsq', '_TZE204_cirvgep4',
]),
model: 'TS0601_temperature_humidity_sensor_2',
vendor: 'TuYa',
description: 'Temperature and humidity sensor',
Expand All @@ -782,7 +785,7 @@ const definitions: Definition[] = [
tuya.whitelabel('TuYa', 'SZTH02', 'Temperature and humidity sensor', ['_TZE200_utkemkbs', '_TZE204_utkemkbs']),
tuya.whitelabel('TuYa', 'ZTH02', 'Temperature and humidity sensor', ['_TZE200_9yapgbuv', '_TZE204_9yapgbuv']),
tuya.whitelabel('TuYa', 'ZTH05', 'Temperature and humidity sensor', ['_TZE204_upagmta9', '_TZE200_upagmta9']),
tuya.whitelabel('TuYa', 'ZTH08-E', 'Temperature and humidity sensor', ['_TZE200_cirvgep4']),
tuya.whitelabel('TuYa', 'ZTH08-E', 'Temperature and humidity sensor', ['_TZE200_cirvgep4', '_TZE204_cirvgep4']),
],
},
{
Expand Down

0 comments on commit bdb1092

Please sign in to comment.