Skip to content

Commit

Permalink
Add battery conv to XMWSDJ04MMC
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Jan 24, 2023
1 parent a4a17c9 commit a4c75ba
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,7 @@
# https://github.com/AlexxIT/XiaomiGateway3/issues/929
MathConv("temperature", mi="3.p.1001", min=-30, max=100, round=1),
MathConv("humidity", mi="3.p.1008", min=0, max=100, round=1),
Converter("battery", mi="2.p.1003"),
Converter("battery", "sensor", enabled=None), # no in new firmwares
],
}, {
Expand Down

0 comments on commit a4c75ba

Please sign in to comment.