Fix yweather (#10661)
This commit is contained in:
parent
d7f9be9640
commit
2ba5f1f45e
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ class YahooWeatherWeather(WeatherEntity):
|
|||
@property
|
||||
def temperature(self):
|
||||
"""Return the temperature."""
|
||||
return self._data.yahoo.Now['temp']
|
||||
return int(self._data.yahoo.Now['temp'])
|
||||
|
||||
@property
|
||||
def temperature_unit(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue