From 671f1293174964fb4a25365e4c1c261decad2ee6 Mon Sep 17 00:00:00 2001 From: donoghdb <85128952+donoghdb@users.noreply.github.com> Date: Wed, 24 Aug 2022 07:18:10 +0100 Subject: [PATCH] Fix met_eireann default wind speed unit (#77229) Update default units --- homeassistant/components/met_eireann/weather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/met_eireann/weather.py b/homeassistant/components/met_eireann/weather.py index f20f0e1254a..b872e9a8df6 100644 --- a/homeassistant/components/met_eireann/weather.py +++ b/homeassistant/components/met_eireann/weather.py @@ -13,7 +13,7 @@ from homeassistant.const import ( CONF_NAME, LENGTH_MILLIMETERS, PRESSURE_HPA, - SPEED_METERS_PER_SECOND, + SPEED_KILOMETERS_PER_HOUR, TEMP_CELSIUS, ) from homeassistant.core import HomeAssistant @@ -58,7 +58,7 @@ class MetEireannWeather(CoordinatorEntity, WeatherEntity): _attr_native_precipitation_unit = LENGTH_MILLIMETERS _attr_native_pressure_unit = PRESSURE_HPA _attr_native_temperature_unit = TEMP_CELSIUS - _attr_native_wind_speed_unit = SPEED_METERS_PER_SECOND + _attr_native_wind_speed_unit = SPEED_KILOMETERS_PER_HOUR def __init__(self, coordinator, config, hourly): """Initialise the platform with a data instance and site.""" -- GitLab