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

Stop multiplying UV index in hourly forecast by 100 #156

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

rnorth
Copy link
Contributor

@rnorth rnorth commented Dec 4, 2023

Fixes #155

Also ensures rounding is to 2 decimal places, as the API seems to return data with that precision.

Have tested by tweaking HACS clone in local HA, and confirmed that the number looks more sensible and similar to other forecasts.

@cloneofghosts
Copy link
Collaborator

Took a look at this and it looks good to merge, I'll get @alexander0042 to double check to make sure everything is in order and it can get merged.

@alexander0042 alexander0042 merged commit a87356a into Pirate-Weather:master Dec 5, 2023
2 checks passed
@alexander0042
Copy link
Collaborator

This is so great! Yes, you're 100% correct, it was a copy and paste error that got missed when I reviewed it. Thank you so much for not just identifying it, but also submitting a PR to fix it. Can't say enough how much I appreciate it, since PRs like this let me focus my work on improving the underlying API

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

Successfully merging this pull request may close these issues.

UV Index in hourly forecast is 100 times expected value
3 participants