Skip to content

Commit

Permalink
Use the correct unit of measurement for device class volume for the h…
Browse files Browse the repository at this point in the history
…ydration sensor (#4846)
  • Loading branch information
dshokouhi authored Nov 25, 2024
1 parent 8d866c9 commit 3fb2b0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class HealthConnectSensorManager : SensorManager {
commonR.string.basic_sensor_name_hydration,
commonR.string.sensor_description_hydration,
"mdi:cup-water",
unitOfMeasurement = "ml",
unitOfMeasurement = "mL",
deviceClass = "volume",
stateClass = SensorManager.STATE_CLASS_TOTAL_INCREASING,
entityCategory = SensorManager.ENTITY_CATEGORY_DIAGNOSTIC
Expand Down

0 comments on commit 3fb2b0e

Please sign in to comment.