const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); const tz = require('zigbee-herdsman-converters/converters/toZigbee'); const exposes = require('zigbee-herdsman-converters/lib/exposes'); const reporting = require('zigbee-herdsman-converters/lib/reporting'); const extend = require('zigbee-herdsman-converters/lib/extend'); const e = exposes.presets; const ea = exposes.access; const definition = { zigbeeModel: ['GL-C-103P'], model: 'GL-C-103P', vendor: 'Gledopto', description: 'Zigbee LED Controller for Adressable LED', // Note that fromZigbee, toZigbee and exposes are missing here since we use extend here. // Extend contains a default set of fromZigbee/toZigbee converters and expose for common device types. // The following extends are available: // - extend.switch // - extend.light_onoff_brightness // - extend.light_onoff_brightness_colortemp // - extend.light_onoff_brightness_color // - extend.light_onoff_brightness_colortemp_color extend: extend.light_onoff_brightness_color(), }; module.exports = definition;