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

Catch KeyError if data is not available (fixes #18082) #18089

Merged
merged 1 commit into from Nov 1, 2018

Conversation

Projects
None yet
2 participants
@fabaff
Member

fabaff commented Nov 1, 2018

Description:

The data for the wind direction is not always available.

Related issue (if applicable): fixes #18082

Example entry for configuration.yaml (if applicable):

sensor:
  - platform: openweathermap
    api_key: !secret owm_api
    monitored_conditions:
    - wind_speed
    - wind_bearing

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

@wafflebot wafflebot bot added the in progress label Nov 1, 2018

@fabaff fabaff merged commit a936148 into dev Nov 1, 2018

6 checks passed

Hound No violations found. Woof!
WIP ready for review
Details
cla-bot Everyone involved has signed the CLA
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
coverage/coveralls First build on owm-wind-bearing at 93.068%
Details

@wafflebot wafflebot bot removed the in progress label Nov 1, 2018

@fabaff fabaff deleted the owm-wind-bearing branch Nov 1, 2018

@balloob balloob referenced this pull request Nov 9, 2018

Merged

0.82 #18335

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment