Skip to content

Commit

Permalink
feat(add): 3RDP01072Z (#8494)
Browse files Browse the repository at this point in the history
Co-authored-by: jintj <[email protected]>
Co-authored-by: Koen Kanters <[email protected]>
  • Loading branch information
3 people authored Dec 24, 2024
1 parent 0f85431 commit 223fad4
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion src/devices/third_reality.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,17 @@ import {Zcl} from 'zigbee-herdsman';
import fz from '../converters/fromZigbee';
import tz from '../converters/toZigbee';
import * as exposes from '../lib/exposes';
import {battery, deviceAddCustomCluster, humidity, iasZoneAlarm, light, onOff, temperature} from '../lib/modernExtend';
import {
battery,
deviceAddCustomCluster,
deviceEndpoints,
electricityMeter,
humidity,
iasZoneAlarm,
light,
onOff,
temperature,
} from '../lib/modernExtend';
import * as reporting from '../lib/reporting';
import {DefinitionWithExtend, Fz, KeyValue} from '../lib/types';

Expand Down Expand Up @@ -406,6 +416,18 @@ const definitions: DefinitionWithExtend[] = [
}),
],
},
{
zigbeeModel: ['3RDP01072Z'],
model: '3RDP01072Z',
vendor: 'Third Reality',
description: 'Zigbee / BLE dual plug with power',
ota: true,
extend: [
deviceEndpoints({endpoints: {left: 1, right: 2}}),
onOff({endpointNames: ['left', 'right']}),
electricityMeter({acFrequency: true, powerFactor: true, endpointNames: ['left', 'right']}),
],
},
{
zigbeeModel: ['3RVS01031Z'],
model: '3RVS01031Z',
Expand Down

0 comments on commit 223fad4

Please sign in to comment.