Advertisement
nvsch

Untitled

Aug 11th, 2022
1,039
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
  2. const tz = require('zigbee-herdsman-converters/converters/toZigbee');
  3. const exposes = require('zigbee-herdsman-converters/lib/exposes');
  4. const reporting = require('zigbee-herdsman-converters/lib/reporting');
  5.  
  6. const e = exposes.presets;
  7. const ea = exposes.access;
  8. const tuya = require("zigbee-herdsman-converters/lib/tuya");
  9. //const extend = require('zigbee-herdsman-converters/lib/extend');
  10. const definition = {
  11.     fingerprint: [{modelID: 'TS0505B',manufacturerName: '_TZ3210_hzy4rjz3'}],
  12.     model: 'TS0505B',
  13.     vendor: 'TuYa',
  14.     description: 'Zigbee RGB+CCT LED Controller',
  15.     extend: extend.light_onoff_brightness_colortemp_color(
  16.         {disableColorTempStartup: true, colorTempRange: [153, 500], disableEffect: true}),
  17.     meta: {applyRedFix: true, enhancedHue: false},
  18. };
  19.  
  20. module.exports = definition;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement