We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aa4e12 commit 6dc2d41Copy full SHA for 6dc2d41
src/devices/tuya.ts
@@ -12114,6 +12114,22 @@ const definitions: DefinitionWithExtend[] = [
12114
],
12115
},
12116
12117
+ {
12118
+ fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ppuj1vem']),
12119
+ model: 'ZPIR-10',
12120
+ vendor: 'Tuya',
12121
+ description: 'Treatlife human presence sensor',
12122
+ fromZigbee: [tuya.fz.datapoints],
12123
+ toZigbee: [tuya.tz.datapoints],
12124
+ exposes: [e.occupancy(), e.battery(), e.illuminance()],
12125
+ meta: {
12126
+ tuyaDatapoints: [
12127
+ [1, 'occupancy', tuya.valueConverter.trueFalse0],
12128
+ [4, 'battery', tuya.valueConverter.raw],
12129
+ [101, 'illuminance', tuya.valueConverter.raw],
12130
+ ],
12131
+ },
12132
12133
];
12134
12135
export default definitions;
0 commit comments