Skip to content

Commit

Permalink
fix: Fix _TZ3210_mja6r5ix not controllable (#7567)
Browse files Browse the repository at this point in the history
* Fix for Tuya _TZ3210_mja6r5ix

The device was incorrectly identified as TS0505B_2_1, which led to errors when changing color or temperature. This issue has been resolved by correctly identifying it as TS0505B_1_1

* Update tuya.ts

* Update tuya.ts

* Update tuya.ts

* u

---------

Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
  • Loading branch information
diegocjorge and Koenkk authored Sep 23, 2024
1 parent 66349c1 commit 3fe484c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1584,7 +1584,11 @@ const definitions: DefinitionWithExtend[] = [
tuya.whitelabel('Moes', 'ZB-TDA9-RCW-E27-MS', 'RGB+CCT 9W E27 LED bulb', ['_TZ3210_wxa85bwk']),
tuya.whitelabel('Moes', 'ZB-LZD10-RCW', '10W RGB+CCT Smart Downlight', ['_TZ3210_s9lumfhn', '_TZ3210_jjqdqxfq']),
tuya.whitelabel('MiBoxer', 'FUT106ZR', 'GU10 bulb', ['_TZB210_rwy5hexp']),
tuya.whitelabel('Tuya', 'TS0505B_1_1', 'Zigbee 3.0 18W led light bulb E27 RGBCW', ['_TZ3210_jd3z4yig', '_TZ3210_r5afgmkl']),
tuya.whitelabel('Tuya', 'TS0505B_1_1', 'Zigbee 3.0 18W led light bulb E27 RGBCW', [
'_TZ3210_jd3z4yig',
'_TZ3210_r5afgmkl',
'_TZ3210_mja6r5ix',
]),
tuya.whitelabel('MiBoxer', 'FUTC11ZR', 'Outdoor light', ['_TZB210_zmppwawa']),
],
extend: [tuya.modernExtend.tuyaLight({colorTemp: {range: [153, 500]}, color: true})],
Expand All @@ -1599,7 +1603,6 @@ const definitions: DefinitionWithExtend[] = [
description: 'Zigbee RGB+CCT light',
whiteLabel: [
tuya.whitelabel('Lidl', '14149505L/14149506L_2', 'Livarno Lux light bar RGB+CCT (black/white)', ['_TZ3210_iystcadi']),
tuya.whitelabel('Tuya', 'TS0505B_2_1', 'Zigbee 3.0 18W led light bulb E27 RGBCW', ['_TZ3210_mja6r5ix']),
tuya.whitelabel('Tuya', 'TS0505B_2_2', 'Zigbee GU10/E14 5W smart bulb', ['_TZ3210_it1u8ahz']),
],
toZigbee: [tz.on_off, tzLocal.led_control, tuya.tz.do_not_disturb],
Expand Down

0 comments on commit 3fe484c

Please sign in to comment.