Skip to content

Commit

Permalink
fix(detect): Detect _TZ3000_mrpevh8p as TuYa SH-SC07 (#6225)
Browse files Browse the repository at this point in the history
* support for _TZ3000_mrpevh8p

* fix fingerprint

* merge with TS0041
  • Loading branch information
Chartreusito authored Oct 4, 2023
1 parent 19e8dc3 commit 465413a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 465413a

Please sign in to comment.