updated uom for liquid volume per HA specifications

This commit is contained in:
Jack Simbach 2023-01-29 09:32:01 -05:00
parent c5e385e067
commit a09d814dd2
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class GeErdSensor(GeErdEntity, SensorEntity):
if self.erd_code_class == ErdCodeClass.LIQUID_VOLUME:
#if self._measurement_system == ErdMeasurementUnits.METRIC:
# return "l"
return "g"
return "gal"
return None
def _get_device_class(self) -> Optional[str]: