Skip to content

Commit

Permalink
feat(detect): Detect _TZ3210_0aqbrnts as EFK is-thpl-zb. Koenkk/zig…
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jul 24, 2023
1 parent 90d5b44 commit 56333a0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/devices/fantem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,15 @@ const definitions: Definition[] = [
},
},
{
fingerprint: [{modelID: 'TS0202', manufacturerName: '_TZ3210_rxqls8v0'},
{modelID: 'TS0202', manufacturerName: '_TZ3210_zmy9hjay'},
{modelID: 'TS0202', manufacturerName: '_TZ3210_wuhzzfqg'}],
fingerprint: tuya.fingerprint('TS0202', ['_TZ3210_0aqbrnts', '_TZ3210_rxqls8v0', '_TZ3210_zmy9hjay', '_TZ3210_wuhzzfqg']),
model: 'ZB003-X',
vendor: 'Fantem',
description: '4 in 1 multi sensor',
fromZigbee: [fz.battery, fz.ignore_basic_report, fz.illuminance, legacy.fz.ZB003X, fz.ZB003X_attr, fz.ZB003X_occupancy],
toZigbee: [legacy.tz.ZB003X],
whiteLabel: [
tuya.whitelabel('EFK', 'is-thpl-zb', '4 in 1 multi sensor', ['_TZ3210_0aqbrnts']),
],
exposes: [e.occupancy(), e.tamper(), e.illuminance_lux(), e.illuminance(), e.temperature(), e.humidity(),
e.battery(), e.battery_voltage(),
e.numeric('battery2', ea.STATE).withUnit('%').withDescription('Remaining battery 2 in %'),
Expand Down

0 comments on commit 56333a0

Please sign in to comment.