From ee4b1e2b78479548065d710d5adbd24ed1064624 Mon Sep 17 00:00:00 2001 From: Hugo D Date: Mon, 6 Jun 2016 17:00:26 +0200 Subject: [PATCH] The metric unit of pressure is mbar not mBar (#2248) This is useful to vaoid having several graph for the same type of data According to wikipedia: Units derived from the bar include the megabar (symbol: Mbar), kilobar (symbol: kbar), decibar (symbol: dbar), centibar (symbol: cbar), and millibar (symbol: mbar or mb). --- homeassistant/components/sensor/forecast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/forecast.py b/homeassistant/components/sensor/forecast.py index 4bfd990bc54..c034c85fff4 100644 --- a/homeassistant/components/sensor/forecast.py +++ b/homeassistant/components/sensor/forecast.py @@ -37,7 +37,7 @@ SENSOR_TYPES = { 'wind_bearing': ['Wind Bearing', '°', '°', '°', '°', '°'], 'cloud_cover': ['Cloud Coverage', '%', '%', '%', '%', '%'], 'humidity': ['Humidity', '%', '%', '%', '%', '%'], - 'pressure': ['Pressure', 'mBar', 'mBar', 'mBar', 'mBar', 'mBar'], + 'pressure': ['Pressure', 'mbar', 'mbar', 'mbar', 'mbar', 'mbar'], 'visibility': ['Visibility', 'km', 'm', 'km', 'km', 'm'], 'ozone': ['Ozone', 'DU', 'DU', 'DU', 'DU', 'DU'], }