Skip to content

Commit

Permalink
fix: use unit PERCENTAGE for 700series battery
Browse files Browse the repository at this point in the history
  • Loading branch information
ivancoppa committed Oct 27, 2024
1 parent a329d8b commit d2622ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/wellbeing/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ def _create_entities(data):
ApplianceSensor(
name="Battery Status",
attr="batteryStatus",
unit=PERCENTAGE,
device_class=SensorDeviceClass.BATTERY,
),
ApplianceSensor(
Expand Down

0 comments on commit d2622ea

Please sign in to comment.