diff --git a/custom_components/gismeteo/const.py b/custom_components/gismeteo/const.py index a0af16e..87c0f0e 100644 --- a/custom_components/gismeteo/const.py +++ b/custom_components/gismeteo/const.py @@ -168,7 +168,7 @@ class ForecastMode(StrEnum): key=ATTR_FORECAST_PRESSURE, translation_key="pressure", device_class=SensorDeviceClass.PRESSURE, - native_unit_of_measurement=UnitOfPressure.HPA, + native_unit_of_measurement=UnitOfPressure.MMHG, ), SensorEntityDescription( key=ATTR_FORECAST_PRECIPITATION_AMOUNT, @@ -302,7 +302,7 @@ class ForecastMode(StrEnum): key=ATTR_FORECAST_PRESSURE, translation_key="pressure_forecast", device_class=SensorDeviceClass.PRESSURE, - native_unit_of_measurement=UnitOfPressure.HPA, + native_unit_of_measurement=UnitOfPressure.MMHG, ), SensorEntityDescription( key=ATTR_FORECAST_PRECIPITATION_AMOUNT,