mirror of
https://github.com/home-assistant/core.git
synced 2025-06-14 10:07:08 +00:00
Fix yweather (#10661)
This commit is contained in:
parent
6ad62a2ccb
commit
086f64b06c
@ -115,7 +115,7 @@ class YahooWeatherWeather(WeatherEntity):
|
|||||||
@property
|
@property
|
||||||
def temperature(self):
|
def temperature(self):
|
||||||
"""Return the temperature."""
|
"""Return the temperature."""
|
||||||
return self._data.yahoo.Now['temp']
|
return int(self._data.yahoo.Now['temp'])
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def temperature_unit(self):
|
def temperature_unit(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user