From 0859e38bd52bdb36814ad4679b377397c73a8b41 Mon Sep 17 00:00:00 2001 From: Ioan Loosley Date: Thu, 18 Jan 2018 21:03:01 +0000 Subject: [PATCH] Unit should be mph as that is what the metoffices datapoint API returns (#11760) --- homeassistant/components/sensor/metoffice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/sensor/metoffice.py b/homeassistant/components/sensor/metoffice.py index 43290d21e11..772e59f266e 100644 --- a/homeassistant/components/sensor/metoffice.py +++ b/homeassistant/components/sensor/metoffice.py @@ -64,9 +64,9 @@ SENSOR_TYPES = { 'weather': ['Weather', None], 'temperature': ['Temperature', TEMP_CELSIUS], 'feels_like_temperature': ['Feels Like Temperature', TEMP_CELSIUS], - 'wind_speed': ['Wind Speed', 'm/s'], + 'wind_speed': ['Wind Speed', 'mph'], 'wind_direction': ['Wind Direction', None], - 'wind_gust': ['Wind Gust', 'm/s'], + 'wind_gust': ['Wind Gust', 'mph'], 'visibility': ['Visibility', None], 'visibility_distance': ['Visibility Distance', 'km'], 'uv': ['UV', None],