* Convert wind speed to km/h (fixes #15710) * Round speedpull/15767/head
parent
5f214ffa98
commit
a4f9602405
|
@ -131,7 +131,7 @@ class OpenWeatherMapWeather(WeatherEntity):
|
|||
@property
|
||||
def wind_speed(self):
|
||||
"""Return the wind speed."""
|
||||
return self.data.get_wind().get('speed')
|
||||
return round(self.data.get_wind().get('speed') * 3.6, 2)
|
||||
|
||||
@property
|
||||
def wind_bearing(self):
|
||||
|
|
Loading…
Reference in New Issue