Skip to content

Commit

Permalink
Add TS0014 variant (Koenkk#2597)
Browse files Browse the repository at this point in the history
* Update tuya.js

* fix lint error

* fix another lint error

* more lint demands
  • Loading branch information
blakadder authored May 18, 2021
1 parent 3cf4131 commit 14b7d22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions devices/tuya.js
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ module.exports = [
},
{
fingerprint: [{modelID: 'TS0014', manufacturerName: '_TZ3000_jr2atpww'}, {modelID: 'TS0014', manufacturerName: '_TYZB01_dvakyzhd'},
{modelID: 'TS0014', manufacturerName: '_TZ3210_w3hl6rao'}],
{modelID: 'TS0014', manufacturerName: '_TZ3210_w3hl6rao'}, {modelID: 'TS0014', manufacturerName: '_TYZB01_bagt1e4o'}],
model: 'TS0014',
vendor: 'TuYa',
description: 'Smart light switch - 4 gang without neutral wire',
Expand All @@ -771,7 +771,8 @@ module.exports = [
endpoint: (device) => {
return {'l1': 1, 'l2': 2, 'l3': 3, 'l4': 4};
},
whiteLabel: [{vendor: 'TUYATEC', model: 'GDKES-04TZXD'}, {vendor: 'Vizo', model: 'VZ-222S'}],
whiteLabel: [{vendor: 'TUYATEC', model: 'GDKES-04TZXD'}, {vendor: 'Vizo', model: 'VZ-222S'},
{vendor: 'MakeGood', model: 'MG-ZG04W/B/G'}],
meta: {multiEndpoint: true},
configure: async (device, coordinatorEndpoint, logger) => {
try {
Expand Down

0 comments on commit 14b7d22

Please sign in to comment.