diff --git a/homeassistant/components/sensor/openweathermap.py b/homeassistant/components/sensor/openweathermap.py index e7936cc0535..9dcb354a125 100644 --- a/homeassistant/components/sensor/openweathermap.py +++ b/homeassistant/components/sensor/openweathermap.py @@ -17,7 +17,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyowm==2.4.0'] +REQUIREMENTS = ['pyowm==2.5.0'] _LOGGER = logging.getLogger(__name__) @@ -174,12 +174,12 @@ class WeatherData(object): """Get the latest data from OpenWeatherMap.""" obs = self.owm.weather_at_coords(self.latitude, self.longitude) if obs is None: - _LOGGER.warning('Failed to fetch data from OWM') + _LOGGER.warning("Failed to fetch data from OpenWeatherMap") return self.data = obs.get_weather() if self.forecast == 1: - obs = self.owm.three_hours_forecast_at_coords(self.latitude, - self.longitude) + obs = self.owm.three_hours_forecast_at_coords( + self.latitude, self.longitude) self.fc_data = obs.get_forecast() diff --git a/requirements_all.txt b/requirements_all.txt index 9efd5d2e755..ccb75612948 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -361,7 +361,7 @@ pynetio==0.1.6 pynx584==0.2 # homeassistant.components.sensor.openweathermap -pyowm==2.4.0 +pyowm==2.5.0 # homeassistant.components.switch.acer_projector pyserial==3.1.1