diff --git a/homeassistant/components/openweathermap/const.py b/homeassistant/components/openweathermap/const.py index 027c08fd84b..f180f2a9bbf 100644 --- a/homeassistant/components/openweathermap/const.py +++ b/homeassistant/components/openweathermap/const.py @@ -31,7 +31,7 @@ from homeassistant.components.weather import ( ) from homeassistant.const import ( DEGREE, - LENGTH_KILOMETERS, + LENGTH_METERS, LENGTH_MILLIMETERS, PERCENTAGE, PRESSURE_HPA, @@ -248,7 +248,7 @@ WEATHER_SENSOR_TYPES: tuple[SensorEntityDescription, ...] = ( SensorEntityDescription( key=ATTR_API_VISIBILITY_DISTANCE, name="Visibility", - native_unit_of_measurement=LENGTH_KILOMETERS, + native_unit_of_measurement=LENGTH_METERS, state_class=SensorStateClass.MEASUREMENT, ), SensorEntityDescription(