Skip to content

Commit

Permalink
Add back fuel_percent sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
rikroe committed Nov 15, 2021
1 parent 15ba728 commit 4c794c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions custom_components/bmw_connected_drive/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ class BMWSensorEntityDescription(SensorEntityDescription):
unit_metric=VOLUME_LITERS,
unit_imperial=VOLUME_GALLONS,
),
"fuel_percent": BMWSensorEntityDescription(
key="fuel_percent",
icon="mdi:gas-station",
unit_metric=PERCENTAGE,
unit_imperial=PERCENTAGE,
),
}


Expand Down

0 comments on commit 4c794c0

Please sign in to comment.