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

[knx] Improve rounding when encoding DPT 232.60000 #14772

Merged
merged 3 commits into from
Apr 14, 2023

Conversation

holgerfriedrich
Copy link
Member

Correct the rounding behavior.
See also openhab/openhab-core#3479.

Refs. #12643

Some additional fixes for compilation and SAT warnings that were recently introduced.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Copy link
Member

@J-N-K J-N-K left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM

@J-N-K
Copy link
Member

J-N-K commented Apr 10, 2023

Can you fix the DCO?

git commit --amend -s

and then force-push.

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
@holgerfriedrich
Copy link
Member Author

Can you fix the DCO?

Sure. Sorry.

Copy link
Member

@J-N-K J-N-K left a comment

Choose a reason for hiding this comment

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

Thanks

@jlaur
Copy link
Contributor

jlaur commented Apr 10, 2023

@holgerfriedrich - does it resolve #12643?

@holgerfriedrich
Copy link
Member Author

@holgerfriedrich - does it resolve #12643?

@jlaur not fully. For me #12643 is a "won't fix". Let me write a comment there.

@holgerfriedrich
Copy link
Member Author

holgerfriedrich commented Apr 14, 2023

@J-N-K, @jlaur, @kaikreuzer could you please merge this one?

Copy link
Member

@J-N-K J-N-K left a comment

Choose a reason for hiding this comment

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

LGTM

@J-N-K J-N-K added the enhancement An enhancement or new feature for an existing add-on label Apr 14, 2023
@J-N-K J-N-K added this to the 4.0 milestone Apr 14, 2023
@J-N-K J-N-K merged commit b3dfba8 into openhab:main Apr 14, 2023
@holgerfriedrich holgerfriedrich deleted the pr-knx-rounding branch April 14, 2023 18:49
FordPrfkt pushed a commit to FordPrfkt/openhab-addons that referenced this pull request Apr 20, 2023
* [knx] Improve rounding when encoding DPT 232.60000
* [knx] SAT and warnings

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants