From 4c1538624758665e7a1293f0c463dea43c38ba5a Mon Sep 17 00:00:00 2001 From: Wolfgang Apolinarski Date: Mon, 31 Jul 2023 13:29:27 +0200 Subject: [PATCH] fix(detect): Detect `_TZE204_ntcy3xu1` as TuYa TS0601_smoke_1 (#6027) Co-authored-by: Wolfgang Apolinarski --- src/devices/tuya.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/devices/tuya.ts b/src/devices/tuya.ts index a3d630b951f86..c2905b737c7de 100644 --- a/src/devices/tuya.ts +++ b/src/devices/tuya.ts @@ -2950,7 +2950,10 @@ const definitions: Definition[] = [ }, }, { - fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ntcy3xu1']), + fingerprint: [ + {modelID: 'TS0601', manufacturerName: '_TZE200_ntcy3xu1'}, + {modelID: 'TS0601', manufacturerName: '_TZE204_ntcy3xu1'}, + ], model: 'TS0601_smoke_1', vendor: 'TuYa', description: 'Smoke sensor',