mirror of https://github.com/simbaja/ha_gehome.git
updated uom for liquid volume per HA specifications
This commit is contained in:
parent
c5e385e067
commit
a09d814dd2
|
@ -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]:
|
||||
|
|
Loading…
Reference in New Issue