Skip to content

Commit

Permalink
feat(add): QS-Zigbee-SEC01-DC (#8757)
Browse files Browse the repository at this point in the history
  • Loading branch information
dorianmartinez31 authored Feb 7, 2025
1 parent 49fdcc3 commit 6afe9fc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9331,6 +9331,22 @@ const definitions: DefinitionWithExtend[] = [
configure: async (device, coordinatorEndpoint) => {
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
device.powerSource = 'Mains (single phase)';
// Device advertises itself as Router but is an EndDevice
device.type = 'EndDevice';
device.save();
},
},
{
fingerprint: tuya.fingerprint('TS000F', ['_TZ3218_hdc8bbha']),
model: 'QS-Zigbee-SEC01-DC',
vendor: 'Tuya',
description: 'Mini 1 Gang Zigbee Switch Module',
extend: [tuya.modernExtend.tuyaOnOff({switchType: true})],
configure: async (device, coordinatorEndpoint) => {
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
device.powerSource = 'Mains (single phase)';
// Device advertises itself as Router but is an EndDevice
device.type = 'EndDevice';
device.save();
},
},
Expand Down

0 comments on commit 6afe9fc

Please sign in to comment.