From 465413a49df8ae413ca1605b841525620a9da5cc Mon Sep 17 00:00:00 2001 From: Chartreusito <88147733+Chartreusito@users.noreply.github.com> Date: Wed, 4 Oct 2023 19:47:13 +0200 Subject: [PATCH] fix(detect): Detect `_TZ3000_mrpevh8p` as TuYa SH-SC07 (#6225) * support for _TZ3000_mrpevh8p * fix fingerprint * merge with TS0041 --- src/devices/tuya.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/tuya.ts b/src/devices/tuya.ts index ac8464894ce65..d0cfff0cf08a8 100644 --- a/src/devices/tuya.ts +++ b/src/devices/tuya.ts @@ -1892,6 +1892,7 @@ const definitions: Definition[] = [ description: 'Wireless switch with 1 button', whiteLabel: [{vendor: 'Smart9', model: 'S9TSZGB'}, {vendor: 'Lonsonho', model: 'TS0041'}, {vendor: 'Benexmart', model: 'ZM-sui1'}, tuya.whitelabel('Sber', 'SBDV-00032', 'Wireless switch with 1 button', ['_TYZB01_ub7urdza']), + tuya.whitelabel('TuYa', 'SH-SC07', 'Button Scene Switch', ['_TZ3000_mrpevh8p']), ], exposes: [e.battery(), e.action(['single', 'double', 'hold'])], fromZigbee: [fz.tuya_on_off_action, fz.battery],