-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[fmiweather] Fix discovery exception #17669
Conversation
Fixes openhab#17668 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Thanks, looks reasonable to me! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks,LGTM
I need coffee, missed the test label. If there is a regression ping me and I’ll look at it with high priority
No worries, I needed glasses when looking for the "Convert to draft" in the GitHub app for Android. 😄 I just remembered that I wanted to have a look at possibly refactoring this, so that it wouldn't perform network call from the constructor, but rather when scan (manual or background) is triggered: Lines 78 to 90 in 276254d
I tested the |
I am a bit short on time to test this out it should discover observation stations nearby your location so if you put helsinki's coordinates in openhab, you should see something popping up |
Thanks, it works nicely! 👍 |
Fixes openhab#17668 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Fixes openhab#17668 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Fixes #17668
Refactoring similar to #17616