Skip to content
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

Upgrade pyowm to 2.7.1 #8274

Merged
merged 1 commit into from Jul 1, 2017
Merged

Upgrade pyowm to 2.7.1 #8274

merged 1 commit into from Jul 1, 2017

Conversation

fabaff
Copy link
Member

@fabaff fabaff commented Jul 1, 2017

2.7.1

New features:

  • introduced support for Sulphur Dioxide (SO2) and Nitric Dioxide (NO2): new methods owm25.no2index_around_coords and owm25.so2index_around_coords
  • implemented wind speed units specification (imperial/metric)

Bugfixes:

  • updated weather history endpoint (was broken)
  • fix bug about data parsing at station_at_coords and weather_at_station methods
  • now the deg attribute is correctly parsed from 16 day forecast weather data items
  • fix bug on printing Unicode upon library exceptions
  • fix handling of Weather objects parsing (it was failing whenever some data wasn't provided by OWM)

Enhancements:

  • shrinked city ID files size by 60% (via compression)
  • reported in the Wiki a list of known projects that use PyOWM
  • integrated the Say Thanks! hook
  • introduced CONTRIBUTING.md and CODE_OF_CONDUCT.md files, thus welcoming GitHub's suggested best practices for building better open source communities
  • introduced installation tests
  • improved integrations tests organization and running

Breaking changes:

OWM decided to change the syntax of API endpoint for fetching UV data and its format in a non-retrocompatible manner. This results into UVIndex object entity fields changing, as well as the corresponding OWM25 method signature (owm25.uvindex_around_coords).

Related issue (if applicable): fixes #7512

Tested with the following configuration:

sensor:
  - platform: openweathermap
    api_key: !secret owm_api
    forecast: 0
    monitored_conditions:
      - weather
      - temperature
      - wind_speed
      - humidity
      - pressure
weather:
  - platform: openweathermap
    api_key: !secret owm_api

@mention-bot
Copy link

@fabaff, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @rmkraus and @robbiet480 to be potential reviewers.

@fabaff fabaff merged commit 0981956 into home-assistant:dev Jul 1, 2017
@fabaff fabaff deleted the upgrade-pyowm branch July 1, 2017 10:53
@balloob balloob mentioned this pull request Jul 13, 2017
dethpickle pushed a commit to dethpickle/home-assistant that referenced this pull request Aug 18, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Oct 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Openweather component issue
3 participants