Skip to content

Commit

Permalink
fix: Fix Backlight for TuYa TS0013 (#7497)
Browse files Browse the repository at this point in the history
Co-authored-by: Pascal Watteel <pascal@watteel.com>
  • Loading branch information
piwi3910 and Pascal Watteel committed May 8, 2024
1 parent 9f767cd commit 085aebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4847,7 +4847,7 @@ const definitions: Definition[] = [
model: 'TS0013',
vendor: 'TuYa',
description: 'Smart light switch - 3 gang without neutral wire',
extend: [tuya.modernExtend.tuyaOnOff({backlightModeLowMediumHigh: true, endpoints: ['left', 'center', 'right']})],
extend: [tuya.modernExtend.tuyaOnOff({backlightModeOffNormalInverted: true, endpoints: ['left', 'center', 'right']})],
endpoint: (device) => {
return {'left': 1, 'center': 2, 'right': 3};
},
Expand Down

0 comments on commit 085aebc

Please sign in to comment.