Skip to content

Commit

Permalink
Fix brightness control for TS0601_dimmer _TZE200_3p5ydos3. Koenkk/zig…
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Feb 26, 2022
1 parent 45d3444 commit 050d383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converters/toZigbee.js
Original file line number Diff line number Diff line change
Expand Up @@ -3430,7 +3430,7 @@ const converters = {
// upscale to 1000
let newValue;
let dp = tuya.dataPoints.dimmerLevel;
if (meta.device.manufacturerName === '_TZE200_9i9dt8is' || meta.device.manufacturerName === '_TZE200_dfxkcots') {
if (['_TZE200_3p5ydos3', '_TZE200_9i9dt8is', '_TZE200_dfxkcots'].includes(meta.device.manufacturerName)) {
dp = tuya.dataPoints.eardaDimmerLevel;
}
if (key === 'brightness_min') {
Expand Down

0 comments on commit 050d383

Please sign in to comment.