Skip to content

Instantly share code, notes, and snippets.

@Koenkk

Koenkk/ext.js Secret

Created December 2, 2023 18:51
Show Gist options
  • Save Koenkk/ec7a0f69f8b0e292b847c5654ba34d16 to your computer and use it in GitHub Desktop.
Save Koenkk/ec7a0f69f8b0e292b847c5654ba34d16 to your computer and use it in GitHub Desktop.
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 legacy = require('zigbee-herdsman-converters/lib/legacy');
const extend = require('zigbee-herdsman-converters/lib/extend');
const ota = require('zigbee-herdsman-converters/lib/ota');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const utils = require('zigbee-herdsman-converters/lib/utils');
const globalStore = require('zigbee-herdsman-converters/lib/store');
const {light} = require('zigbee-herdsman-converters/lib/modernExtend');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['RDM-35274001'],
model: 'RDM-35274001',
vendor: 'TODO',
description: 'RGB light bulb',
extend: [light({colorTemp: {range: [153, 555]}, color: true})],
};
module.exports = definition;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment