Fix yweather (#10661)
This commit is contained in:
1 parent
6ad62a2ccb
commit
086f64b06c
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user