From 239b3f059b98502b5557f597b71a68339c42ce9c Mon Sep 17 00:00:00 2001
From: Randall Wessel <randyxxl@users.noreply.github.com>
Date: Sat, 7 Nov 2020 20:29:57 +0100
Subject: [PATCH] Change air pressure unit to hPa in OpenWeatherMap (#42801)

---
 homeassistant/components/openweathermap/const.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/homeassistant/components/openweathermap/const.py b/homeassistant/components/openweathermap/const.py
index e5451322ea6..2c23c618c75 100644
--- a/homeassistant/components/openweathermap/const.py
+++ b/homeassistant/components/openweathermap/const.py
@@ -16,7 +16,7 @@ from homeassistant.const import (
     DEVICE_CLASS_TIMESTAMP,
     LENGTH_MILLIMETERS,
     PERCENTAGE,
-    PRESSURE_PA,
+    PRESSURE_HPA,
     SPEED_METERS_PER_SECOND,
     TEMP_CELSIUS,
 )
@@ -170,7 +170,7 @@ WEATHER_SENSOR_TYPES = {
     },
     ATTR_API_PRESSURE: {
         SENSOR_NAME: "Pressure",
-        SENSOR_UNIT: PRESSURE_PA,
+        SENSOR_UNIT: PRESSURE_HPA,
         SENSOR_DEVICE_CLASS: DEVICE_CLASS_PRESSURE,
     },
     ATTR_API_CLOUDS: {SENSOR_NAME: "Cloud coverage", SENSOR_UNIT: PERCENTAGE},
-- 
GitLab