I’m attempting to get my Tradfri 30W LED Driver added to zigbee2mqtt. The Model is ICPSHC24-30NA-IL-2. It looks like the EU variant already exists in the master branch, but not the NA variant.
I’ve tried modifying the example external converter for a light, but that doesn’t seem to be working.
import {light} from "zigbee-herdsman-converters/lib/modernExtend";
/** @type{import('zigbee-herdsman-converters/lib/types').DefinitionWithExtend | import('zigbee-herdsman-converters/lib/types').DefinitionWithExtend[]} */
export default {
zigbeeModel: ["TRADFRI transformer 30W", "TRADFRI Driver 30W"],
model: "ICPSHC24-30NA-IL-2",
vendor: "IKEA",
description: "TRADFRI LED driver, 30 w",
// Note that fromZigbee, toZigbee, exposes (and more) are missing here since we use modern extend.
// Modern extends contain all of them and are the preferred way of supporting new devices.
extend: [light({colorTemp: {range: [150, 500]}, color: true})],
};
but I’m getting this error
[2025-06-29 18:40:24] error: z2m: Invalid external extension ‘tradfri-30w.mjs’ was ignored and renamed to prevent interference with Zigbee2MQTT.
Clearly I’m not understanding something about the external converters. It feels like this should be really easy to get woring given the EU variant is already there.