diff --git a/src/devices/tuya.ts b/src/devices/tuya.ts index 926bcca03cebf..426f222b114a3 100644 --- a/src/devices/tuya.ts +++ b/src/devices/tuya.ts @@ -1454,7 +1454,6 @@ const definitions: Definition[] = [ tuya.whitelabel('Lidl', 'HG08008', 'Livarno Home LED ceiling light', ['_TZ3210_p9ao60da']), tuya.whitelabel('Lidl', 'HG08007', 'Livarno Home outdoor LED band', ['_TZ3210_zbabx9wh']), tuya.whitelabel('Lidl', '399629_2110', 'Livarno Lux Ceiling Panel RGB+CCT', ['_TZ3210_c0s1xloa', '_TZ3210_x13bu7za']), - tuya.whitelabel('TuYa', 'TS0505B_1_3', 'Zigbee 10W Downlight RGB CCW', ['_TZ3210_it1u8ahz']), tuya.whitelabel('Nous', 'P3Z', 'Smart light bulb', ['_TZ3210_cieijuw1']), tuya.whitelabel('Moes', 'ZLD-RCW_1', 'RGB+CCT Zigbee LED controller', ['_TZ3000_7hcgjxpc']), tuya.whitelabel('Moes', 'ZB-TD5-RCW-GU10', 'RGB+CCT 4.7W GU10 LED bulb', ['_TZ3210_rcggc0ys']), diff --git a/src/index.ts b/src/index.ts index f4cb617549459..ddfa96724d4b5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -133,7 +133,8 @@ function processExtensions(definition: Definition): Definition { if (ext.fromZigbee) fromZigbee.push(...ext.fromZigbee); if (ext.exposes) addToAllExposes(ext.exposes); if (ext.meta) meta = {...ext.meta, ...meta}; - if (ext.configure) configures.push(...ext.configure); + // Filter `undefined` configures, e.g. returned by setupConfigureForReporting. + if (ext.configure) configures.push(...ext.configure.filter((c) => c)); if (ext.onEvent) onEvents.push(ext.onEvent); if (ext.ota) { if (ota && ext.ota !== ota) {