i3pystatus.weather.wunderground: Fix daily high/low temp to reflect API changes (#829)

This commit is contained in:
Erik Johnson 2021-12-16 10:03:54 -06:00 committed by GitHub
parent 8476fd6a35
commit ad477a6b2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)