fixed timestamp problem in firefox (#12073)
This commit is contained in:
parent
ebfb380449
commit
4cb1f93019
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class OpenWeatherMapWeather(WeatherEntity):
|
|||
def forecast(self):
|
||||
"""Return the forecast array."""
|
||||
return [{
|
||||
ATTR_FORECAST_TIME: entry.get_reference_time('iso'),
|
||||
ATTR_FORECAST_TIME: entry.get_reference_time('unix') * 1000,
|
||||
ATTR_FORECAST_TEMP: entry.get_temperature('celsius').get('temp')}
|
||||
for entry in self.forecast_data.get_weathers()]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue