i3pystatus.weather.wunderground: Fix daily high/low temp to reflect API changes (#829)
This commit is contained in:
parent
8476fd6a35
commit
ad477a6b2a
@ -212,8 +212,8 @@ class Wunderground(WeatherBackend):
|
||||
self.data['condition'] = _find('v3-wx-observations-current:wxPhraseMedium', overview)
|
||||
self.data['observation_time'] = observation_time
|
||||
self.data['current_temp'] = _find('units:temp', observation, '0')
|
||||
self.data['low_temp'] = _find('calendarDayTemperatureMin:0', forecast)
|
||||
self.data['high_temp'] = _find('calendarDayTemperatureMax:0', forecast)
|
||||
self.data['low_temp'] = _find('temperatureMin:0', forecast)
|
||||
self.data['high_temp'] = _find('temperatureMax:0', forecast)
|
||||
self.data['temp_unit'] = temp_unit
|
||||
self.data['feelslike'] = _find('units:heatIndex', observation)
|
||||
self.data['dewpoint'] = _find('units:dewpt', observation)
|
||||
|
Loading…
Reference in New Issue
Block a user