New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2.6.0 #166
Merged
Release 2.6.0 #166
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* First attempt * Guide * Fix Dockerfile and docs
… there is a polar day
… there is a polar day
… there is a polar day
… there is a polar day
… there is a polar day
Hello ! I'm useing Homeassistant, and sometimes I got the following error: ``` Traceback (most recent call last): File "/home/titilambert/gits/domo/homeassitant/env/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 98, in _setup_platform discovery_info) File "/home/titilambert/gits/domo/homeassitant/env/lib/python3.4/site-packages/homeassistant/components/sensor/openweathermap.py", line 70, in setup_platform dev.append(OpenWeatherMapSensor(data, variable, unit)) File "/home/titilambert/gits/domo/homeassitant/env/lib/python3.4/site-packages/homeassistant/components/sensor/openweathermap.py", line 94, in __init__ self.update() File "/home/titilambert/gits/domo/homeassitant/env/lib/python3.4/site-packages/homeassistant/components/sensor/openweathermap.py", line 114, in update self.owa_client.update() File "/home/titilambert/gits/domo/homeassitant/env/lib/python3.4/site-packages/homeassistant/util/__init__.py", line 289, in wrapper result = method(*args, **kwargs) File "/home/titilambert/gits/domo/homeassitant/env/lib/python3.4/site-packages/homeassistant/components/sensor/openweathermap.py", line 179, in update self.longitude) File "/home/titilambert/gits/domo/homeassitant/config/deps/pyowm/webapi25/owm25.py", line 432, in three_hours_forecast_at_coords forecast = self._parsers['forecast'].parse_JSON(json_data) File "/home/titilambert/gits/domo/homeassitant/config/deps/pyowm/webapi25/forecastparser.py", line 66, in parse_JSON for item in d['list']] File "/home/titilambert/gits/domo/homeassitant/config/deps/pyowm/webapi25/forecastparser.py", line 66, in <listcomp> for item in d['list']] File "/home/titilambert/gits/domo/homeassitant/config/deps/pyowm/webapi25/weather.py", line 462, in weather_from_dictionary wind = d['wind'].copy() AttributeError: 'NoneType' object has no attribute 'copy' ``` This patch fixes this error
…itilambert-patch-1
* COIndex entity and tests * Change XML schema and fix tests * Fix CO sample key: had to be "value" instead of "vmr" * COIndexParser and test * Typo * HTTP Air Pollution data client and tests * cut 'n' paste leftovers * Refactoring: we're getting too verbose, man! * More refactoring * OWM method for polling CO and test * Fix docs * Fix mess about reception_time: now UVIndex entities have both a reference_time and a reception_time * Same fix: reference_time and reception_time are now available (with proper semantic) on COIndex * Add is_forecast method to COIndex * fix test * cleaner * Ozone entity and OzoneParser * Integation tests updated with air pollution airpoints check * Add ozone_around_coords method to OWM25 and patched tests along * Fix bug: it was failing due to missing location sting * Better exception raising * Improved some integration tests
* Using now tox also for integration tests running * New ignored * First model: Location * More models * Rename and replace with full Django project * Station model * StationHistory model * UVIndex model * Forgot some methods * Fix typo * Global import * how to run tests * Missing models and tests (still broken) * Wrong classes * Missing __repr__ methods * Tests now working and fixed a few bugs * Fix fields nullability * save_all() * Move all Django models stuff to a separate Github repository * Remove ghost packages * Don't package tests anymore * also, no more test suites in setup.py * Reverted
* Deprecation decorator * addendum
* Failing unit tests and implementation stub * Rebase and add deprecations * Nice, indeed * Improve interface of ids_for and one more (failing) test * Patch some city names as they were containing more than 1 comma * Implementation and working tests for: ids_for() * One more test * Refactoring * Implemented and tested: locations_for()
* Better README.md * Move technical docs here from wiki * Move contents to GitHub wiki * Moved docs and included into setup.py as module
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.