Skip to content

Commit

Permalink
fix(detect): Detect _TZ3000_lugaswf8 as TuYa ZG-2002-RF (#6236)
Browse files Browse the repository at this point in the history
* add fingerprint for ZG-2002-RF

* Update tuya.ts

---------

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
  • Loading branch information
Chartreusito and Koenkk authored Oct 5, 2023
1 parent 465413a commit 851fe33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2154,7 +2154,9 @@ const definitions: Definition[] = [
whiteLabel: [
{vendor: 'Zemismart', model: 'ZM-CSW002-D_switch'},
{vendor: 'Lonsonho', model: 'X702'},
{vendor: 'AVATTO', model: 'ZTS02'}],
{vendor: 'AVATTO', model: 'ZTS02'},
tuya.whitelabel('TuYa', 'ZG-2002-RF', 'Three mode Zigbee Switch', ['_TZ3000_lugaswf8']),
],
extend: tuya.extend.switch(),
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2')],
endpoint: (device) => {
Expand Down

0 comments on commit 851fe33

Please sign in to comment.