Commit graph

11 commits

Author SHA1 Message Date
Fabian Affolter
d7e52d8014
Upgrade pyowm to 2.8.0 () 2017-12-29 10:06:52 +01:00
Eugenio Panadero
ac256d5943 handle OWM API error calls () 2017-10-15 10:31:34 +02:00
Fabian Affolter
0981956caa Upgrade pyowm to 2.7.1 () 2017-07-01 12:53:29 +02:00
Fabian Affolter
a4f1f6e724 Update docstrings ()
* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstring

* Update docstrings

* Update docstrings

* Fix lint issues

* Update docstrings

* Revert changes in dict
2017-05-02 09:18:47 -07:00
Tom Matheussen
66d8787d47 Weather platform Forecast ()
* Added forecast functionality to the weather platform, updated OWM to get forecast data

* style fixes

* Changed returned forecast data to a more managable dict

* Fixed line length

* forecast will always be collected, data returned from owm is based on metric setting

* use list comprehension to create the forecast data

* Added forecast data to the weather demo

* Create dict directly in list comprehension

* Minor variable change in weather demo platform

* Convert forecast temperatures in weather component

* set forecast attributes as constants

* Style fixes and tests

* Copied forecast_entry instead of mutating data
2017-02-19 16:42:12 -08:00
Fabian Affolter
6786f83c26 Upgrade pyowm to 2.6.1 () 2017-02-03 09:43:29 +01:00
Fabian Affolter
ac1063266c Upgrade pyowm to 2.6.0 () 2016-12-26 16:31:26 +01:00
Lewis Juggins
67b599475e Fix OWM async I/O () 2016-11-08 18:57:56 -08:00
Fabian Affolter
d7d71c97e2 Make the wind details more robust (weather.openweathermap) ()
* Make the wind details more robust

* Return None if values is not available
2016-11-05 09:15:59 +01:00
Fabian Affolter
be272ac64a Disable too-many-* ()
* Disable too-many-* and too-few-public-methods

* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Fabian Affolter
4c86721e70 Update tests, rename variable, and change conversion () 2016-10-24 21:53:03 -07:00