Skip to content

Commit

Permalink
Add battery_voltage sensor for lumi.weather #1338
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Apr 28, 2024
1 parent 1466a1a commit d161b16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@
MathConv("pressure", "sensor", mi="0.3.85", multiply=0.01),
BatVoltConv("battery", "sensor", mi="8.0.2008"),
BaseConv("battery_original", mi="8.0.2001"), # diagnostic
BaseConv("battery_voltage", "sensor"), # diagnostic
],
}, {
# door window sensor
Expand Down

0 comments on commit d161b16

Please sign in to comment.