@@ -7524,13 +7524,14 @@ export const definitions: DefinitionWithExtend[] = [
7524
7524
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_qhyadm57"]),
7525
7525
model: "TS0726_4_gang_switch_and_2_scene",
7526
7526
vendor: "Tuya",
7527
- description: "4 gang switch and 2 scene",
7527
+ description: "4 gang switch and 2 scene with backlight ",
7528
7528
fromZigbee: [fz.on_off, tuya.fz.power_on_behavior_2, fz.ignore_basic_report, fzLocal.TS0726_action],
7529
- toZigbee: [tz.on_off, tuya.tz.power_on_behavior_2, tzLocal.TS0726_switch_mode],
7529
+ toZigbee: [tz.on_off, tuya.tz.power_on_behavior_2, tzLocal.TS0726_switch_mode, tuya.tz.backlight_indicator_mode_2 ],
7530
7530
exposes: [
7531
7531
...[1, 2, 3, 4].map((ep) => e.switch().withEndpoint(`l${ep}`)),
7532
7532
...[1, 2, 3, 4].map((ep) => e.power_on_behavior().withEndpoint(`l${ep}`)),
7533
7533
...[1, 2, 3, 4].map((ep) => e.enum("switch_mode", ea.STATE_SET, ["switch", "scene"]).withEndpoint(`l${ep}`)),
7534
+ tuya.exposes.backlightModeOffOn().withAccess(ea.STATE_SET),
7534
7535
e.action(["scene_1", "scene_2", "scene_3", "scene_4", "scene_5", "scene_6"]),
7535
7536
],
7536
7537
endpoint: (device) => {
0 commit comments