From f05c25a7e94b23121da8e05092dc7ce1912cca0f Mon Sep 17 00:00:00 2001 From: Maximilian Giller Date: Sat, 23 Feb 2019 19:13:19 +0100 Subject: [PATCH] Added air humidity as property and changed unit to units --- Calendar/WeatherForecast.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Calendar/WeatherForecast.py b/Calendar/WeatherForecast.py index c02f35b..dff01ff 100644 --- a/Calendar/WeatherForecast.py +++ b/Calendar/WeatherForecast.py @@ -2,6 +2,7 @@ class WeatherForecast (object): """Defines a weather forecast, independent of any implementation""" def __init__ (self): self.air_temperature = None + self.air_humidity = None self.rain_probability = None self.rain_amount = None self.sunrise = None @@ -12,7 +13,7 @@ class WeatherForecast (object): self.icon = None self.short_description = None - self.unit = None + self.units = None self.date = None self.place = None self.fetch_time = None \ No newline at end of file