UNPKG

zigbee-herdsman-converters

Version:

Collection of device converters to be used with zigbee-herdsman

29 lines (27 loc) 1.07 kB
const exposes = require('../lib/exposes'); const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/legacy').fromZigbee}; const tz = require('../converters/toZigbee'); const tuya = require('../lib/tuya'); const extend = require('../lib/extend'); const e = exposes.presets; module.exports = [ { fingerprint: [{modelID: 'TS0101', manufacturerName: '_TZ3210_eymunffl'}], model: 'R7060', vendor: 'Woox', description: 'Smart garden irrigation control', fromZigbee: [fz.on_off, fz.ignore_tuya_set_time, fz.ignore_basic_report, fz.woox_R7060], toZigbee: [tz.on_off], onEvent: tuya.onEventSetTime, exposes: [e.switch()], meta: {disableDefaultResponse: true}, }, { fingerprint: [{modelID: 'TS0505A', manufacturerName: '_TZ3000_keabpigv'}], model: 'R9077', vendor: 'Woox', description: 'RGB+CCT LED', extend: extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true}), meta: {applyRedFix: true}, }, ];