Fix non-metric atmospheric pressure in Open Weather Map (#49030)
Fix non-metric atmospheric pressure in Open Weather Map (#49030)

The openweathermap component retrieves atmospheric pressure from the
openweathermap api and passes it along without checking the units.
The api returns pressure in metric (hPa).  If you the use the weather
forecast card on a non-metric home assistant install, you will then
see the pressure reported as something like '1019 inHg', which is an
incorrect combination of metric value and non-metric label.

To fix this, check when retrieving the pressure if this is a metric
system.  If not, convert the value to non-metric inHg before sending
it along.

Weirdly, this isn't a problem for temperature, so I suspect temp is
getting converted somewhere else.
Danielhiversen/home-assistant,lukas-hetzenecker/home-assistant,rohitranjan1991/home-assistant,kennedyshead/home-assistant,jawilson/home-assistant,lukas-hetzenecker/home-assistant,FreekingDean/home-assistant,aronsky/home-assistant,GenericStudent/home-assistant,w1ll1am23/home-assistant,kennedyshead/home-assistant,home-assistant/home-assistant,sander76/home-assistant,GenericStudent/home-assistant,mezz64/home-assistant,home-assistant/home-assistant,toddeye/home-assistant,toddeye/home-assistant,nkgilley/home-assistant,jawilson/home-assistant,FreekingDean/home-assistant,nkgilley/home-assistant,mezz64/home-assistant,w1ll1am23/home-assistant,rohitranjan1991/home-assistant,Danielhiversen/home-assistant,sander76/home-assistant,aronsky/home-assistant,rohitranjan1991/home-assistant