Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Weather: Fixed exception if degree is not in a valid range #3593

Merged
merged 1 commit into from
Dec 25, 2015
Merged

Weather: Fixed exception if degree is not in a valid range #3593

merged 1 commit into from
Dec 25, 2015

Conversation

gerrieg
Copy link
Contributor

@gerrieg gerrieg commented Dec 23, 2015

@watou
Copy link
Contributor

watou commented Dec 23, 2015

Could it be that -12 could mean 348 degrees?

@gerrieg
Copy link
Contributor Author

gerrieg commented Dec 23, 2015

No, this is clearly the index from the directions array. For my location the degree is 135 now for example.

@teichsta teichsta added this to the 1.8.0 milestone Dec 25, 2015
teichsta added a commit that referenced this pull request Dec 25, 2015
Weather: Fixed exception if degree is not in a valid range
@teichsta teichsta merged commit 22d09a4 into openhab:master Dec 25, 2015
@teichsta
Copy link
Member

Thanks @gerrieg!

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.

3 participants