Skip to content
Snippets Groups Projects
Unverified Commit 671f1293 authored by donoghdb's avatar donoghdb Committed by GitHub
Browse files

Fix met_eireann default wind speed unit (#77229)

Update default units
parent de7fdedd
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ from homeassistant.const import ( ...@@ -13,7 +13,7 @@ from homeassistant.const import (
CONF_NAME, CONF_NAME,
LENGTH_MILLIMETERS, LENGTH_MILLIMETERS,
PRESSURE_HPA, PRESSURE_HPA,
SPEED_METERS_PER_SECOND, SPEED_KILOMETERS_PER_HOUR,
TEMP_CELSIUS, TEMP_CELSIUS,
) )
from homeassistant.core import HomeAssistant from homeassistant.core import HomeAssistant
...@@ -58,7 +58,7 @@ class MetEireannWeather(CoordinatorEntity, WeatherEntity): ...@@ -58,7 +58,7 @@ class MetEireannWeather(CoordinatorEntity, WeatherEntity):
_attr_native_precipitation_unit = LENGTH_MILLIMETERS _attr_native_precipitation_unit = LENGTH_MILLIMETERS
_attr_native_pressure_unit = PRESSURE_HPA _attr_native_pressure_unit = PRESSURE_HPA
_attr_native_temperature_unit = TEMP_CELSIUS _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): def __init__(self, coordinator, config, hourly):
"""Initialise the platform with a data instance and site.""" """Initialise the platform with a data instance and site."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment