Skip to content

Commit

Permalink
fix(detect): Detect _TZ3000_zjchz7pd as Immax 07573L (#7870)
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Pecta <opecta@gmail.com>
  • Loading branch information
octa22 authored Aug 19, 2024
1 parent 112abd1 commit 99defa3
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8209,7 +8209,14 @@ const definitions: Definition[] = [
configure: tuya.configureMagicPacket,
},
{
fingerprint: tuya.fingerprint('TS011F', ['_TZ3000_cayepv1a', '_TZ3000_lepzuhto', '_TZ3000_qystbcjg', '_TZ3000_zrm3oxsh', '_TZ3000_303avxxt']),
fingerprint: tuya.fingerprint('TS011F', [
'_TZ3000_cayepv1a',
'_TZ3000_lepzuhto',
'_TZ3000_qystbcjg',
'_TZ3000_zrm3oxsh',
'_TZ3000_303avxxt',
'_TZ3000_zjchz7pd',
]),
model: 'TS011F_with_threshold',
description: 'Din rail switch with power monitoring and threshold settings',
vendor: 'Tuya',
Expand All @@ -8226,7 +8233,7 @@ const definitions: Definition[] = [
toZigbee: [tzLocal.TS011F_threshold],
exposes: (device, options) => {
const exposes: Expose[] = [e.linkquality()];
if (device?.manufacturerName !== '_TZ3000_303avxxt') {
if (device?.manufacturerName !== '_TZ3000_303avxxt' && device?.manufacturerName !== '_TZ3000_zjchz7pd') {
exposes.push(
e.temperature(),
e
Expand Down Expand Up @@ -8295,6 +8302,7 @@ const definitions: Definition[] = [
tuya.whitelabel('EARU', 'EAYCB-Z-2P', 'Smart circuit breaker with leakage protection', ['_TZ3000_zrm3oxsh']),
tuya.whitelabel('UNSH', 'SMKG-1KNL-EU-Z', 'Smart circuit Breaker', ['_TZ3000_qystbcjg']),
tuya.whitelabel('Tomzn', 'TOB9Z-M', 'Smart circuit breaker', ['_TZ3000_303avxxt']),
tuya.whitelabel('Immax', '07573L', 'Smart circuit breaker', ['_TZ3000_zjchz7pd']),
],
},
{
Expand Down

0 comments on commit 99defa3

Please sign in to comment.