Skip to content

Instantly share code, notes, and snippets.

@Koenkk
Last active June 17, 2026 19:14
Show Gist options
  • Select an option

  • Save Koenkk/51d157c4310bbd4402f54ddec98877ac to your computer and use it in GitHub Desktop.

Select an option

Save Koenkk/51d157c4310bbd4402f54ddec98877ac to your computer and use it in GitHub Desktop.
import * as m from 'zigbee-herdsman-converters/lib/modernExtend';
import * as lumi from 'zigbee-herdsman-converters/lib/lumi';
import { Zcl } from "zigbee-herdsman";
import * as tuya from 'zigbee-herdsman-converters/lib/tuya';
export default {
fingerprint: tuya.fingerprint("TS0505A", ["_TZ3000_riwp3k79"]),
model: "TS0505A",
vendor: "Tuya",
description: "Zigbee RGB+CCT light CUSTOM",
extend: [tuya.modernExtend.tuyaLight({ colorTemp: { range: [153, 500] }, color: { modes: ["hs"], applyRedFix: true } })],
configure: (device, coordinatorEndpoint) => {
device.getEndpoint(1).saveClusterAttributeKeyValue("lightingColorCtrl", { colorCapabilities: 29 });
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment