Skip to content

Commit

Permalink
feat: Allow to change sensitivity of Aqara ZNXNKG02LM (#7536)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirovilya authored May 19, 2024
1 parent 588b035 commit 0b953ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/devices/lumi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2711,6 +2711,14 @@ const definitions: Definition[] = [
lumiAction({actionLookup: {'hold': 0, 'single': 1, 'double': 2, 'release': 255}}),
lumiBattery({voltageToPercentage: '3V_2850_3000'}),
lumiKnobRotation(),
enumLookup({
name: 'sensitivity',
lookup: {'low': 720, 'medium': 360, 'high': 180},
cluster: 'manuSpecificLumi',
attribute: {ID: 0x0234, type: 0x21},
description: 'Rotation sensitivity',
zigbeeCommandOptions: {manufacturerCode},
}),
],
},
{
Expand Down

0 comments on commit 0b953ea

Please sign in to comment.