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

Bug fix - Hourly Rain unit of measurement incorrect #79

Merged
merged 5 commits into from
Jun 18, 2022

Conversation

tankdeer
Copy link
Contributor

@tankdeer tankdeer commented Jun 18, 2022

Fixes #80

Hope you don't find this too presumptuous of me. I've been playing with this the past few days since the add-on was created, and noticed a small bug.

hourlyRain is being reported as inches, when in fact it should be inches per hour. It is not a static measurement, but a measurement of the current rate of rainfall.

This is confirmed in the documentation here, and also matches what the official add-on reports.

Hourly rain is actually hourly rainfall RATE, not total
Change unit of measurement for hourly rain
@neilenns
Copy link
Owner

Nice catch! Can you please open an issue for this as well so I can link the PR to the issue?

@tankdeer
Copy link
Contributor Author

Done!

@neilenns
Copy link
Owner

@tankdeer Can you also update the readme so it has the correct units listed? Also is this just the hourly rain and not the other rain measurement totals?

@neilenns
Copy link
Owner

Answering my own question: it's just this measurement :)

@tankdeer
Copy link
Contributor Author

Oops. Yes, let me fix the readme too. Give me a few minutes - trying to cook dinner at the same time 😄

Copy link
Owner

@neilenns neilenns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor formatting changes then it looks good.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@neilenns neilenns self-requested a review June 18, 2022 02:04
@neilenns neilenns merged commit 3999ed3 into neilenns:main Jun 18, 2022
@tankdeer
Copy link
Contributor Author

Awesome, thanks

@neilenns
Copy link
Owner

Thanks for finding and fixing it! New release is published, including the HA add on.

@tankdeer
Copy link
Contributor Author

Happy to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hourly Rain unit of measurement incorrect
2 participants