Skip to content

Commit

Permalink
fix: Fix motor_state for ZNCLDJ12LM (#7483)
Browse files Browse the repository at this point in the history
  • Loading branch information
burmistrzak committed May 4, 2024
1 parent 6696098 commit 8fe5f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/lumi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2620,7 +2620,7 @@ export const fromZigbee = {
let lookup: KeyValueAny = {};

// For lumi.curtain.hagl04 and lumi.curtain.hagl07
if (['ZNCLDJ12LM', 'ZNCLDJ14LM'].includes(model.model)) lookup = {0: 'closing', 1: 'opening', 2: 'stop'};
if (['ZNCLDJ12LM', 'ZNCLDJ14LM'].includes(model.model)) lookup = {0: 'closing', 1: 'opening', 2: 'stopped'};
// for lumi.curtain.acn002
if (['ZNJLBL01LM'].includes(model.model)) lookup = {0: 'closing', 1: 'opening', 2: 'stopped', 3: 'blocked'};

Expand Down

0 comments on commit 8fe5f3f

Please sign in to comment.