Skip to content

Commit

Permalink
Fix NAS-AB02B2 alarm volume inverted. Koenkk/zigbee2mqtt#10348
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jan 23, 2022
1 parent 13e9813 commit 40049eb
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 @@ -5096,7 +5096,7 @@ const converters = {
await tuya.sendDataPointEnum(
entity,
tuya.dataPoints.neoAOVolume,
{'low': 2, 'medium': 1, 'high': 0}[value]);
{'low': 0, 'medium': 1, 'high': 2}[value]);
break;
case 'duration':
await tuya.sendDataPointValue(entity, tuya.dataPoints.neoAODuration, value);
Expand Down

0 comments on commit 40049eb

Please sign in to comment.