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

Fix Rounding #193

Merged
merged 5 commits into from
Feb 16, 2024
Merged

Fix Rounding #193

merged 5 commits into from
Feb 16, 2024

Conversation

cloneofghosts
Copy link
Collaborator

This PR adds back in the rounding to sensors as per #192 since suggested_display_precision isn't supported by all cards. I added rounding to the sensors which weren't included before. Also updated it so that precipitation sensors have 4 decimal places by default and with rounding enabled 2 decimal places.

The Lint workflow is failing because it's trying to commit formatting changes but can't. Due to the same issue that the GitHub issues are failing #150.

@cloneofghosts
Copy link
Collaborator Author

I know I could just add these commits to the main branch directly but I prefer doing it on a separate branch and merging it in so it can be included in the What's New Section of the automatically generated release notes.

If you wanted to you can add branch protection rules which require pull requests before things get pushed to the main branch. You can also require reviews and status checks to pass before merging as well.

@cloneofghosts cloneofghosts merged commit d8dd522 into master Feb 16, 2024
@cloneofghosts cloneofghosts deleted the rounding branch February 16, 2024 01:11
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request Needs Review
Projects
Development

Successfully merging this pull request may close these issues.

2 participants