From ad477a6b2a9db15e0f1752efeb4b73e4e0b4fb75 Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Thu, 16 Dec 2021 10:03:54 -0600 Subject: [PATCH] i3pystatus.weather.wunderground: Fix daily high/low temp to reflect API changes (#829) --- i3pystatus/weather/wunderground.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3pystatus/weather/wunderground.py b/i3pystatus/weather/wunderground.py index 565f549..e9d75ff 100644 --- a/i3pystatus/weather/wunderground.py +++ b/i3pystatus/weather/wunderground.py @@ -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)