Skip to content

Commit

Permalink
fix: Fix LifeControl MCLH-04 battery % incorrect. Koenkk/zigbee2mqtt#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jun 13, 2023
1 parent f5c68ac commit 1d4e3cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/devices/lifecontrol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const definitions: Definition[] = [
description: 'Door sensor',
fromZigbee: [fz.ias_contact_alarm_1, fz.battery],
toZigbee: [],
meta: {battery: {dontDividePercentage: true}},
exposes: [e.contact(), e.battery_low(), e.tamper(), e.battery()],
},
{
Expand Down

0 comments on commit 1d4e3cc

Please sign in to comment.