-
Notifications
You must be signed in to change notification settings - Fork 79
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
Volume is not a percentage #359
Comments
Fair point, thanks for reporting @TheFes. |
You could also just remove the unit_of_measure. |
@TheFes the fix is going out live with the next release tonight. Please check it out and let us know if things are not working as expected 🚀 |
Google Home devices seem to have floating point issues, which mean that combined with https://github.com/leikoilja/ha-google-home/blob/master/custom_components/google_home/api.py#L345, the percentages returned for volume keep getting rounded down. For example, I receive these these raw volume levels:
and they should probably be 65, 70, and 72. This should be easy enough to solve by using |
haha, fair point, @nattofriends. We should probably do that instead, thanks for reporting it, should be a small fix :) |
Kudos to @DurgNomis-drol for the nice quick fix in #371 💥 |
Describe the bug
the new number entity shows it's value with unit_of_measure %, but it not a percentage, as 1 is the maximum value. (this should be 100% if it was indeed a percentage)
Version of the integration
If you are unsure about the version check the github release here.
Logs
The text was updated successfully, but these errors were encountered: